Re: [E-devel] Patches for entrance on x86_64

2005-05-31 Thread Didier Casse
On 5/31/05, John Ellson [EMAIL PROTECTED] wrote:
 Corey Donohoe wrote:
 
 I guess I sorta see why this was working for me, I'm on gentoo not fedora.
 
 nemesis% ls -l /usr/X11R6/ | grep lib
 lrwxrwxrwx1 rootroot5 Mar 29 14:49 lib - lib64
 drwxr-xr-x7 rootroot 4096 May  7 02:44 lib32
 drwxr-xr-x   83 rootroot49152 May 30 13:22 lib64
 drwxr-xr-x6 rootroot 4096 May 14 09:30 libexec
 
 Didier's patches for the daemon/Makefile.am work for you too John ?
 
 
 Sorry for the confusion - the patches came from me originally.
 

Yeah the patches are John Ellson's patches. ;-) I'm sorry if i didn't
make that clear.


-- 
-- 
With kind regards,
Didier.


Yum/apt repository for DR17/EFL: http://sps.nus.edu.sg/~didierbe

Didier F.B Casse
PhD candidate, Singapore Synchrotron Light Source (SSLS)
National University of Singapore.


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Patches for entrance on x86_64

2005-05-30 Thread Didier Casse
Dear Developers,
Please take a look at the patches and possibly
commit them. Thanks

cheers,
Didier.

-- Forwarded message --
From: John Ellson [EMAIL PROTECTED]
Date: May 30, 2005 9:40 PM
Subject: Re: Request for review: Enlightenment DR17 + EFL
To: Didier Casse [EMAIL PROTECTED]
Cc: Discussion related to Fedora Extras [EMAIL PROTECTED]


Didier Casse wrote:

On 5/30/05, John Ellson [EMAIL PROTECTED] wrote:


Didier Casse wrote:



Hi all,
I would like to have a review on the  Enlightenment DR17 package
+ the accompanying Enlightenment Foundation Library packages (EFL).




Entrance fails to find -lX11 on x86_64.Should be -L/usr/X11R6/lib64
I think the problem is that @X_LIBS@  is not being used from
AC_PATH_XTRA in configure.in

/usr/bin/gcc  -g -O2 -Wall   -o entranced  auth.o ipc.o md5.o spawner.o
util.o -L/usr/X11R6/lib -lX11 -lXext -lXau -L/usr/lib64 -lecore
-lecore_job -lecore_x -lecore_evas -lecore_con -lecore_ipc -lecore_txt
-lecore_fb -lecore_config -lecore_file -L/usr/lib64 -leet -lz -ljpeg -lm
-L/usr/lib64 -ledb -lz -lpam -lcrypt
/usr/bin/ld: cannot find -lX11



--x-libraries={_prefix}/X11R6/{_lib} should be able to fix this. ;-)



No, that didn't work.

I think the following two changes are needed:


--- configure.in.old2005-05-07 02:01:12.0 -0400
+++ configure.in2005-05-30 09:25:36.0 -0400
@@ -199,10 +199,7 @@
 AC_DEFINE_UNQUOTED(ENTRANCE_XSESSION, $xsession, [Xsession script])
 AC_SUBST(xsession)

-x_cflags=-I/usr/X11R6/include
-x_libs=-L/usr/X11R6/lib -lX11 -lXext
-AC_SUBST(x_cflags)
-AC_SUBST(x_libs)
+AC_PATH_XTRA

 EDJE_DEF=
 AC_SUBST(EDJE_DEF)


--- src/daemon/Makefile.am.old  2005-05-30 09:26:39.0 -0400
+++ src/daemon/Makefile.am  2005-05-30 09:20:37.0 -0400
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in

-INCLUDES = @x_cflags@ @ecore_cflags@ @edb_cflags@
+INCLUDES = @X_CFLAGS@ @ecore_cflags@ @edb_cflags@

 sbin_PROGRAMS = entranced
 bin_SCRIPTS = entrance_wrapper
@@ -8,4 +8,4 @@
 entranced_SOURCES = \
auth.c auth.h Entranced.h ipc.c ipc.h md5.c md5.h spawner.c
util.c util.h

