[X2Go-Dev] Bug#143: Bug#143: nx-libs installs into wrong location

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Fri Mar 22 23:38:36 CET 2013


tag #143 pending
thanks

Hi Jan,

On Do 07 Mär 2013 20:14:44 CET Jan Engelhardt wrote:

>
> On Thursday 2013-03-07 19:12, Mike Gabriel wrote:
>>> make install \
>>>       INSTALL_DIR="install -dm0755" \
>>>       INSTALL_FILE="install -pm0644" \
>>>       INSTALL_PROGRAM="install -pm0755" \
>>>       DESTDIR="/var/tmp/whatever" PREFIX="/usr" \
>>>       NXLIBDIR="/usr/lib64/nx" X2GOLIBDIR="/usr/lib/x2go"
>>>
>>> And at the end of the day, rpm notices the following broken link:
>>>
>>> [  126s] ERROR: link target doesn't exist (neither in build root nor in
>>> installed sys...
>>> [  126s]   /usr/lib/x2go/bin/x2goagent -> /usr/lib/nx/bin/nxagent
>>>
>>> This is because the top-level Makefile does a rather dumb command:
>>>
>>>       cd $(DESTDIR)$(X2GOLIBDIR)/bin/ && ln -sf ../../nx/bin/nxagent
>>> x2goagent
>>>
>>> so it creates a pointer to a non-existing target.
>>
>> Thanks for submitting this bug. Any chance you can provide a patch?
>
> This is getting above my head. I already had to endure the silent
> introduction of the NXLIBDIR variable..
> (it's really not fun if suddenly the entire filelist in .spec or  
> whatever else
> is worthless because USRLIBDIR and SHLIBDIR are no longer used)
>

The issue should be solved by this commit:
http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=f81df1a69982fb3c4cfe13248dec1b8bc3fb66af

Thanks for reporting!
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20130322/b9bf34b0/attachment.pgp>


More information about the x2go-dev mailing list