bugGNUstep - Bugs: bug #11134, ./configure meaningless error or...

Group
 
 

bug #11134: ./configure meaningless error or similar

Submitter:  Pupeno <pupeno>
Submitted:  Thu 25 Nov 2004 08:07:56 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Change Request Status:  Fixed
Privacy:  Public Assigned to:  fedor
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 30 Nov 2004 04:28:32 AM UTC, comment #2: 

I applied matt's patch. See

2004-11-29  Adam Fedor  <fedor@gnu.org>

  • configure.ac: Check for libffi or callback/avcall libs

(Patch from Matt Rice). Fixes bug #11134.

Adam Fedor <fedor>
Group administrator
Thu 25 Nov 2004 08:42:02 PM UTC, comment #1: 

gentoo's "profile.env" is setting CPATH='/usr/include/libffi'
so it is finding the libffi headers, but gnustep's configure doesn't check if it can actually link to libffi or libffcall..
only that the headers are there..

attached to this is a patch, but i think i'm running the wrong autoconf to regenerate it for cvs.

matt rice <ratmice>
Group Member
Thu 25 Nov 2004 08:07:56 PM UTC, original submission:  

While running ./configure on a very recent gnustep-base (grabbed with cvs a couple of hours ago) I had this error:

checking for callback.h... no
checking "for forwarding callback in runtime"... yes
checking "FFI library usage"... libffi
checking for xml2-config... /usr/bin/xml2-config
checking for libxml - version >= 2.3.0... no
* Could not run libxml test program, checking why...

You most likely do not want to build base without XML support.
For instance, MacOS-X compatible property lists require XML.
If you really want to build -base without XML support, add --disable-xml
to the configure arguments.
configure: error: Missing support for XML functionality.
pupeno@lab base $

I'm currently running gentoo and there's nothing with my xml, and in fact, the problem is with libffi, which is installed in /usr/lib/libffi/ and /usr/include/libffi. Maybe that's not nice and the ./configure script can't detect it, but even then, the error should be more accurte.

After running the following command, it worked:
$ ./configure --with-ffi-include=/usr/include/libffi/ --with-ffi-library=/usr/l
ib/libffi/

Thank you.

Pupeno <pupeno>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #2104:  configure.ac-2.diff added by ratmice (1KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rmottola (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-03-19 rmottola Open/ClosedIn Test Closed
    2004-11-30 fedor StatusNone Fixed
        Assigned toNone fedor
        Open/ClosedOpen In Test
    2004-11-25 ratmice Attached File- Added configure.ac-2.diff, #1915

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code