Re: gnome-session build fails

2005-05-23 Thread Alexander Gottwald
On Mon, 23 May 2005, jose isaias cabrera wrote:
 main.c: In function `have_ipv6':
 main.c:199: error: `AF_INET6' undeclared (first use in this function)
 main.c:199: error: (Each undeclared identifier is reported only once
 main.c:199: error: for each function it appears in.)
 
 Anyone has any suggestion?  As I said previously, the configure ran fine and 
 one of the entries was,
 
 checking whether to enable ipv6... no
 
 but, apparently, it's not working.  By the way, I also tried it 
 with --enable-ipv6 and it failed at the same spot.

This is a bug in gnome-session then. You might try fixing this by wrapping
the the function have_ipv6 with #ifdef HAVE_IPV6 or the like (check config.h 
for the exact variable)

bye
ago 
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: gnome-session build fails

2005-05-23 Thread jose isaias cabrera

On 16:53 Mon 23 May , Alexander Gottwald wrote:
 On Mon, 23 May 2005, jose isaias cabrera wrote:
  main.c: In function `have_ipv6':
  main.c:199: error: `AF_INET6' undeclared (first use in this function)
  main.c:199: error: (Each undeclared identifier is reported only once
  main.c:199: error: for each function it appears in.)
  
  Anyone has any suggestion?  As I said previously, the configure ran fine 
  and 
  one of the entries was,
  
  checking whether to enable ipv6... no
  
  but, apparently, it's not working.  By the way, I also tried it 
  with --enable-ipv6 and it failed at the same spot.
 
 This is a bug in gnome-session then. You might try fixing this by wrapping
 the the function have_ipv6 with #ifdef HAVE_IPV6 or the like (check config.h 
 for the exact variable)

Here is what the config.h had:

/* config.h.  Generated by configure.  */
/* config.h.in.  Generated from configure.in by autoheader.  */

/* Define if IPV6 is supported */
#define ENABLE_IPV6 1

...
...
...

I commented out the define for IPV6 and it has now passed that state.
Now, :-) , there is a new error message:

jic 11:30:38- make
make  all-recursive
make[1]: Entering directory `/home/us319318/apps/gnome-session-2.10.0'
Making all in po
make[2]: Entering directory
`/home/us319318/apps/gnome-session-2.10.0/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/us319318/apps/gnome-session-2.10.0/po'
Making all in gnome-session
make[2]: Entering directory
`/home/us319318/apps/gnome-session-2.10.0/gnome-session'
make  all-am
make[3]: Entering directory
`/home/us319318/apps/gnome-session-2.10.0/gnome-session'
/bin/bash ../libtool --mode=link gcc  -g -O2   -o gnome-session.exe
manager.o ice.o main.o prop.o save.o command.o remote.o logout.o
splash-widget.o gsm-xrandr.o gsm-keyring.o gsm-gsd.o gsm-protocol.o
gsm-remote-desktop.o gsm-sound.o gsm-at-startup.o gsm-multiscreen.o
gsm-typebuiltins.o gdm-logout-action.o util.o egg-screen-exec.o
egg-screen-help.o egg-screen-url.o -lXrandr -lXrender  -lSM -lICE
-L/usr/X11R6/lib -lX11  -Wl,--export-dynamic -L/usr/X11R6/lib
-lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lgnomecanvas-2 -lgnome-2
-lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext
-lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lbonobo-2
-lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgmodule-2.0
-lgthread-2.0 -lglib-2.0 -lintl -liconv -lesd -laudiofile -lm
-L/usr/lib -lwrap  
libtool: link: cannot find the library `/usr/X11R6/lib/libXrender.la'
make[3]: *** [gnome-session.exe] Error 1
make[3]: Leaving directory
`/home/us319318/apps/gnome-session-2.10.0/gnome-session'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/us319318/apps/gnome-session-2.10.0/gnome-session'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/us319318/apps/gnome-session-2.10.0'
make: *** [all] Error 2

different error all together.

???

thanks,

jic






 
 bye
   ago 
 -- 
  [EMAIL PROTECTED] 
  http://www.gotti.org   ICQ: 126018723



Re: gnome-session build fails

2005-05-23 Thread Alexander Gottwald
On Mon, 23 May 2005, jose isaias cabrera wrote:

 `/home/us319318/apps/gnome-session-2.10.0/gnome-session'
 /bin/bash ../libtool --mode=link gcc  -g -O2   -o gnome-session.exe
 manager.o ice.o main.o prop.o save.o command.o remote.o logout.o
 splash-widget.o gsm-xrandr.o gsm-keyring.o gsm-gsd.o gsm-protocol.o
 gsm-remote-desktop.o gsm-sound.o gsm-at-startup.o gsm-multiscreen.o
 gsm-typebuiltins.o gdm-logout-action.o util.o egg-screen-exec.o
 egg-screen-help.o egg-screen-url.o -lXrandr -lXrender  -lSM -lICE
 -L/usr/X11R6/lib -lX11  -Wl,--export-dynamic -L/usr/X11R6/lib
 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lgnomecanvas-2 -lgnome-2
 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext
 -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lbonobo-2
 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgmodule-2.0
 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lesd -laudiofile -lm
 -L/usr/lib -lwrap  
 libtool: link: cannot find the library `/usr/X11R6/lib/libXrender.la'

