bugGNUstep - Bugs: bug #34598, gnustep-base configure doesn't...

 
 

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

bug #34598: gnustep-base configure doesn't detect gnutls correctly

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Wed 19 Oct 2011 01:32:57 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: InstallationStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon 24 Oct 2011 11:40:50 PM UTC, comment #4:

the check is wrong

#if defined(HAVE_GNUTLS)

HAVE_GNUTLS is defined, but defined to zero. either make it

#if defined(HAVE_GNUTLS) && HAVE_GNUTLS

or change something in configure so it isn't defined if its zero

julian <julian_>
Mon 24 Oct 2011 11:18:32 PM UTC, comment #3:

and compiling without gnutls doesn't work at all in r34049

i configured with --disable-tls and still i get this (paraphrased)

GSSocketStream fatal error gnutls/gnutls.h not found

julian <julian_>
Wed 19 Oct 2011 05:44:13 PM UTC, comment #2:

I've seen your changes. Now configure detects the availability of gnutls, but now has an unresolved symbol when linking autogsdoc:

clang -Wl,-E -shared-libgcc -fexceptions -fgnu-runtime -o obj/autogsdoc \
./obj/autogsdoc.obj/autogsdoc.m.o ./obj/autogsdoc.obj/AGSParser.m.o ./obj/autogsdoc.obj/AGSOutput.m.o ./obj/autogsdoc.obj/AGSIndex.m.o ./obj/autogsdoc.obj/AGSHtml.m.o \
-L../Source/./obj -L/gnustep-base-1.23.1_writes_to_HOME/GNUstep/Library/Libraries -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lgnustep-base -lobjc2 -lgmp -lavahi-common -lavahi-client -L/usr/local/lib -pthread -lgnutls -lxslt -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -liconv -lm -liconv -lffi -lpthread -lz -licui18n -licuuc -licudata -lm
clang: warning: argument unused during compilation: '-shared-libgcc'
/usr/local/lib/libgmp.so.9.0: warning: warning: vsprintf() is often misused, please use vsnprintf()
/usr/local/lib/libgmp.so.9.0: warning: warning: strcpy() is almost always misused, please use strlcpy()
../Source/./obj/libgnustep-base.so.5.0: warning: warning: sprintf() is often misused, please use snprintf()
/usr/local/lib/libgnutls.so.18.1: warning: warning: strcat() is almost always misused, please use strlcat()
../Source/./obj/libgnustep-base.so.5.0: undefined reference to `gcry_control'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[4]: *** [obj/autogsdoc] Error 1
gmake[3]: *** [internal-tool-all_] Error 2
gmake[2]: *** [autogsdoc.all.tool.variables] Error 2
gmake[1]: *** [internal-all] Error 2
gmake[1]: Leaving directory `/home/ports/pobj/gnustep-base-1.23.1/gnustep-base-1.23.1/Tools'
gmake: *** [internal-all] Error 2

Sebastian Reitenbach <buzzdee>
Project Member
Wed 19 Oct 2011 01:45:54 PM UTC, comment #1:

Thanks ... I added that fix.

Richard Frith-Macdonald <CaS>
Project Member
Wed 19 Oct 2011 01:32:57 PM UTC, original submission:

when running ./configure then the gnutls test looks like this:

checking gnutls support...Unknown option: clibs

with attached patch, it will look like this:

checking gnutls support... checking dns_sd.h usability... no
checking dns_sd.h presence... no
checking for dns_sd.h... no

well, after regenerating ./configure.

it still looks a bit weird, but at least the error is gone.

Sebastian Reitenbach <buzzdee>
Project Member

 

Attached Files
file #24170:  patch-configure_ac added by buzzdee (467B - application/octet-stream - fix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by julian_ (Posted a comment)
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by buzzdee (Submitted 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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Oct 2011 01:45:54 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 19 Oct 2011 01:32:57 PM UTCbuzzdeeAttached File-=>Added patch-configure_ac, #24170

    Back to the top


    Powered by Savane 3.1-cleanup1