[Gambas-user] Installing 2.4.1 on Fedora 7

Benoit Minisini gambas at ...1...
Tue Apr 1 15:27:43 CEST 2008


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




More information about the User mailing list