before blaming libtool: do you have the xorg-x11-devel package installed?
(surely, otherwise configure would not work)

xorg-x11-devel has /usr/X11R6/lib/libXrender.dll.a and libtool should
pick that up instead of searching for libXrender.la.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: gnome-session build fails

2005-05-23 Thread jose isaias cabrera
On 18:05 Mon 23 May , Alexander Gottwald wrote:
 On Mon, 23 May 2005, jose isaias cabrera wrote:
 
  -lgthread-2.0 -lglib-2.0 -lintl -liconv -lesd -laudiofile -lm
  -L/usr/lib -lwrap  
  libtool: link: cannot find the library `/usr/X11R6/lib/libXrender.la'
 
 before blaming libtool: do you have the xorg-x11-devel package installed?
 (surely, otherwise configure would not work)
Yes.  Exactly.

 xorg-x11-devel has /usr/X11R6/lib/libXrender.dll.a and libtool should
 pick that up instead of searching for libXrender.la.

Here is a list of libXr*:

jic 12:25:50- ls -al /usr/X11R6/lib/libXr*
-rwxrwxrwx  1 us319318 Users 14594 Apr 20 07:43 
/usr/X11R6/lib/libXrandr-2.dll.a*
lrwxrwxrwx  1 us319318 Users17 May 11 11:11 /usr/X11R6/lib/libXrandr.dll.a 
- libXrandr-2.dll.a*
-rwxrwxrwx  1 us319318 Users 28894 Apr 20 07:43 
/usr/X11R6/lib/libXrender-1.dll.a*
lrwxrwxrwx  1 us319318 Users18 May 11 11:11 /usr/X11R6/lib/libXrender.dll.a 
- libXrender-1.dll.a*

Ok, I agree, but somehow, libtool is not figuring itself out.  However,
is that dynamic link ok?

jic




Re: gnome-session build fails

2005-05-23 Thread Alexander Gottwald
On Mon, 23 May 2005, jose isaias cabrera wrote:

 Ok, I agree, but somehow, libtool is not figuring itself out.  However,
 is that dynamic link ok?

yes gcc (or ld) would work fine. I don't know why libtool does not.

bye
ago
-- 
 [EMAIL PROTECTED] 
 http://www.gotti.org   ICQ: 126018723


Re: gnome-session build fails

2005-05-23 Thread jose isaias cabrera


Ago,


Ok, I agree, but somehow, libtool is not figuring itself out.  However,
is that dynamic link ok?


yes gcc (or ld) would work fine. I don't know why libtool does not.


Any options that I can do to libtool to make it work?

jic


Re: gnome-session build fails

2005-05-23 Thread Gerrit P. Haase

jose isaias cabrera wrote:


Ago,


Ok, I agree, but somehow, libtool is not figuring itself out.  However,
is that dynamic link ok?



yes gcc (or ld) would work fine. I don't know why libtool does not.



Any options that I can do to libtool to make it work?


Create the file libXrender.la.
Just copy another .la file and edit to fit for libXrender.

Or take this:
# libXrender.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5 (1.1220 2003/04/05 19:32:58)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='../bin/cygXrender-1.dll'

# Names of this library.
library_names='libXrender.dll.a'

# The name of the static archive.
old_library='libXrender.a'

# Libraries that this one depends upon.
dependency_libs=' -L/usr/X11R6/lib -lX11'

# Version information for libXrender.
current=3
age=2
revision=2

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/X11R6/lib'


Gerrit
--
=^..^=


Re: gnome-session build fails

2005-05-23 Thread jose isaias cabrera

Thanks man.  As we say in Spanish, muchas gracias!  Added the file and
it worked.

Thanks!

jic

On 23:40 Mon 23 May , Gerrit P. Haase wrote:
 jose isaias cabrera wrote:
 
 Ago,
 
 Ok, I agree, but somehow, libtool is not figuring itself out.  However,
 is that dynamic link ok?
 
 
 yes gcc (or ld) would work fine. I don't know why libtool does not.
 
 
 Any options that I can do to libtool to make it work?
 
 Create the file libXrender.la.
 Just copy another .la file and edit to fit for libXrender.
 
 Or take this:
 # libXrender.la - a libtool library file
 # Generated by ltmain.sh - GNU libtool 1.5 (1.1220 2003/04/05 19:32:58)
 #
 # Please DO NOT delete this file!
 # It is necessary for linking the library.
 
 # The name that we can dlopen(3).
 dlname='../bin/cygXrender-1.dll'
 
 # Names of this library.
 library_names='libXrender.dll.a'
 
 # The name of the static archive.
 old_library='libXrender.a'
 
 # Libraries that this one depends upon.
 dependency_libs=' -L/usr/X11R6/lib -lX11'
 
 # Version information for libXrender.
 current=3
 age=2
 revision=2
 
 # Is this an already installed library?
 installed=yes
 
 # Should we warn about portability when linking against -modules?
 shouldnotlink=no
 
 # Files to dlopen/dlpreopen
 dlopen=''
 dlpreopen=''
 
 # Directory that this library needs to be installed in:
 libdir='/usr/X11R6/lib'
 
 
 Gerrit
 -- 
 =^..^=