Hi !
I'm trying to compile latest unstable libtiff
with xlc. It ran successfully from the command line, using
./configure --with-CC=xlc --noninteractive; make .
So modified the "CompileScript" part of libtiff.info
file, to look like this
CompileScript: <<
PATH=/opt/ibmcmp/vac/6.0/bin/:/opt/ibmcmp/vacpp/6.0/bin/:$PATH
./configure --with-CC=xlc --noninteractive
(export DESTDIR=%d; make)
<<
then, "fink install libtiff" ... which gives an
error, complaining that ./configure was unable to compile a
test program;
tiff-v3.6.1/contrib/iptcutil/test.txt
/var/tmp/tmp.1.dgSG9D
patching file config.site
patching file configure
patching file libtiff/Makefile.in
PATH=/opt/ibmcmp/vac/6.0/bin/:/opt/ibmcmp/vacpp/6.0/bin/:$PATH
./configure --with-CC=xlc --noninteractive
Configuring TIFF Software v3.6.1
If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.
Reading site-wide parameters from ./config.site.
Gosh, aren't you lucky to have a powerpc-apple-darwin6.8 system!
Cannot locate a working ANSI C compiler.qy
We attempted to compile the following test program:
----------------------------------------------------------
main(int argc, char* argv) { exit(0); }
----------------------------------------------------------
with these compilers:
xlc
but none of them were successful.
If your compiler is in a non-standard location, you can specify its
location in several ways:
o set the environment variable CC
o create a config.local or config.site file that includes a
definition for CC
o supply it on the command line using -with-CC=<pathname>
If command line options are required for ANSI C compilation, set the
ENVOPTS parameter to these options in a similar way (either through
an environment variable or config.local/config.site) and then rerun
this script.
configure:
configure: Unrecoverable error! Once you've corrected the problem rerun
this script.
### execution of ./configure failed, exit code 1
Failed: compiling libtiff-3.6.1-1 failed
I don't understand the problem, as the ./configure line
is exactly the same in both cases ... any ideas ?
Kalou
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users