Pagina 1 di 1

Compilare gnuplot per Slackware current

Inviato: dom 17 gen 2010, 13:03
da Akito
Uso Slackware current (non ho aggiornato gli ultimi pacchetti del kernel).

Sto cercando di compilare gnuplot, ma ottengo degli errori (anche con il
semplice ./configure && make) e non riesco a capire la causa del problema.
La versione che sto cercando di compilare è la 4.4.0-rc1, ma anche con
l'ultima stable ho lo stesso problema.

Da $ ./configure ottengo:

Codice: Seleziona tutto

** Configuration summary for gnuplot 4.4.0-rc1:

gnuplot will be compiled with the following terminals:

  Standalone terminals: yes (always builtin)
    (canvas, cgm, corel, dumb, dxf, eepic, emf, emtex,
    epslatex, epson_180dpi, epson_60dpi, epson_lx800, fig, gpic, hp2623A,
    hp2648, hp500c, hpdj, hpgl, hpljii, hppj, imagen,                    
    latex, metafont, metapost, mif, pbm, postscript, pslatex, nec_cp6, okidata,
    pcl5, pstex, pstricks, qms, regis, svg, tandy_60dpi,                       
    tek40xx, tek410x, texdraw, tgif, tkcanvas, tpic, vttek)                    
  X Window System terminal: yes                                                
    (with multi-byte fonts)                                                    
    (enable plotting to windows opened by external apps)                       
    (without binary polygon protocol )                                         
  jpeg terminal: yes                                                           
  gif terminal: yes (with animated gif)                                        
  png terminal: yes                                                            
    (jpeg, gif and png terminals can use TTF fonts)                            
  pdf terminal: no (requires libpdf)                                           
  plot library terminal: no (use --with-plot to enable, requires GNU plotutils 
                             or UNIX plot)                                     
  linux terminal (vga console): no (use --with-linux-vga to enable,            
                                       requires SVGAlib)                       
  vgagl terminal ((s)vga console): no (use --with-linux-vga to enable,         
                                       requires SVGAlib with vgagl)            
  ggi terminal: no (use --with-ggi to enable, requires libggi)                 
  mgr terminal: no (use --enable-mgr to enable, requires libpixrect)           
  rgip/uniplex terminal: no (use --enable-rgip to enable)                      
  svga terminal (MSDOS/djgpp): no                                              
  be terminal (BeOS): no                                                       
  next terminal: no                                                            
  aqua terminal (MacOS X): no                                                  
  wxt terminal: yes                                                            
  cairo-based pdf and png terminals: yes                                       
  lua/TikZ terminal: no                                                        

  Additional terminals are availaible in platform-specific makefiles:
   amiga (makefile.amg and makefile.ami), apollo/gpr (makefile.unx)
   cgi (makefile.unx), pm (makefile.os2),
   sun (makefile.unx), unixpc (makefile.unx), windows (various Windows
   makefiles)
  Additional terminals are built automatically if possible at compile-time:
   vesa (MSDOS), emxvga (MSDOS, OS/2), ega/vga/svga/ssvga/hercules (Windows with
   Zortec compiler), macintosh

gnuplot will be compiled with the following features:

  Mouse support in interactive terminals: yes
  Fitting error variables: yes
  Zooming or refresh of volatile data: yes (EXPERIMENTAL)
  Typing <space> in plot window raises console
  Command line macros: yes
  Placement of rectangles and other objects: yes

gnuplot will be compiled with the following options:

  Readline library: GNU readline library with  -lncurses
  Command-line history file: yes
  Check current directory for .gnuplot file: no (use --with-cwdrc to enable)
  Sort help/subtopic tables by column: no (use --without-row-help to enable)
  Use TeX kpsexpand to search for fonts: no (use --with-kpsexpand to enable)
  Thin plate splines: no (use --enable-thin-spline to enable)
  Hidden3d optimization: quadtree
  Deprecated syntax and terminal options : no (use --enable-backwards-compatibility to enable)

