> From: Jim <[EMAIL PROTECTED]>
> Date: Thu, 3 Feb 2005 14:24:30 -0700 (MST)
>
> On Wed, 2 Feb 2005, Gregory Hicks wrote:
>
[...snip...]
>
> Have you verified that a C++ compiler and library is really installed
> and functional? Have you successfully compiled any other C++ code? If not,
> you might want to try compiling a small test program. If you are not
> familiar with C++, the following test might be helpful.
Thanks Jim! Problem solved. It seems that there was a problem with a
library in the gcc342 package I installed. I downgraded to 3.3.2,
recompiled the cpptest program and it works. I'm running the configure
script as I type now.
Thanks for the pointer!
However, Now I get back an error on "unsigned long long int":
checking size of unsigned long long int... configure: error: cannot
compute sizeof (unsigned long long int), 77
See `config.log' for more details.
metis%
[...config.log extract...]
configure:23057: checking for unsigned long long int
configure:23081: gcc -c -g -O2 -Wall conftest.c >&5
configure:23087: $? = 0
configure:23090: test -z || test ! -s conftest.err
configure:23093: $? = 0
configure:23096: test -s conftest.o
configure:23099: $? = 0
configure:23110: result: yes
configure:23113: checking size of unsigned long long int
configure:23425: gcc -o conftest -g -O2 -Wall conftest.c -lz -lnsl -lsocket
>&5
configure:23428: $? = 0
configure:23430: ./conftest
ld.so.1: ./conftest: fatal: relocation error: file ./conftest: symbol
__register_frame_info: referenced symbol not found
./configure: line 1: 11852 Killed ./conftest$ac_exeext
configure:23433: $? = 137
configure: program exited with status 137
configure: failed program was:
Any other thoughts? Thanks for the assist and pointer though!
Regards,
Gregory Hicks
>
> Create a file named cpptest.cpp with the following code.
>
> #include <iostream>
>
> int main(int, char* []) {
> std::cout << "Success" << std::endl;
>
> return 0;
> }
>
> Save the file and then execute the following command.
>
> g++ -Wall cpptest.cpp -o cpptest
>
> If you make it that far, execute the following.
>
> ./cpptest
>
> You should see the word 'Success' output by the program.
>
> If you can't make it this far, then something is missing or fundamentally
> broken with respect to your environment or compiler install.
>
>
> Jim
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> ht://Dig Developer mailing list:
> [email protected]
> List information (subscribe/unsubscribe, etc.)
> https://lists.sourceforge.net/lists/listinfo/htdig-dev
-------------------------------------------------------------------
Gregory Hicks | Principal Systems Engineer
Cadence Design Systems | Direct: 408.576.3609
555 River Oaks Pkwy M/S 6B1 | Fax: 408.894.3400
San Jose, CA 95134 | Internet: [EMAIL PROTECTED]
I am perfectly capable of learning from my mistakes. I will surely
learn a great deal today.
"A democracy is a sheep and two wolves deciding on what to have for
lunch. Freedom is a well armed sheep contesting the results of the
decision." - Benjamin Franklin
"The best we can hope for concerning the people at large is that they
be properly armed." --Alexander Hamilton
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ht://Dig Developer mailing list:
[email protected]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev