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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11134: ./configure meaningless error or similar

Submitted by:  Pupeno <pupeno>
Submitted on:  Thu 25 Nov 2004 08:07:56 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: Adam Fedor <fedor>
Open/Closed: Closed

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>
Project AdministratorIn charge of this item.
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>
Project 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>

 

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
  • -unavailable- added by rmottola (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Mar 2008 10:30:02 PM UTCrmottolaOpen/ClosedIn Test=>Closed
    Tue 30 Nov 2004 04:28:32 AM UTCfedorStatusNone=>Fixed
      Assigned toNone=>fedor
      Open/ClosedOpen=>In Test
    Thu 25 Nov 2004 08:42:02 PM UTCratmiceAttached File-=>Added configure.ac-2.diff, #1915

    Back to the top


    Powered by Savane 3.1-cleanup1