Re: htdig and libstdc++ requirement was: htdig on win32?)

Neal Richter <[email protected]> Thu, 3 Feb 2005 22:49:49 -0700 (MST)
Newsgroups gmane.comp.web.htdig.devel
Message-ID <[email protected]>
On Thu, 3 Feb 2005, Gregory Hicks wrote:

>
>> 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!

   I'll check ASAP, however I don't think we use any 'unsigned long long 
int'.  You can probably hack the configure script and remove a 'long' 
in the code that produces conftest.c and it will work fine.  Or comment 
out that check.

Thanks.

-- 
Neal Richter 
Knowledgebase Developer
RightNow Technologies, Inc.
Customer Service for Every Web Site
Office: 406-522-1485



-------------------------------------------------------
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