[Gambas-user] Installing 2.4.1 on Fedora 7

Scott Castaline hscast at ...407...
Tue Apr 1 18:40:16 CEST 2008


Demosthenes Koptsis wrote:
> I installed libffi in /usr/local/lib in my *openSuse 10.2*
> but i had to have a line for the path in */etc/ld.so.conf*
> and run *ldconfig* after any lib installation.
>
> On Tue, Apr 1, 2008 at 4:27 PM, Benoit Minisini <
> gambas at ...1...> wrote:
>
>   
>> On mardi 1 avril 2008, Scott Castaline wrote:
>>     
>>> I have Fedora 7, (2.6.23.15-80.fc7) installed. I am trying to compile
>>> and install Gambas 2.4.1 and cannot seem to get any where. When I run
>>> ./configure -C I get the following errors:
>>>
>>> * Failed to find file libintl.so
>>> configure: This library should be located inside the system C library
>>> checking for optional external charset conversion library headers...
>>> /usr/local/include/
>>> checking for optional external charset conversion library libraries...
>>> /usr/local/lib/
>>> checking for foreign function interface component with pkg-config... no
>>> configure: Cannnot find libffi support with pkg-config
>>> checking for foreign function interface headers... no
>>> * Failed to find file ffi.h
>>> checking for foreign function interface libraries... /usr/local/lib/
>>> configure: WARNING: *** foreign function interface is disabled
>>> configure: error: libffi library and headers are required
>>> configure: error: ./configure failed for main
>>>
>>> I found the source code for libffi.so, libffi-3.0.4, dl'd ran
>>> ./configure, make, make install, all as root. It still could not find it
>>> even though the header files are in /usr/local/lib/include and the other
>>> files are in /usr/local/lib. I was also getting a message about missing
>>> libiconv.so and after a long search I found libiconv-1.12 and did the
>>> same for that as libffi. The error for libiconv went away but the
>>> libintl and libffi were still there. I finally founf something about
>>> gettext. I checked through my pkgmgr and found that I had gettext but
>>> not gettext-devel, so installed that. I'm still getting the above.
>>>
>>> Any ideas?
>>>
>>>       
>> libiconv and libintl are not mandatory. As for libffi, the problem is that
>> I
>> forgot to add /usr/local/lib/include as an include search path for libffi.
>> I
>> will fix that in the next release, but please install libffi in another
>> place
>> (/usr/lib) for example as workaround.
>>
>> But you should not have to compile libffi, you should have a binary
>> package.
>>
>> Regards,
>>
>> --
>> Benoit Minisini
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>>
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>     
>
>
>
>   
I understand the concept of what ldconfig is doing, I'm not sure how to 
structure my line(s) in ld.so.conf. What do I put there? And am I just 
concerned with the header files or also the .so files.




More information about the User mailing list