According to Brett Rabideau:
> (2) From advice from part of the archives, I tried setting:
>
> setenv CFLAGS="-O2 -I/usr/local/include/g++"
> setenv CXXFLAGS="O2 -I/usr/local/include/g++"
>
> When I ran ./configure, I received:
>
> checking whether the C++ compiler (c++ O2 -I/usr/local/include/g++= )
> works... no
> configure: error: installation or configuration problem: C++ compiler
> cannot create executables.
>
> (3) Borrowing further from another example, I tried:
>
> setenv CFLAGS="-O2 -I/usr/local/include/g++"
> setenv CXXFLAGS="O2 -I/usr/local/include/g++"
> ./configure --prefix=/usr/local
>
> and once again got to:
>
> checking for fstream.h... no
> configure: error: To compile ht://Dig, you will need a C++ library. Try
> installing libstdc++.
The correct syntax for setenv is as follows:
setenv CFLAGS "-O2 -I/usr/local/include/g++"
setenv CXXFLAGS "-O2 -I/usr/local/include/g++"
Note there's no "=" sign between the name and value, and note also that
both option strings need the "-" before the "O2" option. The setenv
command only works if your shell is csh or tcsh. If you're running sh,
bash, ksh, or some other Bourne-shell workalike, the commands would be:
CFLAGS="-O2 -I/usr/local/include/g++"
CXXFLAGS="-O2 -I/usr/local/include/g++"
export CFLAGS CXXFLAGS
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives: <http://www.htdig.org/mail/menu.html>
FAQ: <http://www.htdig.org/FAQ.html>