Strange errors relating to tcl and tk libraries
Hi all. I am trying to compile the latest version of scilab, Scilab-3.1-rc1 from source. The configurator seems to have trouble locating the tcl and tk libraries, which I know exist as '/usr/lib64/tcl8.4' and '/usr/lib/tk8.4' (I am running SuSE 9.2 for AMD64 and I updated them via apt for SuSE). My kernel is 2.6.11-4. Here is part of the configurator output, pertaining to these two libraries: checking for main in -ldl... no checking for header file tcl.h... found in /usr/include checking if tcl is version 8.4 or later... cc: unrecognized option `-R/usr/X11R6/lib64' cc1: error: bad value (athlon64) for -march= switch cc1: error: bad value (athlon64) for -mcpu= switch (can't happen) yes checking for tcl library tcl.... found in /usr/include checking if tcl is version 8.4 or later... cc: unrecognized option `-R/usr/X11R6/lib64' cc1: error: bad value (athlon64) for -march= switch cc1: error: bad value (athlon64) for -mcpu= switch (can't happen) yes checking for tcl library tcl.... configure: error: header file tcl.h has been found for 8.4* but no corresponding tcl library Any ideas? Regards, Gus Fantanas
Constantine 'Gus' Fantanas <fantanas@innocent.com> writes:
Hi all.
I am trying to compile the latest version of scilab, Scilab-3.1-rc1 from source. The configurator seems to have trouble locating the tcl and tk libraries, which I know exist as '/usr/lib64/tcl8.4' and '/usr/lib/tk8.4' (I am running SuSE 9.2 for AMD64 and I updated them via apt for SuSE). My kernel is 2.6.11-4.
Here is part of the configurator output, pertaining to these two libraries:
checking for main in -ldl... no checking for header file tcl.h... found in /usr/include checking if tcl is version 8.4 or later... cc: unrecognized option `-R/usr/X11R6/lib64' cc1: error: bad value (athlon64) for -march= switch cc1: error: bad value (athlon64) for -mcpu= switch (can't happen) yes
How are you calling configure? You pass something wrong to it... Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Hi, Andreas. Thank you for responding. This is my configuration command (all in one line): ./configure --with-tcl-library='/usr/lib64/tcl8.4' --with-tk-library='/usr/lib64/tk8.4' --with-tcl-include=/usr/include --with-tk-include=/usr/include Its syntax is taken straight out of scilab's 'README_Unix' file. CF Andreas Jaeger wrote:
Constantine 'Gus' Fantanas <fantanas@innocent.com> writes:
Hi all.
I am trying to compile the latest version of scilab, Scilab-3.1-rc1 from source. The configurator seems to have trouble locating the tcl and tk libraries, which I know exist as '/usr/lib64/tcl8.4' and '/usr/lib/tk8.4' (I am running SuSE 9.2 for AMD64 and I updated them via apt for SuSE). My kernel is 2.6.11-4.
Here is part of the configurator output, pertaining to these two libraries:
checking for main in -ldl... no checking for header file tcl.h... found in /usr/include checking if tcl is version 8.4 or later... cc: unrecognized option `-R/usr/X11R6/lib64' cc1: error: bad value (athlon64) for -march= switch cc1: error: bad value (athlon64) for -mcpu= switch (can't happen) yes
How are you calling configure? You pass something wrong to it...
Andreas
Constantine 'Gus' Fantanas wrote:
Hi all.
I am trying to compile the latest version of scilab, Scilab-3.1-rc1 from source. The configurator seems to have trouble locating the tcl and tk libraries, which I know exist as '/usr/lib64/tcl8.4' and '/usr/lib/tk8.4' (I am running SuSE 9.2 for AMD64 and I updated them via apt for SuSE). My kernel is 2.6.11-4.
Here is part of the configurator output, pertaining to these two libraries:
checking for main in -ldl... no checking for header file tcl.h... found in /usr/include checking if tcl is version 8.4 or later... cc: unrecognized option `-R/usr/X11R6/lib64' cc1: error: bad value (athlon64) for -march= switch cc1: error: bad value (athlon64) for -mcpu= switch (can't happen) yes checking for tcl library tcl.... found in /usr/include checking if tcl is version 8.4 or later... cc: unrecognized option `-R/usr/X11R6/lib64' cc1: error: bad value (athlon64) for -march= switch cc1: error: bad value (athlon64) for -mcpu= switch (can't happen) yes checking for tcl library tcl.... configure: error: header file tcl.h has been found for 8.4* but no corresponding tcl library
Any ideas?
Perhaps '-L/usr/X11R6/lib64' instead of '-R...' ? -- William A. Mahaffey III --------------------------------------------------------------------- Remember, ignorance is bliss, but willful ignorance is LIBERALISM !!!!
participants (3)
-
Andreas Jaeger
-
Constantine 'Gus' Fantanas
-
William A. Mahaffey III