LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-29-2007, 05:25 PM   #1
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Rep: Reputation: 30
Errors installing Q, which is needed for Lex, which is needed for PHP


It's giving me nothing but errors, this is my second attempt. It wont work and I'm stuck until it will.

Quote:
[root@localhost q-7.6]# make && make install
make all-recursive
make[1]: Entering directory `/files/downloads/q-7.6'
Making all in .
make[2]: Entering directory `/files/downloads/q-7.6'
make[2]: Leaving directory `/files/downloads/q-7.6'
Making all in libltdl
make[2]: Entering directory `/files/downloads/q-7.6/libltdl'
make all-am
make[3]: Entering directory `/files/downloads/q-7.6/libltdl'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c -o ltdl.lo ltdl.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -fPIC -DPIC -o .libs/ltdl.o
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl
rm -fr .libs/libltdlc.a .libs/libltdlc.la
ar cru .libs/libltdlc.a .libs/ltdl.o
ranlib .libs/libltdlc.a
creating libltdlc.la
(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la)
make[3]: Leaving directory `/files/downloads/q-7.6/libltdl'
make[2]: Leaving directory `/files/downloads/q-7.6/libltdl'
Making all in glob
make[2]: Entering directory `/files/downloads/q-7.6/glob'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/files/downloads/q-7.6/glob'
Making all in regex
make[2]: Entering directory `/files/downloads/q-7.6/regex'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/files/downloads/q-7.6/regex'
Making all in readline-4.2
make[2]: Entering directory `/files/downloads/q-7.6/readline-4.2'
make all-am
make[3]: Entering directory `/files/downloads/q-7.6/readline-4.2'
make[3]: Leaving directory `/files/downloads/q-7.6/readline-4.2'
make[2]: Leaving directory `/files/downloads/q-7.6/readline-4.2'
Making all in doc
make[2]: Entering directory `/files/downloads/q-7.6/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/files/downloads/q-7.6/doc'
Making all in etc
make[2]: Entering directory `/files/downloads/q-7.6/etc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/files/downloads/q-7.6/etc'
Making all in examples
make[2]: Entering directory `/files/downloads/q-7.6/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/files/downloads/q-7.6/examples'
Making all in libq
make[2]: Entering directory `/files/downloads/q-7.6/libq'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/files/downloads/q-7.6/libq'
Making all in modules
make[2]: Entering directory `/files/downloads/q-7.6/modules'
Making all in clib
make[3]: Entering directory `/files/downloads/q-7.6/modules/clib'
Making all in .
make[4]: Entering directory `/files/downloads/q-7.6/modules/clib'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libq -I../../glob -I../../regex -g -O2 -MT clib.lo -MD -MP -MF ".deps/clib.Tpo" -c -o clib.lo clib.c; \
then mv -f ".deps/clib.Tpo" ".deps/clib.Plo"; else rm -f ".deps/clib.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libq -I../../glob -I../../regex -g -O2 -MT clib.lo -MD -MP -MF .deps/clib.Tpo -c clib.c -fPIC -DPIC -o .libs/clib.o
clib.c:295:17: error: gmp.h: No such file or directory
clib.c: In function 'my_mpz_realloc':
clib.c:419: error: expected declaration specifiers before 'mpz_ptr'
clib.c:420: error: expected declaration specifiers before 'mp_size_t'
clib.c:422: error: 'mpz_t' undeclared (first use in this function)
clib.c:422: error: (Each undeclared identifier is reported only once
clib.c:422: error: for each function it appears in.)
clib.c:422: error: expected ';' before 'm1'
clib.c:423: error: 'm1' undeclared (first use in this function)
clib.c:423: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast
clib.c:425: error: invalid type argument of '->'
clib.c: At top level:
clib.c:432: error: expected ')' before 'z'
clib.c:441: error: expected ')' before 'z'
clib.c:450: error: expected ')' before 'z'
clib.c:464: error: expected ')' before 'z'
clib.c:493: error: expected declaration specifiers or '...' before 'mpz_t'
clib.c:493: error: expected declaration specifiers or '...' before 'mpz_t'
clib.c:493: error: expected declaration specifiers or '...' before 'mpz_t'
clib.c: In function 'mpz_addop2':
clib.c:495: error: 'u' undeclared (first use in this function)
clib.c:495: error: 'v' undeclared (first use in this function)
clib.c:497: error: 'z' undeclared (first use in this function)
clib.c:499: warning: return makes pointer from integer without a cast
clib.c: At top level:
clib.c:504: error: expected declaration specifiers or '...' before 'mpz_t'
clib.c:504: error: expected declaration specifiers or '...' before 'mpz_t'
clib.c:504: error: expected declaration specifiers or '...' before 'mp_limb_t'
clib.c: In function 'mpz_addop1':
clib.c:506: error: 'u' undeclared (first use in this function)
clib.c:508: error: 'z' undeclared (first use in this function)
clib.c:509: error: 'v' undeclared (first use in this function)
clib.c:510: warning: return makes pointer from integer without a cast
clib.c: At top level:
clib.c:518: error: expected ')' before '*' token
clib.c: In function '__F__clib_bytestr':
clib.c:2344: error: 'mpz_t' undeclared (first use in this function)
clib.c:2344: error: expected ';' before 'z'
clib.c:2384: error: 'z' undeclared (first use in this function)
clib.c:2388: error: expected ';' before 'u'
clib.c:2390: error: 'mp_limb_t' undeclared (first use in this function)
clib.c:2397: error: 'u' undeclared (first use in this function)
clib.c: In function '__F__clib_bint':
clib.c:2552: error: 'mp_limb_t' undeclared (first use in this function)
clib.c:2553: error: 'mpz_t' undeclared (first use in this function)
clib.c:2553: error: expected ';' before 'z'
clib.c:2555: error: 'z' undeclared (first use in this function)
clib.c: In function 'coerce_uint':
clib.c:3192: error: 'mpz_t' undeclared (first use in this function)
clib.c:3192: error: expected ';' before 'z'
clib.c:3194: error: 'z' undeclared (first use in this function)
clib.c: In function '__F__clib_pow':
clib.c:9978: error: 'mpz_t' undeclared (first use in this function)
clib.c:9978: error: expected ';' before 'm'
clib.c:9980: error: 'm' undeclared (first use in this function)
clib.c:9983: error: 'u' undeclared (first use in this function)
clib.c: In function '__F__clib_root':
clib.c:9993: error: 'mpz_t' undeclared (first use in this function)
clib.c:9993: error: expected ';' before 'm'
clib.c:9995: error: 'm' undeclared (first use in this function)
clib.c:9998: error: 'u' undeclared (first use in this function)
clib.c: In function '__F__clib_intsqrt':
clib.c:10008: error: 'mpz_t' undeclared (first use in this function)
clib.c:10008: error: expected ';' before 'm'
clib.c:10009: error: 'm' undeclared (first use in this function)
clib.c:10011: error: 'u' undeclared (first use in this function)
clib.c: In function '__F__clib_powmod':
clib.c:10021: error: 'mpz_t' undeclared (first use in this function)
clib.c:10021: error: expected ';' before 'k'
clib.c:10023: error: 'k' undeclared (first use in this function)
clib.c:10023: error: 'm' undeclared (first use in this function)
clib.c:10024: error: 'n' undeclared (first use in this function)
clib.c:10027: error: 'u' undeclared (first use in this function)
clib.c:10030: error: 'k2' undeclared (first use in this function)
clib.c: In function '__F__clib_invmod':
clib.c:10041: error: 'mpz_t' undeclared (first use in this function)
clib.c:10041: error: expected ';' before 'k'
clib.c:10042: error: 'k' undeclared (first use in this function)
clib.c:10042: error: 'm' undeclared (first use in this function)
clib.c:10045: error: 'u' undeclared (first use in this function)
clib.c: In function '__F__clib_isprime':
clib.c:10059: error: 'mpz_t' undeclared (first use in this function)
clib.c:10059: error: expected ';' before 'n'
clib.c:10061: error: 'n' undeclared (first use in this function)
clib.c: In function '__F__clib_gcd':
clib.c:10084: error: 'mpz_t' undeclared (first use in this function)
clib.c:10084: error: expected ';' before 'm'
clib.c:10085: error: 'm' undeclared (first use in this function)
clib.c:10085: error: 'n' undeclared (first use in this function)
clib.c:10088: error: 'u' undeclared (first use in this function)
clib.c: In function '__F__clib_lcm':
clib.c:10098: error: 'mpz_t' undeclared (first use in this function)
clib.c:10098: error: expected ';' before 'm'
clib.c:10099: error: 'm' undeclared (first use in this function)
clib.c:10099: error: 'n' undeclared (first use in this function)
clib.c:10103: error: 'u' undeclared (first use in this function)
clib.c: In function '__F__clib_remove_factor':
clib.c:10113: error: 'mpz_t' undeclared (first use in this function)
clib.c:10113: error: expected ';' before 'm'
clib.c:10116: error: 'm' undeclared (first use in this function)
clib.c:10116: error: 'n' undeclared (first use in this function)
clib.c:10120: error: 'u' undeclared (first use in this function)
clib.c: In function '__F__clib_jacobi':
clib.c:10130: error: 'mpz_t' undeclared (first use in this function)
clib.c:10130: error: expected ';' before 'm'
clib.c:10132: error: 'm' undeclared (first use in this function)
clib.c:10132: error: 'n' undeclared (first use in this function)
clib.c: In function '__F__clib_nums':
clib.c:10219: error: 'mpz_t' undeclared (first use in this function)
clib.c:10219: error: expected ';' before 'n'
clib.c:10226: error: 'n' undeclared (first use in this function)
clib.c:10227: error: 'm' undeclared (first use in this function)
clib.c:10234: error: 'mpz_sub' undeclared (first use in this function)
clib.c:10234: error: 'u' undeclared (first use in this function)
clib.c:10234: error: too many arguments to function 'mpz_addop2'
clib.c:10248: error: expected ';' before 'v'
clib.c:10254: error: 'mpz_add_ui' undeclared (first use in this function)
clib.c:10254: error: 'v' undeclared (first use in this function)
clib.c:10254: error: too many arguments to function 'mpz_addop1'
clib.c: In function '__F__clib_numsby':
clib.c:10289: error: 'mpz_t' undeclared (first use in this function)
clib.c:10289: error: expected ';' before 'n'
clib.c:10296: error: 'k' undeclared (first use in this function)
clib.c:10297: error: 'n' undeclared (first use in this function)
clib.c:10298: error: 'm' undeclared (first use in this function)
clib.c:10307: error: 'mpz_sub' undeclared (first use in this function)
clib.c:10307: error: 'u' undeclared (first use in this function)
clib.c:10307: error: too many arguments to function 'mpz_addop2'
clib.c:10323: error: expected ';' before 'v'
clib.c:10329: error: 'mpz_add' undeclared (first use in this function)
clib.c:10329: error: 'v' undeclared (first use in this function)
clib.c:10329: error: too many arguments to function 'mpz_addop2'
make[4]: *** [clib.lo] Error 1
make[4]: Leaving directory `/files/downloads/q-7.6/modules/clib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/files/downloads/q-7.6/modules/clib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/files/downloads/q-7.6/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/files/downloads/q-7.6'
make: *** [all] Error 2
 
Old 05-29-2007, 05:47 PM   #2
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Original Poster
Rep: Reputation: 30
Nevermind this, fixed it (well, I suppose).

Downloaded the rpm via yum and installed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP5 Upgrade Error: Missing Dependency: php = 4.3.x is needed by package php-pear vsystems Linux - Server 1 05-02-2007 08:17 AM
Help needed installing Dlink network adapter driver - compile errors Arodef Linux - Hardware 0 08-12-2005 06:45 PM
libc errors on bootup help needed vinoloco Linux - Newbie 2 02-12-2005 09:38 PM
hotplug,errors and x..guru needed wrat Linux - Newbie 2 01-09-2005 09:37 AM
Boot errors, a little help needed. RecoilUK Linux From Scratch 5 06-11-2002 04:27 AM


All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration