help-3dldf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-3dldf] installation problem with 3DLDF


From: arnuld
Subject: Re: [help-3dldf] installation problem with 3DLDF
Date: Sun, 24 Feb 2008 11:40:44 +0530 (IST)
User-agent: SquirrelMail/1.4.9a

> Please see below.
>
> Sorry, I forgot that `aclocal' should be called before `autoconf', i.e.,
> aclocal && autoconf && autoheader && automake -- copy --add-missing
> You can, of course, call the command separately.
> Please let me know if it still doesn't work after this.

it works and configures itself fine:

address@hidden Group]$ ./configure --prefix=/usr/local/3DLDF-1.2.0
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for bison... bison -y
checking for flex... no
checking for lex... lex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for sha224sum... 1
checking for sha1sum... 1
checking for md5sum... 1
checking for cksum... 1
checking for gzip... 1
checking for gsl_matrix_alloc in -lgsl... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking gsl/gsl_complex.h usability... yes
checking gsl/gsl_complex.h presence... yes
checking for gsl/gsl_complex.h... yes
checking gsl/gsl_complex_math.h usability... yes
checking gsl/gsl_complex_math.h presence... yes
checking for gsl/gsl_complex_math.h... yes
checking gsl/gsl_matrix.h usability... yes
checking gsl/gsl_matrix.h presence... yes
checking for gsl/gsl_matrix.h... yes
checking for unsigned long long... yes
checking for unsigned long... yes
checking for unsigned int... yes
checking for library containing trunc... -lm
checking for floor... yes
checking for sqrt... yes
checking for trunc... yes
Enabling conditional compilation of debugging output
configure: creating ./config.status
config.status: creating Makefile
config.status: creating CWEB/Makefile
config.status: creating DOC/Makefile
config.status: creating ANIMATNS/Makefile
config.status: creating DOC/TEXINFO/Makefile
config.status: creating DOC/TEXINFO/TEXIPP/Makefile
config.status: creating FLIPBOOK/Makefile
config.status: creating CWEB/config.h
config.status: executing depfiles commands
address@hidden Group]$


but I still get make errors :(



> Apparently, you don't have the GNU Scientific Library (GSL) or `configure'
> isn't finding it.

yes, I did not have it but installing GSL makes no difference. I still get
same errors:


g++ -DHAVE_CONFIG_H -I.    -frepo -pthread  -g  -MT primes.o -MD -MP -MF
.deps/primes.Tpo -c -o primes.o primes.cxx
mv -f .deps/primes.Tpo .deps/primes.Po
complex.cxx doesn't exist. Calling tsthdweb complex
/bin/sh ./tsthdweb complex 0 ./ctang3DL
complex.tmw doesn't exist.  Touching complex.tmw.
complex.c doesn't exist. Ctangling complex.web.
This is CTANGLE (Version 3.64)
*1*3*4*6*8*9*10*12*14*16*18*19*20*21*22*24*25*26*28*29*31*32*34*35*37*38*40*42*44*45*47*48*49*50*52*54*56*58
Writing the output files: (complex.c).....500....
(complex.h).
Done.
(No errors were found.)
complex.cxx doesn't exist. Renaming complex.c to complex.cxx,
touching complex.tmw and exiting tsthdweb.
primes.tim doesn't exist. Touching primes.tim
touch primes.tim
g++ -DHAVE_CONFIG_H -I.    -frepo -pthread  -g  -MT complex.o -MD -MP -MF
.deps/complex.Tpo -c -o complex.o complex.cxx
complex.web: In member function ‘void Complex::show(std::string,
Scanner_Type*) const’:
complex.web:1212: error: ‘complex’ was not declared in this scope
complex.web:1212: error: ‘GSL_REAL’ was not declared in this scope
complex.web:1213: error: ‘GSL_IMAG’ was not declared in this scope
make[2]: *** [complex.o] Error 1
make[2]: Leaving directory `/home/arnuld/programs/3dldf/Group/CWEB'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/arnuld/programs/3dldf/Group/CWEB'
make: *** [all-recursive] Error 1
address@hidden Group]$


> Check the output of `configure' or your `config.h'
> file.    If it's found, the following preprocessor macros should be
> defined:
>
> /* Define to 1 if you have the <gsl/gsl_complex.h> header file. */
> #define HAVE_GSL_GSL_COMPLEX_H 1
>
> /* Define to 1 if you have the <gsl/gsl_complex_math.h> header file. */
> #define HAVE_GSL_GSL_COMPLEX_MATH_H 1
>
> /* Define to 1 if you have the <gsl/gsl_matrix.h> header file. */
> #define HAVE_GSL_GSL_MATRIX_H 1
>
> /* Define to 1 if you have the `gsl' library (-lgsl). */
> #define HAVE_LIBGSL 1


I can not find #define HAVE_LIBGSL 1. see for yourself:

| #define HAVE_GSL_GSL_COMPLEX_H 1
| #define HAVE_GSL_GSL_COMPLEX_MATH_H 1
| #define HAVE_GSL_GSL_MATRIX_H 1


the full config.log is here:   http://dpaste.com/36571/



> If it's installed but `configure' isn't finding it, e.g., if it's in an
> unusual location, you may have to set the environment variables `CPPFLAGS'
> and `LDFLAGS' in your call to `configure'.  This is what I have to do on
> my system:

> configure --prefix=/home/uni04/UHSK/lfinsto1/3DLDF \
> CPPFLAGS="-I/usr/product/parallel/GSL/gsl-1.6/" \
> LDFLAGS="-L/usr/product/parallel/GSL/gsl-1.6/lib -lgsl -lgslcblas"

nah.. it is at the usual location as it installed using pacman (native
package manager of Archlinux, the distro I have)


> It's up to you if you want to use syntax highlighting.  It's a matter of
> personal taste.  I find multiple colors in printed text distracting and I
> know the syntax of C and C++ without them.  I'm not recommending that you
> not use it.  However, I have no intention of programming it myself.  You
> could try using C++ mode for the CWEB files.  I don't know whether the
> non-C++ code would confuse it, though.

it confuses a lot :\





-- arnuld
http://lispmachine.wordpress.com


--
    
Email and shopping with the feelgood factor!
55% of income to good causes. http://www.ippimail.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]