Compilare un'applicazione.. [RISOLTO]
Compilare un'applicazione.. [RISOLTO]
Ciao.. sono un niubbo appena entrato in ubuntu.. Dopo aver penato (e aver cercato fra i vari topic alcune notizie importanti) mi trovo davanti ad uno scoglio.. Mi occorre installare Freefem++ http://www.freefem.org/ff++/ e l'unica via mi sembra quella di seguire le istruzoni del sito.. Solo che non riesco a compilare il programma.. Come diamine si fa? Dopo averlo scompattato io faccio:
sudo ./configure
sudo make
sudo make install (dalla cartella dove si trova la cartella scompattata..)
Chi mi aiuta??
Grazieee!
sudo ./configure
sudo make
sudo make install (dalla cartella dove si trova la cartella scompattata..)
Chi mi aiuta??
Grazieee!
Ultima modifica di Gargo il domenica 3 dicembre 2006, 16:45, modificato 1 volta in totale.
-
Divilinux
Re: Compilare un'applicazione..
si ma..non e' la regola
dipende dai sorgenti..non c'e' un file README o INSTALL? (good)
dipende dai sorgenti..non c'e' un file README o INSTALL? (good)
Re: Compilare un'applicazione..
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
è copiato dal readme.. il mio problema è che dopo il comando make iniziano a comparire errori e make install non fa una cippa (?), credo..
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
è copiato dal readme.. il mio problema è che dopo il comando make iniziano a comparire errori e make install non fa una cippa (?), credo..
-
DarkSun
Re: Compilare un'applicazione..
La cosa importante e' quella. Incolla qui gli errori del make e vediamo come aggirare il problema.
Ti chiedo in anticipo: Hai installato build-essential?
Ti chiedo in anticipo: Hai installato build-essential?
-
Divilinux
Re: Compilare un'applicazione..
e si..come dice dark sun...ti mancheranno gli strumenti per compilare che ubuntu non offre di default.. 
Re: Compilare un'applicazione..
build essential l'ho messo.. altrimenti non compilava nemmeno in C++
Ora sto facendo make.. un attimo e ti posto i risultati..
Ecco, dopo aver fatto make (ho messo tutto):
make all-recursive
make[1]: Entering directory `/home/marco/Desktop/d'
Making all in download
make[2]: Entering directory `/home/marco/Desktop/d/download'
Making all in blas
make[3]: Entering directory `/home/marco/Desktop/d/download/blas'
make all-am
make[4]: Entering directory `/home/marco/Desktop/d/download/blas'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/marco/Desktop/d/download/blas'
make[3]: Leaving directory `/home/marco/Desktop/d/download/blas'
Making all in arpack
make[3]: Entering directory `/home/marco/Desktop/d/download/arpack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/download/arpack'
Making all in umfpack
make[3]: Entering directory `/home/marco/Desktop/d/download/umfpack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/download/umfpack'
Making all in fltk
make[3]: Entering directory `/home/marco/Desktop/d/download/fltk'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/download/fltk'
make[3]: Entering directory `/home/marco/Desktop/d/download'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/marco/Desktop/d/download'
make[2]: Leaving directory `/home/marco/Desktop/d/download'
Making all in src
make[2]: Entering directory `/home/marco/Desktop/d/src'
Making all in bamglib
make[3]: Entering directory `/home/marco/Desktop/d/src/bamglib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/bamglib'
Making all in femlib
make[3]: Entering directory `/home/marco/Desktop/d/src/femlib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/femlib'
Making all in iml
make[3]: Entering directory `/home/marco/Desktop/d/src/iml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/iml'
Making all in Graphics
make[3]: Entering directory `/home/marco/Desktop/d/src/Graphics'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/Graphics'
Making all in Algo
make[3]: Entering directory `/home/marco/Desktop/d/src/Algo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/Algo'
Making all in umfpack
make[3]: Entering directory `/home/marco/Desktop/d/src/umfpack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/umfpack'
Making all in lglib
make[3]: Entering directory `/home/marco/Desktop/d/src/lglib'
make all-am
make[4]: Entering directory `/home/marco/Desktop/d/src/lglib'
source='lg.tab.cpp' object='lg.tab.o' libtool=no \
depfile='.deps/lg.tab.Po' tmpdepfile='.deps/lg.tab.TPo' \
depmode=gcc3 /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../fflib -I../bamglib -I../Graphics -I../femlib -DNDEBUG -O3 -march=pentium4
-DDRAWING -DBAMG_LONG_LONG -DNCHECKPTR -rdynamic -c -o lg.tab.o `test -f 'lg.tab.cpp' || echo './'`lg.tab.cpp
lg.y:716: fatal error: opening dependency file .deps/lg.tab.TPo: Permesso negato
compilation terminated.
make[4]: *** [lg.tab.o] Error 1
make[4]: Leaving directory `/home/marco/Desktop/d/src/lglib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/marco/Desktop/d/src/lglib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/marco/Desktop/d/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marco/Desktop/d'
make: *** [all] Error 2
Ora sto facendo make.. un attimo e ti posto i risultati..
Ecco, dopo aver fatto make (ho messo tutto):
make all-recursive
make[1]: Entering directory `/home/marco/Desktop/d'
Making all in download
make[2]: Entering directory `/home/marco/Desktop/d/download'
Making all in blas
make[3]: Entering directory `/home/marco/Desktop/d/download/blas'
make all-am
make[4]: Entering directory `/home/marco/Desktop/d/download/blas'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/marco/Desktop/d/download/blas'
make[3]: Leaving directory `/home/marco/Desktop/d/download/blas'
Making all in arpack
make[3]: Entering directory `/home/marco/Desktop/d/download/arpack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/download/arpack'
Making all in umfpack
make[3]: Entering directory `/home/marco/Desktop/d/download/umfpack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/download/umfpack'
Making all in fltk
make[3]: Entering directory `/home/marco/Desktop/d/download/fltk'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/download/fltk'
make[3]: Entering directory `/home/marco/Desktop/d/download'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/marco/Desktop/d/download'
make[2]: Leaving directory `/home/marco/Desktop/d/download'
Making all in src
make[2]: Entering directory `/home/marco/Desktop/d/src'
Making all in bamglib
make[3]: Entering directory `/home/marco/Desktop/d/src/bamglib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/bamglib'
Making all in femlib
make[3]: Entering directory `/home/marco/Desktop/d/src/femlib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/femlib'
Making all in iml
make[3]: Entering directory `/home/marco/Desktop/d/src/iml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/iml'
Making all in Graphics
make[3]: Entering directory `/home/marco/Desktop/d/src/Graphics'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/Graphics'
Making all in Algo
make[3]: Entering directory `/home/marco/Desktop/d/src/Algo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/Algo'
Making all in umfpack
make[3]: Entering directory `/home/marco/Desktop/d/src/umfpack'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/marco/Desktop/d/src/umfpack'
Making all in lglib
make[3]: Entering directory `/home/marco/Desktop/d/src/lglib'
make all-am
make[4]: Entering directory `/home/marco/Desktop/d/src/lglib'
source='lg.tab.cpp' object='lg.tab.o' libtool=no \
depfile='.deps/lg.tab.Po' tmpdepfile='.deps/lg.tab.TPo' \
depmode=gcc3 /bin/bash ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../fflib -I../bamglib -I../Graphics -I../femlib -DNDEBUG -O3 -march=pentium4
-DDRAWING -DBAMG_LONG_LONG -DNCHECKPTR -rdynamic -c -o lg.tab.o `test -f 'lg.tab.cpp' || echo './'`lg.tab.cpp
lg.y:716: fatal error: opening dependency file .deps/lg.tab.TPo: Permesso negato
compilation terminated.
make[4]: *** [lg.tab.o] Error 1
make[4]: Leaving directory `/home/marco/Desktop/d/src/lglib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/marco/Desktop/d/src/lglib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/marco/Desktop/d/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marco/Desktop/d'
make: *** [all] Error 2
Ultima modifica di Gargo il mercoledì 22 novembre 2006, 20:43, modificato 1 volta in totale.
Re: Compilare un'applicazione..
Di solito gli errori te li segnala il configureGargo ha scritto: build essential l''ho messo.. altrimenti non compilava nemmeno in C++
Ora sto facendo make.. un attimo e ti posto i risultati..![]()
Re: Compilare un'applicazione..
Ah, bene, non lo sapevo, ma a me alla fine del configure non appare nulla di "anomalo".. comunque non mi costa nulla.. se voi capite qualcosa... è un pò lunghino però..
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for g77... no
checking for f77... no
checking for gfortran... no
checking for g77... no
checking for f90... no
checking for fort77... no
checking for xlf... no
checking for xlf90... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking how to get verbose linking output from ... configure: WARNING: compilation failed
checking for Fortran libraries of ...
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... no
checking for pthread_create in -lpthread... yes
checking wether we are on a MacIntosh... no
checking wether we are on Microsoft Windows... no
checking whether to generate debugging information... no
checking whether the C compiler accepts -O3... yes
checking whether the C++ compiler accepts -O3... yes
checking whether the Fortran 77 compiler accepts -O3... no
checking whether the C compiler accepts -march=pentium4... yes
checking whether the C++ compiler accepts -march=pentium4... yes
checking whether the Fortran 77 compiler accepts -march=pentium4... no
checking suffix to add to package name... none
checking wether we can compile for X11... yes
checking how to run the C++ preprocessor... g++ -E
checking for X... no
checking for XF86VidModeQueryVersion in -lXxf86vm... no
checking for X11_LIBS... " -lXext -lXpm -lX11 -lm"
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking add suffix ... yes
checking for ... no
checking for arit_zero in -lcadnafree... no
checking /home/marco/Desktop/d/download/cadna/cadnafree.h usability... no
checking /home/marco/Desktop/d/download/cadna/cadnafree.h presence... no
checking for /home/marco/Desktop/d/download/cadna/cadnafree.h... no
configure: without cadna *****
checking for fftw_execute in -lfftw3... no
checking fftw3.h usability... no
checking fftw3.h presence... no
checking for fftw3.h... no
checking for fftw_execute in -lfftw3... (cached) no
checking for fftw3.h... (cached) no
checking for daxpy_ in -framework vecLib... no
checking for daxpy_ in -lblas... no
checking for daxpy_ in -L/usr/lib/atlas -lblas... no
checking for daxpy_ in -lf2c... no
checking for daxpy_ in -lf77blas... no
checking for daxpy_ in -latlas... no
checking for daxpy_ in -lgslcblas... no
checking for lapack in LIBS ... no
configure: -- NO ARPACK -- wget: no
configure: -- NOT UMFPACK ff_wget = no
checking for asinh... yes
checking for acosh... yes
checking for atanh... yes
checking for getenv... yes
checking for second_... no
checking for libtool... no
checking for dlfcn.h... yes
checking for dlinfo in -ldl... yes
checking whether dlopen links ok... yes
checking whether the C++ compiler accepts -rdynamic... yes
checking for latex... yes
checking for makeindex... yes
checking for dvips... yes
checking for pdf2ps... yes
checking for epstopdf... yes
checking for convert... yes
checking for gzip... yes
checking for pdflatex... yes
checking for fltk-config... no
checking that FLTK is compiled with threads... no
configure: not using default FLTK because it does not know threads
checking flex compatibility with bison... yes
checking kernel version... 2.6.17
checking libc version... libc-2.4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating download/Makefile
config.status: creating download/blas/Makefile
config.status: creating download/arpack/Makefile
config.status: creating download/umfpack/Makefile
config.status: creating download/fltk/Makefile
config.status: creating src/Makefile
config.status: creating src/bamglib/Makefile
config.status: creating src/iml/Makefile
config.status: creating src/Graphics/Makefile
config.status: creating src/femlib/Makefile
config.status: creating src/Algo/Makefile
config.status: creating src/umfpack/Makefile
config.status: creating src/lglib/Makefile
config.status: creating src/fflib/Makefile
config.status: creating src/std/Makefile
config.status: creating src/x11/Makefile
config.status: creating src/ide/Makefile
config.status: creating src/nw/Makefile
config.status: creating src/mpi/Makefile
config.status: creating src/agl/Makefile
config.status: creating src/glx/Makefile
config.status: creating src/bamg/Makefile
config.status: creating src/bin-win32/Makefile
config.status: creating examples++/Makefile
config.status: creating examples++-eigen/Makefile
config.status: creating examples++-tutorial/Makefile
config.status: creating examples++-mpi/Makefile
config.status: creating examples++-load/Makefile
config.status: creating examples++-chapt3/Makefile
config.status: creating examples++-bug/Makefile
config.status: creating examples++-other/Makefile
config.status: creating DOC/Makefile
config.status: creating config.h
config.status: executing depfiles commands
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for g77... no
checking for f77... no
checking for gfortran... no
checking for g77... no
checking for f90... no
checking for fort77... no
checking for xlf... no
checking for xlf90... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking how to get verbose linking output from ... configure: WARNING: compilation failed
checking for Fortran libraries of ...
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... no
checking for pthread_create in -lpthread... yes
checking wether we are on a MacIntosh... no
checking wether we are on Microsoft Windows... no
checking whether to generate debugging information... no
checking whether the C compiler accepts -O3... yes
checking whether the C++ compiler accepts -O3... yes
checking whether the Fortran 77 compiler accepts -O3... no
checking whether the C compiler accepts -march=pentium4... yes
checking whether the C++ compiler accepts -march=pentium4... yes
checking whether the Fortran 77 compiler accepts -march=pentium4... no
checking suffix to add to package name... none
checking wether we can compile for X11... yes
checking how to run the C++ preprocessor... g++ -E
checking for X... no
checking for XF86VidModeQueryVersion in -lXxf86vm... no
checking for X11_LIBS... " -lXext -lXpm -lX11 -lm"
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking add suffix ... yes
checking for ... no
checking for arit_zero in -lcadnafree... no
checking /home/marco/Desktop/d/download/cadna/cadnafree.h usability... no
checking /home/marco/Desktop/d/download/cadna/cadnafree.h presence... no
checking for /home/marco/Desktop/d/download/cadna/cadnafree.h... no
configure: without cadna *****
checking for fftw_execute in -lfftw3... no
checking fftw3.h usability... no
checking fftw3.h presence... no
checking for fftw3.h... no
checking for fftw_execute in -lfftw3... (cached) no
checking for fftw3.h... (cached) no
checking for daxpy_ in -framework vecLib... no
checking for daxpy_ in -lblas... no
checking for daxpy_ in -L/usr/lib/atlas -lblas... no
checking for daxpy_ in -lf2c... no
checking for daxpy_ in -lf77blas... no
checking for daxpy_ in -latlas... no
checking for daxpy_ in -lgslcblas... no
checking for lapack in LIBS ... no
configure: -- NO ARPACK -- wget: no
configure: -- NOT UMFPACK ff_wget = no
checking for asinh... yes
checking for acosh... yes
checking for atanh... yes
checking for getenv... yes
checking for second_... no
checking for libtool... no
checking for dlfcn.h... yes
checking for dlinfo in -ldl... yes
checking whether dlopen links ok... yes
checking whether the C++ compiler accepts -rdynamic... yes
checking for latex... yes
checking for makeindex... yes
checking for dvips... yes
checking for pdf2ps... yes
checking for epstopdf... yes
checking for convert... yes
checking for gzip... yes
checking for pdflatex... yes
checking for fltk-config... no
checking that FLTK is compiled with threads... no
configure: not using default FLTK because it does not know threads
checking flex compatibility with bison... yes
checking kernel version... 2.6.17
checking libc version... libc-2.4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating download/Makefile
config.status: creating download/blas/Makefile
config.status: creating download/arpack/Makefile
config.status: creating download/umfpack/Makefile
config.status: creating download/fltk/Makefile
config.status: creating src/Makefile
config.status: creating src/bamglib/Makefile
config.status: creating src/iml/Makefile
config.status: creating src/Graphics/Makefile
config.status: creating src/femlib/Makefile
config.status: creating src/Algo/Makefile
config.status: creating src/umfpack/Makefile
config.status: creating src/lglib/Makefile
config.status: creating src/fflib/Makefile
config.status: creating src/std/Makefile
config.status: creating src/x11/Makefile
config.status: creating src/ide/Makefile
config.status: creating src/nw/Makefile
config.status: creating src/mpi/Makefile
config.status: creating src/agl/Makefile
config.status: creating src/glx/Makefile
config.status: creating src/bamg/Makefile
config.status: creating src/bin-win32/Makefile
config.status: creating examples++/Makefile
config.status: creating examples++-eigen/Makefile
config.status: creating examples++-tutorial/Makefile
config.status: creating examples++-mpi/Makefile
config.status: creating examples++-load/Makefile
config.status: creating examples++-chapt3/Makefile
config.status: creating examples++-bug/Makefile
config.status: creating examples++-other/Makefile
config.status: creating DOC/Makefile
config.status: creating config.h
config.status: executing depfiles commands
-
Ajeje-Brazorf
Re: Compilare un'applicazione..
non mi sembra non compaia nulla di anomalo...guarda bene... 
Re: Compilare un'applicazione..
Beh, nelle ultime 5 righe del make non fa altro che dire error..HGKE ha scritto: non mi sembra non compaia nulla di anomalo...guarda bene...![]()
Io non ci capisco, però non mi sembra significa che funzioni bene..
-
Ajeje-Brazorf
Re: Compilare un'applicazione..
innanzitutto installerei: libtool g77 fort77 gfortran bison byacc... poi ci sono una serie di pacchetti la cui denominazione esatta puoi trovarla in packages.ubuntu.org.
Ad esempio, ho trovato al volo libfltk1.1 per fltk...
Ad esempio, ho trovato al volo libfltk1.1 per fltk...
Re: Compilare un'applicazione..
Uhm.. sì.. adesso se scrivo freefem da terminale mi dice qualcosa tipo: usage freefem filename.pde
Credo che funzioni adesso.. non riesco a fargli eseguire ancora i file però.. Dopo aver installato i pcchetti è necessario rifare tutta l'installazione??
Grazie!
Credo che funzioni adesso.. non riesco a fargli eseguire ancora i file però.. Dopo aver installato i pcchetti è necessario rifare tutta l'installazione??
Grazie!
-
Ajeje-Brazorf
Re: Compilare un'applicazione..
...direi di si... ridai i 3 comandi ./configure, make e sudo make install...
Ciao
P.S.: ...comunque io darei una occhiata anche alle altre voci con il 'no'...
Ciao
P.S.: ...comunque io darei una occhiata anche alle altre voci con il 'no'...
Ultima modifica di Ajeje-Brazorf il mercoledì 22 novembre 2006, 22:11, modificato 1 volta in totale.
Re: Compilare un'applicazione..
In realtà freefem++ non funziona ancora per niente... Sono dovuto ricorrere a windows per cavarmela...
((
Allora i problemi sono due..
Uno è che non capisco da dove posso vedere quali sono i pacchetti di cui ho bisogno per l'installazione..
L'altro è che non ho capito il consiglio "apt-get install make automake autoconf".. cosa dovrei fare con questa riga di comando nel terminale? Dove la eseguo? Come specifico che mi interessa freefem++??
Grazie...
Allora i problemi sono due..
Uno è che non capisco da dove posso vedere quali sono i pacchetti di cui ho bisogno per l'installazione..
L'altro è che non ho capito il consiglio "apt-get install make automake autoconf".. cosa dovrei fare con questa riga di comando nel terminale? Dove la eseguo? Come specifico che mi interessa freefem++??
Grazie...
-
Ajeje-Brazorf
Re: Compilare un'applicazione..
Make dovrebbe essere compreso nel pacchetto build-essential ed autoconf nel pacchetto automake (io ho installato 1.9)In realtà freefem++ non funziona ancora per niente... Sono dovuto ricorrere a windows per cavarmela...
Allora i problemi sono due..
Uno è che non capisco da dove posso vedere quali sono i pacchetti di cui ho bisogno per l''installazione..
L''altro è che non ho capito il consiglio "apt-get install make automake autoconf".. cosa dovrei fare con questa riga di comando nel terminale? Dove la eseguo? Come specifico che mi interessa freefem++??
Grazie...
Per capire cosa manca, io mi oriento con i vari "no" che compaiono durante il ./configure; in base all'' output, cerco di reperire il pacchetto corrispondente su ubuntu, magari facendo una ricerca qui: packages.ubuntu.com.
Ciao
Re: Compilare un'applicazione..
Ok.. sei stato chiarissimo... mi stavo iniziando a fare un'idea, per lo meno so di essere nella direzione giusta.. Grazie! Spero che il tutto ne valga la pena!
Re: Compilare un'applicazione..
NON FUNZIONA!!!! Uff.. ho trovato dei pacchetti mancanti.. ma il risultato ad adesso è ancora meno di zero... mi sto per strappare i capelli!!
Se qualcuno, gentilmente (vi avrò anche stressato) riesce a dirmi cosa fare.. dopo aver eseguito ./configure il risultato ad oggi è:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking how to get verbose linking output from g77... -v
checking for Fortran libraries of g77... -L/usr/lib/gcc/i486-linux-gnu/3.4.6 -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../.. -L/lib/../lib -L/usr/lib/../lib -lfrtbegin -lg2c -lm -lgcc_s
configure: WARNING: get dir of -lg2c FLIBS : -lg2c
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for pthread_create in -lpthread... yes
checking wether we are on a MacIntosh... no
checking wether we are on Microsoft Windows... no
checking whether to generate debugging information... no
checking whether the C compiler accepts -O3... yes
checking whether the C++ compiler accepts -O3... yes
checking whether the Fortran 77 compiler accepts -O3... yes
checking whether the C compiler accepts -march=pentium4... yes
checking whether the C++ compiler accepts -march=pentium4... yes
checking whether the Fortran 77 compiler accepts -march=pentium4... yes
checking suffix to add to package name... none
checking wether we can compile for X11... yes
checking how to run the C++ preprocessor... g++ -E
checking for X... no
checking for XF86VidModeQueryVersion in -lXxf86vm... no
checking for X11_LIBS... " -lXext -lXpm -lX11 -lm"
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking add suffix ... yes
checking for ... no
checking for arit_zero in -lcadnafree... no
checking /home/marco/Desktop/free/download/cadna/cadnafree.h usability... no
checking /home/marco/Desktop/free/download/cadna/cadnafree.h presence... no
checking for /home/marco/Desktop/free/download/cadna/cadnafree.h... no
configure: without cadna *****
checking for fftw_execute in -lfftw3... no
checking fftw3.h usability... no
checking fftw3.h presence... no
checking for fftw3.h... no
checking for fftw_execute in -lfftw3... (cached) no
checking for fftw3.h... (cached) no
checking for daxpy_ in -framework vecLib... no
checking for daxpy_ in -lblas... yes
checking cblas.h usability... yes
checking cblas.h presence... yes
checking for cblas.h... yes
checking vecLib/cblas.h usability... no
checking vecLib/cblas.h presence... no
checking for vecLib/cblas.h... no
checking atlas/cblas.h usability... no
checking atlas/cblas.h presence... no
checking for atlas/cblas.h... no
checking for lapack in LIBS ... no
checking for dsaupd_ in -larpack... yes
checking umfpack.h usability... no
checking umfpack.h presence... no
checking for umfpack.h... no
checking ufsparse/umfpack.h usability... no
checking ufsparse/umfpack.h presence... no
checking for ufsparse/umfpack.h... no
checking UMFPACK/umfpack.h usability... no
checking UMFPACK/umfpack.h presence... no
checking for UMFPACK/umfpack.h... no
checking for amd_info in -lamd... yes
checking for umf_i_malloc in -lumfpack... yes
checking for asinh... yes
checking for acosh... yes
checking for atanh... yes
checking for getenv... yes
checking for second_... yes
checking for times... yes
checking for sysconf... yes
checking for libtool... yes
checking for dlfcn.h... yes
checking for dlinfo in -ldl... yes
checking whether dlopen links ok... yes
checking whether the C++ compiler accepts -rdynamic... yes
checking for latex... yes
checking for makeindex... yes
checking for dvips... yes
checking for pdf2ps... yes
checking for epstopdf... yes
checking for convert... yes
checking for gzip... yes
checking for pdflatex... yes
checking for fltk-config... yes
checking that FLTK is compiled with threads... yes
checking flex compatibility with bison... yes
checking kernel version... 2.6.17
checking libc version... libc-2.4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating download/Makefile
config.status: creating download/blas/Makefile
config.status: creating download/arpack/Makefile
config.status: creating download/umfpack/Makefile
config.status: creating download/fltk/Makefile
config.status: creating src/Makefile
config.status: creating src/bamglib/Makefile
config.status: creating src/iml/Makefile
config.status: creating src/Graphics/Makefile
config.status: creating src/femlib/Makefile
config.status: creating src/Algo/Makefile
config.status: creating src/umfpack/Makefile
config.status: creating src/lglib/Makefile
config.status: creating src/fflib/Makefile
config.status: creating src/std/Makefile
config.status: creating src/x11/Makefile
config.status: creating src/ide/Makefile
config.status: creating src/nw/Makefile
config.status: creating src/mpi/Makefile
config.status: creating src/agl/Makefile
config.status: creating src/glx/Makefile
config.status: creating src/bamg/Makefile
config.status: creating src/bin-win32/Makefile
config.status: creating examples++/Makefile
config.status: creating examples++-eigen/Makefile
config.status: creating examples++-tutorial/Makefile
config.status: creating examples++-mpi/Makefile
config.status: creating examples++-load/Makefile
config.status: creating examples++-chapt3/Makefile
config.status: creating examples++-bug/Makefile
config.status: creating examples++-other/Makefile
config.status: creating DOC/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Grazie e scusatemi.. ma sarà capitato a tutti all'inizio..
Se qualcuno, gentilmente (vi avrò anche stressato) riesce a dirmi cosa fare.. dopo aver eseguito ./configure il risultato ad oggi è:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking how to get verbose linking output from g77... -v
checking for Fortran libraries of g77... -L/usr/lib/gcc/i486-linux-gnu/3.4.6 -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../.. -L/lib/../lib -L/usr/lib/../lib -lfrtbegin -lg2c -lm -lgcc_s
configure: WARNING: get dir of -lg2c FLIBS : -lg2c
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for pthread_create in -lpthread... yes
checking wether we are on a MacIntosh... no
checking wether we are on Microsoft Windows... no
checking whether to generate debugging information... no
checking whether the C compiler accepts -O3... yes
checking whether the C++ compiler accepts -O3... yes
checking whether the Fortran 77 compiler accepts -O3... yes
checking whether the C compiler accepts -march=pentium4... yes
checking whether the C++ compiler accepts -march=pentium4... yes
checking whether the Fortran 77 compiler accepts -march=pentium4... yes
checking suffix to add to package name... none
checking wether we can compile for X11... yes
checking how to run the C++ preprocessor... g++ -E
checking for X... no
checking for XF86VidModeQueryVersion in -lXxf86vm... no
checking for X11_LIBS... " -lXext -lXpm -lX11 -lm"
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking OpenGL/gl.h usability... no
checking OpenGL/gl.h presence... no
checking for OpenGL/gl.h... no
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking add suffix ... yes
checking for ... no
checking for arit_zero in -lcadnafree... no
checking /home/marco/Desktop/free/download/cadna/cadnafree.h usability... no
checking /home/marco/Desktop/free/download/cadna/cadnafree.h presence... no
checking for /home/marco/Desktop/free/download/cadna/cadnafree.h... no
configure: without cadna *****
checking for fftw_execute in -lfftw3... no
checking fftw3.h usability... no
checking fftw3.h presence... no
checking for fftw3.h... no
checking for fftw_execute in -lfftw3... (cached) no
checking for fftw3.h... (cached) no
checking for daxpy_ in -framework vecLib... no
checking for daxpy_ in -lblas... yes
checking cblas.h usability... yes
checking cblas.h presence... yes
checking for cblas.h... yes
checking vecLib/cblas.h usability... no
checking vecLib/cblas.h presence... no
checking for vecLib/cblas.h... no
checking atlas/cblas.h usability... no
checking atlas/cblas.h presence... no
checking for atlas/cblas.h... no
checking for lapack in LIBS ... no
checking for dsaupd_ in -larpack... yes
checking umfpack.h usability... no
checking umfpack.h presence... no
checking for umfpack.h... no
checking ufsparse/umfpack.h usability... no
checking ufsparse/umfpack.h presence... no
checking for ufsparse/umfpack.h... no
checking UMFPACK/umfpack.h usability... no
checking UMFPACK/umfpack.h presence... no
checking for UMFPACK/umfpack.h... no
checking for amd_info in -lamd... yes
checking for umf_i_malloc in -lumfpack... yes
checking for asinh... yes
checking for acosh... yes
checking for atanh... yes
checking for getenv... yes
checking for second_... yes
checking for times... yes
checking for sysconf... yes
checking for libtool... yes
checking for dlfcn.h... yes
checking for dlinfo in -ldl... yes
checking whether dlopen links ok... yes
checking whether the C++ compiler accepts -rdynamic... yes
checking for latex... yes
checking for makeindex... yes
checking for dvips... yes
checking for pdf2ps... yes
checking for epstopdf... yes
checking for convert... yes
checking for gzip... yes
checking for pdflatex... yes
checking for fltk-config... yes
checking that FLTK is compiled with threads... yes
checking flex compatibility with bison... yes
checking kernel version... 2.6.17
checking libc version... libc-2.4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating download/Makefile
config.status: creating download/blas/Makefile
config.status: creating download/arpack/Makefile
config.status: creating download/umfpack/Makefile
config.status: creating download/fltk/Makefile
config.status: creating src/Makefile
config.status: creating src/bamglib/Makefile
config.status: creating src/iml/Makefile
config.status: creating src/Graphics/Makefile
config.status: creating src/femlib/Makefile
config.status: creating src/Algo/Makefile
config.status: creating src/umfpack/Makefile
config.status: creating src/lglib/Makefile
config.status: creating src/fflib/Makefile
config.status: creating src/std/Makefile
config.status: creating src/x11/Makefile
config.status: creating src/ide/Makefile
config.status: creating src/nw/Makefile
config.status: creating src/mpi/Makefile
config.status: creating src/agl/Makefile
config.status: creating src/glx/Makefile
config.status: creating src/bamg/Makefile
config.status: creating src/bin-win32/Makefile
config.status: creating examples++/Makefile
config.status: creating examples++-eigen/Makefile
config.status: creating examples++-tutorial/Makefile
config.status: creating examples++-mpi/Makefile
config.status: creating examples++-load/Makefile
config.status: creating examples++-chapt3/Makefile
config.status: creating examples++-bug/Makefile
config.status: creating examples++-other/Makefile
config.status: creating DOC/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Grazie e scusatemi.. ma sarà capitato a tutti all'inizio..
-
Ajeje-Brazorf
Re: Compilare un'applicazione..
Intalla anche libumfpack4, libufsparse, fftw3, xlibs-dev e riposta l' output di ./configure
Ultima modifica di Ajeje-Brazorf il giovedì 30 novembre 2006, 20:10, modificato 1 volta in totale.
Re: Compilare un'applicazione..
Ok.. problema, se installo libufsparse Synaptics mi chiede di rimuovere libumfpack4.. che faccio?
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 6 ospiti
