Using the following...
cat >"my_configure" <<-EOF
#!/bin/sh -e
%configure --disable-static
EOF
chmod a+x my_configure;
make
CONFIGURE=/home/abuild/rpmbuild/BUILD/nx-libs-3.5.0.17/my_configure
PREFIX=/usr/PFX PROJECTROOT=/usr/PRJ INCLUDEDIR=/usr/include/nx
USRLIBDIR=/usr/lib64/nx SHLIBDIR=/usr/lib64/nx
(plus subsequent install with the same parameters) leads to some questionable results:
Why do I get two Xcomp shared libraries (Xcomp.so.1 and Xcomp.so.3) that are equal anyway?
/usr/PFX/lib/nx/X11/libXcomp.so /usr/PFX/lib/nx/X11/libXcomp.so.1 /usr/lib64/nx/libXcomp.a /usr/lib64/nx/libXcomp.so /usr/lib64/nx/libXcomp.so.3 /usr/lib64/nx/libXcomp.so.3.5.0 -rw-r--r-- 1 abuild abuild 1200469 Jan 6 18:25 ./usr/PFX/lib/nx/X11/libXcomp.so lrwxrwxrwx 1 abuild abuild 11 Jan 6 18:25 ./usr/PFX/lib/nx/X11/libXcomp.so.1 -> libXcomp.so lrwxrwxrwx 1 abuild abuild 17 Jan 6 18:20 ./usr/lib64/nx/libXcomp.so -> libXcomp.so.3.5.0 lrwxrwxrwx 1 abuild abuild 17 Jan 6 18:20 ./usr/lib64/nx/libXcomp.so.3 -> libXcomp.so.3.5.0 -rw-r--r-- 1 abuild abuild 1200469 Jan 6 18:25 ./usr/lib64/nx/libXcomp.so.3.5.0
There are three nxproxy instances rather than two:
/usr/PFX/bin/nxproxy /usr/PFX/lib/nx/bin/nxproxy /usr/bin/nxproxy -rwxr-xr-x 1 abuild abuild 1158 Jan 4 12:25 ./usr/PFX/bin/nxproxy -rwxr-xr-x 1 abuild abuild 8753 Jan 6 18:25 ./usr/PFX/lib/nx/bin/nxproxy -rwxr-xr-x 1 abuild abuild 8753 Jan 6 18:25 ./usr/bin/nxproxy
Something got really messed up here lately.
Hi Jan
On So 06 Jan 2013 19:30:15 CET Jan Engelhardt wrote:
Why do I get two Xcomp shared libraries (Xcomp.so.1 and Xcomp.so.3) that are equal anyway?
/usr/PFX/lib/nx/X11/libXcomp.so /usr/PFX/lib/nx/X11/libXcomp.so.1 /usr/lib64/nx/libXcomp.a /usr/lib64/nx/libXcomp.so /usr/lib64/nx/libXcomp.so.3 /usr/lib64/nx/libXcomp.so.3.5.0 -rw-r--r-- 1 abuild abuild 1200469 Jan 6 18:25
./usr/PFX/lib/nx/X11/libXcomp.so lrwxrwxrwx 1 abuild abuild 11 Jan 6 18:25
./usr/PFX/lib/nx/X11/libXcomp.so.1 -> libXcomp.so lrwxrwxrwx 1 abuild abuild 17 Jan 6 18:20
./usr/lib64/nx/libXcomp.so -> libXcomp.so.3.5.0 lrwxrwxrwx 1 abuild abuild 17 Jan 6 18:20
./usr/lib64/nx/libXcomp.so.3 -> libXcomp.so.3.5.0 -rw-r--r-- 1 abuild abuild 1200469 Jan 6 18:25
./usr/lib64/nx/libXcomp.so.3.5.0
This looks interesting. Seems like the libXcomp.so.1 file gets created
somewhere during the nx-X11 build. I will check on that. Not sure how
to solve this atm.
There are three nxproxy instances rather than two:
/usr/PFX/bin/nxproxy /usr/PFX/lib/nx/bin/nxproxy /usr/bin/nxproxy -rwxr-xr-x 1 abuild abuild 1158 Jan 4 12:25 ./usr/PFX/bin/nxproxy -rwxr-xr-x 1 abuild abuild 8753 Jan 6 18:25 ./usr/PFX/lib/nx/bin/nxproxy -rwxr-xr-x 1 abuild abuild 8753 Jan 6 18:25 ./usr/bin/nxproxy
This got fixed in Git a second ago. Thanks for spotting it. http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=b121300fde0496d06ce...
Mike
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
On 01/07/2013 02:46 AM, Mike Gabriel wrote:
Hi Jan
On So 06 Jan 2013 19:30:15 CET Jan Engelhardt wrote:
Why do I get two Xcomp shared libraries (Xcomp.so.1 and Xcomp.so.3) that are equal anyway?
/usr/PFX/lib/nx/X11/libXcomp.so /usr/PFX/lib/nx/X11/libXcomp.so.1 /usr/lib64/nx/libXcomp.a /usr/lib64/nx/libXcomp.so /usr/lib64/nx/libXcomp.so.3 /usr/lib64/nx/libXcomp.so.3.5.0 -rw-r--r-- 1 abuild abuild 1200469 Jan 6 18:25 ./usr/PFX/lib/nx/X11/libXcomp.so lrwxrwxrwx 1 abuild abuild 11 Jan 6 18:25 ./usr/PFX/lib/nx/X11/libXcomp.so.1 -> libXcomp.so lrwxrwxrwx 1 abuild abuild 17 Jan 6 18:20 ./usr/lib64/nx/libXcomp.so -> libXcomp.so.3.5.0 lrwxrwxrwx 1 abuild abuild 17 Jan 6 18:20 ./usr/lib64/nx/libXcomp.so.3 -> libXcomp.so.3.5.0 -rw-r--r-- 1 abuild abuild 1200469 Jan 6 18:25 ./usr/lib64/nx/libXcomp.so.3.5.0
This looks interesting. Seems like the libXcomp.so.1 file gets created somewhere during the nx-X11 build. I will check on that. Not sure how to solve this atm.
Seems to be in ./nx-X11/lib/X11/Imakefile:
$(NX_XCOMPDEPTARGET): ln -s $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME) $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME) ln -s $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME).1 $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME).1
clean:: rm -f $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME) rm -f $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME).1
-- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder Office FAX: 303-415-9702 3380 Mitchell Lane orion@nwra.com Boulder, CO 80301 http://www.nwra.com
On 01/15/2013 03:13 PM, Orion Poplawski wrote:
On 01/07/2013 02:46 AM, Mike Gabriel wrote:
Hi Jan
On So 06 Jan 2013 19:30:15 CET Jan Engelhardt wrote:
Why do I get two Xcomp shared libraries (Xcomp.so.1 and Xcomp.so.3) that are equal anyway?
/usr/PFX/lib/nx/X11/libXcomp.so /usr/PFX/lib/nx/X11/libXcomp.so.1 /usr/lib64/nx/libXcomp.a /usr/lib64/nx/libXcomp.so /usr/lib64/nx/libXcomp.so.3 /usr/lib64/nx/libXcomp.so.3.5.0 -rw-r--r-- 1 abuild abuild 1200469 Jan 6 18:25 ./usr/PFX/lib/nx/X11/libXcomp.so lrwxrwxrwx 1 abuild abuild 11 Jan 6 18:25 ./usr/PFX/lib/nx/X11/libXcomp.so.1 -> libXcomp.so lrwxrwxrwx 1 abuild abuild 17 Jan 6 18:20 ./usr/lib64/nx/libXcomp.so -> libXcomp.so.3.5.0 lrwxrwxrwx 1 abuild abuild 17 Jan 6 18:20 ./usr/lib64/nx/libXcomp.so.3 -> libXcomp.so.3.5.0 -rw-r--r-- 1 abuild abuild 1200469 Jan 6 18:25 ./usr/lib64/nx/libXcomp.so.3.5.0
This looks interesting. Seems like the libXcomp.so.1 file gets created somewhere during the nx-X11 build. I will check on that. Not sure how to solve this atm.
Seems to be in ./nx-X11/lib/X11/Imakefile:
$(NX_XCOMPDEPTARGET): ln -s $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME) $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME) ln -s $(NX_XCOMPLIBDIR)/$(NX_XCOMPLIBNAME).1 $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME).1
clean:: rm -f $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME) rm -f $(BUILDLIBDIR)/$(NX_XCOMPLIBNAME).1
The attached seems to work for me.
-- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder Office FAX: 303-415-9702 3380 Mitchell Lane orion@nwra.com Boulder, CO 80301 http://www.nwra.com
Hi Jan,
just realized, that I lacked some explanations...
On So 06 Jan 2013 19:30:15 CET Jan Engelhardt wrote:
There are three nxproxy instances rather than two:
/usr/PFX/bin/nxproxy
This is the nxproxy wrapper script as shipped in <source>/bin/nxproxy.
/usr/PFX/lib/nx/bin/nxproxy
This is the nxproxy binary installed via <source>/nxproxy/Makefile.
/usr/bin/nxproxy
This third nxproxy was created/copied by the main Makefile (the lines
for it have just been removed from that Makefile).
-rwxr-xr-x 1 abuild abuild 1158 Jan 4 12:25 ./usr/PFX/bin/nxproxy -rwxr-xr-x 1 abuild abuild 8753 Jan 6 18:25 ./usr/PFX/lib/nx/bin/nxproxy -rwxr-xr-x 1 abuild abuild 8753 Jan 6 18:25 ./usr/bin/nxproxy
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, rothenstein 5, 24214 neudorf-bornstein fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31 mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...