gnuplot will install the following additional materials:

  lasergnu printer script: no (use --with-lasergnu to enable)
  gnuplot-mode for X/Emacs: yes
  LaTeX tutorial: yes
  Help file: yes (always), in ${datarootdir}/gnuplot/4.4/gnuplot.gih
  PostScript prologue files: yes (always)
Ed ecco qualche errore dopo $ make

Codice: Seleziona tutto

make  all-recursive                                                 
make[1]: Entering directory `/home/ale/gnuplot-4.4.0-rc1'           
Making all in config                                                
make[2]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/config'    
make[2]: Nothing to be done for `all'.                              
make[2]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/config'     
Making all in m4                                                    
make[2]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/m4'        
make[2]: Nothing to be done for `all'.                              
make[2]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/m4'         
Making all in term                                                  
make[2]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/term'      
make[2]: Nothing to be done for `all'.                              
make[2]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/term'       
Making all in src                                                   
make[2]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/src'       
Making all in wxterminal                                            
make[3]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/src/wxterminal'
make[3]: Nothing to be done for `all'.                                  
make[3]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/src/wxterminal' 
make[3]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/src' 

Codice: Seleziona tutto

make[2]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/docs'                                                                                                           
Making all in lisp                                                                                                                                                      
make[2]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/lisp'                                                                                                          
make[2]: Nothing to be done for `all'.                                                                                                                                  
make[2]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/lisp'                                                                                                           
Making all in man                                                                                                                                                       
make[2]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/man'                                                                                                           
make[2]: Nothing to be done for `all'.                                                                                                                                  
make[2]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/man'                                                                                                            
Making all in demo                                                                                                                                                      
make[2]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/demo'                                                                                                          
Creating binary data files                                                                                                                                              
make[2]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/demo'                                                                                                           
Making all in tutorial                                                                                                                                                  
make[2]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/tutorial'                                                                                                      
make[2]: Nothing to be done for `all'.                                                                                                                                  
make[2]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/tutorial'                                                                                                       
Making all in share                                                                                                                                                     
make[2]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/share'                                                                                                         
Making all in LaTeX                                                                                                                                                     
make[3]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/share/LaTeX'                                                                                                   
make[3]: Nothing to be done for `all'.                                                                                                                                  
make[3]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/share/LaTeX'                                                                                                    
make[3]: Entering directory `/home/ale/gnuplot-4.4.0-rc1/share'                                                                                                         
make[3]: Nothing to be done for `all-am'.                                                                                                                               
make[3]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/share'                                                                                                          
make[2]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1/share'                                                                                                          
make[2]: Entering directory `/home/ale/gnuplot-4.4.0-rc1'                                                                                                               
make[2]: Nothing to be done for `all-am'.                                                                                                                               
make[2]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1'                                                                                                                
make[1]: Leaving directory `/home/ale/gnuplot-4.4.0-rc1' 
Terminata la compilazione $ make install DESTDIR=/miacartella fallisce

Re: Compilare gnuplot per Slackware current

Inviato: dom 17 gen 2010, 15:11
da lamarozzo
Io non vedo messaggi d'errore (comunque devi dare 'make clean' prima di 'make' se vuoi postarci i risultati della compilazione). Forse fallisce il make install? Prova a passare la directory in cui vuoi che vadano i file con il configure ./configure --prefix="miacartella", e poi dai make install senza altre opzioni.

Re: Compilare gnuplot per Slackware current

Inviato: dom 17 gen 2010, 16:31
da Akito
Allora ho scoperto che il problema è connesso a qualche tutorial in latex.
E' qui che il make install fallisce (non so bene cosa fa, ma se ne esce con
un errore).

Ho risolto semplicemente passando al configure l'opzione --without-tutorial

Devo fare qualche test per capire se funziona.

Akito

Re: Compilare gnuplot per Slackware current

Inviato: dom 17 gen 2010, 17:00
da targzeta
Solo per dire che gnuplot è già nella slackware.

Emanuele

Re: Compilare gnuplot per Slackware current

Inviato: dom 17 gen 2010, 21:48
da ponce
a me ha compilato regolarmente usando lo slackbuild di Pat modificato di poco (slackware64-current multilib).