-entranced_LDADD = @x_libs@ -lXau @ecore_libs@ @edb_libs@
+entranced_LDADD = @X_LIBS@ -lX11 -lXext -lXau @ecore_libs@ @edb_libs@


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Patches for entrance on x86_64

2005-05-30 Thread Corey Donohoe
The below patches aren't needed, entrance builds fine on x86_64 and has for
some time.  If the defaults don't work for you, look into exporting your
CFLAGS and LDFLAGS environmental variables so these sort of things get
picked up.

* Didier Casse ([EMAIL PROTECTED]) wrote:
 Dear Developers,
 Please take a look at the patches and possibly
 commit them. Thanks
 
 cheers,
 Didier.
 
 No, that didn't work.
 
 I think the following two changes are needed:
 
 
 --- configure.in.old2005-05-07 02:01:12.0 -0400
 +++ configure.in2005-05-30 09:25:36.0 -0400
 @@ -199,10 +199,7 @@
  AC_DEFINE_UNQUOTED(ENTRANCE_XSESSION, $xsession, [Xsession script])
  AC_SUBST(xsession)
 
 -x_cflags=-I/usr/X11R6/include
 -x_libs=-L/usr/X11R6/lib -lX11 -lXext
 -AC_SUBST(x_cflags)
 -AC_SUBST(x_libs)
 +AC_PATH_XTRA
 
  EDJE_DEF=
  AC_SUBST(EDJE_DEF)
 
 
 --- src/daemon/Makefile.am.old  2005-05-30 09:26:39.0 -0400
 +++ src/daemon/Makefile.am  2005-05-30 09:20:37.0 -0400
 @@ -1,6 +1,6 @@
  ## Process this file with automake to produce Makefile.in
 
 -INCLUDES = @x_cflags@ @ecore_cflags@ @edb_cflags@
 +INCLUDES = @X_CFLAGS@ @ecore_cflags@ @edb_cflags@
 
  sbin_PROGRAMS = entranced
  bin_SCRIPTS = entrance_wrapper
 @@ -8,4 +8,4 @@
  entranced_SOURCES = \
 auth.c auth.h Entranced.h ipc.c ipc.h md5.c md5.h spawner.c
 util.c util.h
 
 -entranced_LDADD = @x_libs@ -lXau @ecore_libs@ @edb_libs@
 +entranced_LDADD = @X_LIBS@ -lX11 -lXext -lXau @ecore_libs@ @edb_libs@
 
 
__ 
Corey Donohoe
http://www.atmos.org


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Patches for entrance on x86_64

2005-05-30 Thread Michael Jennings
On Monday, 30 May 2005, at 13:11:37 (-0400),
Corey Donohoe wrote:

 The below patches aren't needed, entrance builds fine on x86_64 and
 has for some time.  If the defaults don't work for you, look into
 exporting your CFLAGS and LDFLAGS environmental variables so these
 sort of things get picked up.

Actually, the patches ARE needed.  Entrance fails to build properly in
numerous situations and has proven to be such a cluster-fuck of a
build that I've given up on it multiple times.

You really should take these patches; they are behaviorially correct.
And far better than what you have now.  (You'll note this same bit of
code has changed in other packages too, and for much the same reason.)

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  [EMAIL PROTECTED]
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 Greater than the death of flesh is the death of hope, the death of
  dreams.  Against this peril we can never surrender.
   -- G'Kar, Babylon 5


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Patches for entrance on x86_64

2005-05-30 Thread John Ellson

Corey Donohoe wrote:


The below patches aren't needed, entrance builds fine on x86_64 and has for
some time.  If the defaults don't work for you, look into exporting your
CFLAGS and LDFLAGS environmental variables so these sort of things get
picked up.
 



This came up in the discussion of building from src.rpm.  I have no 
CFLAGS or LDFLAGS
in my environment, the build gets only those set from the .spec, 
configure, or Makefiles in the src.rpm.


I can assure you that the changes are needed.  The hardcoded 
-L/usr/X11R6/lib

in configure.in is clearly wrong for x86_64 Fedora-devel.

Perhaps you have actually been building a 32 bit version of entrance?

John


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: Re: [E-devel] Patches for entrance on x86_64

2005-05-30 Thread Corey Donohoe
I guess I sorta see why this was working for me, I'm on gentoo not fedora.

