You are not logged in.

#1 2005-07-18 14:45:13

scrawler
Member
Registered: 2005-06-07
Posts: 318

ot? sorry...libffi

Hi guys,

I'm trying to make a package which fails because it looks for ffi.h

It's my understanding that this library is included with "modern" gcc's.

Anyone have any insight for me?

Offline

#2 2005-07-18 16:44:41

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ot? sorry...libffi

libffi is a seperate library.
If you need libffi, you have to install libffi - in the same way you do with libjpeg, or libX11.

So if libffi is not available, you should first package (or just install) libffi

edit: sorry : from the libffi page

Note: This page is out of date. libffi is now largely maintained as part of GCC. Hopefully this separate library will be brought up to date some time. Please contact me if you are interested in helping -- Anthony Green - green@redhat.comp

Offline

#3 2005-07-18 17:18:55

scrawler
Member
Registered: 2005-06-07
Posts: 318

Re: ot? sorry...libffi

thanks.  I googled and read your edit quote, too, but still.  I'm trying to package gtk-server--there is a libffi tarball on gtk-server's site, but I'm having a hard time with it's PKGBUILD...

I'm no good at all at making arch packages, yet.   Don't know what to put in the silly build section.

Offline

#4 2005-07-18 17:22:19

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ot? sorry...libffi

Well, I would say that, while libffi is part of gcc, it's just not packaged (yet)... though it should be it's own package.

Later on, if I have enough time, I can make a PKGBUILD for it and let you know.

Offline

#5 2005-07-18 18:15:24

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: ot? sorry...libffi

checking for gtk_main in -lgtk-x11-2.0... no
checking for gtk_main in -lgtk... no
configure: error: Cannot compile - please install the GTK package from http://www.gtk.org/
make: *** No targets specified and no makefile found.  Stop.

emmm


Mr Green

Offline

Board footer

Powered by FluxBB