Results 1 to 1 of 1
I want to supply the gcc version which is missing in the configure of gtkextra, i.e.
configure:2261: gcc -V </dev/null >&5
gcc: '-V' option must have argument
I presume that ...
- 12-25-2009 #1Linux User
- Join Date
- Mar 2008
- Posts
- 287
Using configure
I want to supply the gcc version which is missing in the configure of gtkextra, i.e.
configure:2261: gcc -V </dev/null >&5
gcc: '-V' option must have argument
I presume that it can be done via the command line like:
./configure --CC 4.3.3
This looks suspect to me as CC must refer to gcc not the version. How else might I get this in to the script without hard coding (which would likely be wrong too)?? Don't want to splatter stuff all over.
Is this in fact being ignored???
SUPPLEMENTAL:
The above is apparently ignored by the configure as I found by further googling others are not stopped for this.
I do have this program stopping error:
configure:3000: gcc -o conftest -g -O2 conftest.c -lcposix >&5
/usr/lib/gcc/i486-slackware-linux/4.3.3/../../../../i486-slackware-linux/bin/ld: cannot find -lcposix
collect2: ld returned 1 exit status
configure:3003: $? = 1
configure: failed program was:
| #line 2976 "configure"
| /* confdefs.h. */
I see in the config.log that it is labeled "failed program" by configure and seems to indicate a missing program "lcposix"
Also, I get earlier:
configure:2688: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:2691: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
Is me refering to conftest.c and its not having something ahead of it ??
If so, then is it the missing lcposix or problem with conftest.c that is being flagged in the later error??Last edited by clickit; 12-26-2009 at 05:14 AM.


Reply With Quote