nemesis% ls -l /usr/X11R6/ | grep lib
lrwxrwxrwx1 rootroot5 Mar 29 14:49 lib - lib64
drwxr-xr-x7 rootroot 4096 May  7 02:44 lib32
drwxr-xr-x   83 rootroot49152 May 30 13:22 lib64
drwxr-xr-x6 rootroot 4096 May 14 09:30 libexec

Didier's patches for the daemon/Makefile.am work for you too John ?

* John Ellson ([EMAIL PROTECTED]) wrote:
 Corey Donohoe wrote:
 
 The below patches aren't needed, entrance builds fine on x86_64 and has for
 some time.  If the defaults don't work for you, look into exporting your
 CFLAGS and LDFLAGS environmental variables so these sort of things get
 picked up.
  
 
 
 This came up in the discussion of building from src.rpm.  I have no 
 CFLAGS or LDFLAGS
 in my environment, the build gets only those set from the .spec, 
 configure, or Makefiles in the src.rpm.
 
 I can assure you that the changes are needed.  The hardcoded 
 -L/usr/X11R6/lib
 in configure.in is clearly wrong for x86_64 Fedora-devel.
 
 Perhaps you have actually been building a 32 bit version of entrance?
 
 John
 
 
__ 
Corey Donohoe
http://www.atmos.org


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: Re: [E-devel] Patches for entrance on x86_64

2005-05-30 Thread Corey Donohoe
* Michael Jennings ([EMAIL PROTECTED]) wrote:
 On Monday, 30 May 2005, at 13:11:37 (-0400),
 Corey Donohoe wrote:
 
  The below patches aren't needed, entrance builds fine on x86_64 and
  has for some time.  If the defaults don't work for you, look into
  exporting your CFLAGS and LDFLAGS environmental variables so these
  sort of things get picked up.
 
 Actually, the patches ARE needed.  Entrance fails to build properly in
 numerous situations and has proven to be such a cluster-fuck of a
 build that I've given up on it multiple times.
 
I don't ever build rpms/debs etc, just build it and throw it in /usr/local
No arguments about the cleanliness of the auto* stuff though.  :)

 You really should take these patches; they are behaviorially correct.
 And far better than what you have now.  (You'll note this same bit of
 code has changed in other packages too, and for much the same reason.)
will do
 
__ 
Corey Donohoe
http://www.atmos.org


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Patches for entrance on x86_64

2005-05-30 Thread John Ellson

Corey Donohoe wrote:


I guess I sorta see why this was working for me, I'm on gentoo not fedora.

nemesis% ls -l /usr/X11R6/ | grep lib
lrwxrwxrwx1 rootroot5 Mar 29 14:49 lib - lib64
drwxr-xr-x7 rootroot 4096 May  7 02:44 lib32
drwxr-xr-x   83 rootroot49152 May 30 13:22 lib64
drwxr-xr-x6 rootroot 4096 May 14 09:30 libexec

Didier's patches for the daemon/Makefile.am work for you too John ?
 


Sorry for the confusion - the patches came from me originally.

On Fedora there is no softlink  lib - lib64.Both 32bit and 64 bit 
applications

coexist on the system.

John


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: Re: [E-devel] Patches for entrance on x86_64

2005-05-30 Thread Corey Donohoe
patches are in, thx.

* John Ellson ([EMAIL PROTECTED]) wrote:
 Corey Donohoe wrote:
 
 I guess I sorta see why this was working for me, I'm on gentoo not fedora.
 
 nemesis% ls -l /usr/X11R6/ | grep lib
 lrwxrwxrwx1 rootroot5 Mar 29 14:49 lib - lib64
 drwxr-xr-x7 rootroot 4096 May  7 02:44 lib32
 drwxr-xr-x   83 rootroot49152 May 30 13:22 lib64
 drwxr-xr-x6 rootroot 4096 May 14 09:30 libexec
 
 Didier's patches for the daemon/Makefile.am work for you too John ?
  
 
 Sorry for the confusion - the patches came from me originally.
 
 On Fedora there is no softlink  lib - lib64.Both 32bit and 64 bit 
 applications
 coexist on the system.
 
 John
__ 
Corey Donohoe
http://www.atmos.org


---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel