[Gambas-user] MDK RPM .net component problem

Daniel Campos daniel.campos at ...338...
Wed Jan 28 21:43:18 CET 2004


> 
> Yeah, the gb.net component isn't getting built.  It looks like a 
> problem in src/net/Makefile (it doesn't include net in the 
> SUBDIRS variable.)  Looking at the configure script, I assume it 
> thinks we don't have the right include files available to build 
> the net component, or maybe we're supposed to include something 
> like --with-net-includes on the config line as we used to have 
> to do with postgres and mysql.  Thing is, all the includes in 
> the net conponent are right in my /usr/include directory (e.g. 
> /usr/include/arpa/inet.h for #include <arpa/inet.h>) so I don't 
> know what we're missing.  Benoit?  Daniel?
> 

I've look at configure.in from gambas 0.82, and I think Benoît
added (too soon?) libcurl as a library needed to compile
"net" component. It is true for my new version (not finished),
but not for version included at 0.82 version, so I think if
you remove it, type reconf and ./configure again, it will work:

configure.in:
...
dnl ---- Networking component

GB_COMPONENT(
  net,
  NET,
  [Networking component],
  [GB_FIND(curl.h, `curl-config --prefix 2> /dev/null`, include)],
  [GB_FIND(libcurl.$SHLIBEXT, `curl-config --prefix 2> /dev/null`,
lib)],
  [$C_LIB $THREAD_LIB `curl-config --libs 2> /dev/null`],
  [$THREAD_INC])
...

Replace for this:

...
dnl ---- Networking component

GB_COMPONENT(
  net,
  NET,
  [Networking component],
  [],
  [],
  [$C_LIB $THREAD_LIB],
  [$THREAD_INC])
...



> Rob
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user





More information about the User mailing list