I'm having trouble installing the database-1.0.4 package.
The first problems was that the config.log file with the important errors was
in a temporary directory created and then deleted by pkg.m. I solved that by
modifying pkg.m so that it does not delete the tmp directory when the 'verbose'
flag is used.
I'm running octave 3.2.4 in cygwin on a Windows XP machine.
The 'configure' script looks for gcc. For some reason it thinks I have 'gcc-4'
when I only have 'gcc-3'. The compile commands then fail because it is calling
'gcc-4'. The important section of the config.log file is:
configure:1881: checking for gcc
configure:1908: result: gcc-4
configure:2140: checking for C compiler version
configure:2148: gcc-4 --version >&5
./configure: line 2150: gcc-4: command not found
configure:2152: $? = 127
configure:2159: gcc-4 -v >&5
./configure: line 2161: gcc-4: command not found
configure:2163: $? = 127
configure:2170: gcc-4 -V >&5
./configure: line 2172: gcc-4: command not found
configure:2174: $? = 127
configure:2197: checking for C compiler default output file name
configure:2219: gcc-4 conftest.c >&5
./configure: line 2221: gcc-4: command not found
configure:2223: $? = 127
configure:2261: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2267: error: in `/tmp/oct-22d620.0/database-1.0.4/src':
configure:2270: error: C compiler cannot create executables
See `config.log' for more details.
Here is a partial listing of my /usr/bin directory:
/usr/bin/g++-3.exe
/usr/bin/g++.exe
/usr/bin/gawk-3.1.8.exe
/usr/bin/gawk.exe
/usr/bin/gcc-3.exe
/usr/bin/gcc.exe
/usr/bin/gccbug-3
/usr/bin/gcov-3.exe
/usr/bin/gcov.exe
I've spent some time staring at the install script but I find myself lost
inside of it.
Any suggestions?
Thanks
Ethan
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev