[FreeNX-kNX] Script to Download & Compile and rpm the v3.4.0 NX libraries and nxagent for OpenSuse 11.2

chris at ccburton.com chris at ccburton.com
Tue May 11 15:44:39 UTC 2010


olaf <olaf-linux at gmx.de> wrote on 28/04/2010 16:22:56:

> Hi!
> 
> Am Mittwoch, 28. April 2010 16:07:53 schrieb chris at ccburton.com:
> > Buildservice only provides 3.2.0-27, so if you want to go to 3.4.0
> > now, you will need to compile it yourself.
> 
> > I have script which does it all for you if you want.
> 
> Compile only one time, or after every update/upgrade of opensuse/kernel?
> I'm interested in the script (and hope you hold my hand if my 
servercrashs by 
> using it ... ;-)
> 

Olaf

I'll send you the script to your email address as an attachment.

If you aren't at the above address then let me know.

If anyone else wants a copy they are welcome, but I don't think many
people use freenx on opensuse . . . .



You need to compile the source the once,
and then again for each update by nomachine, or when you change
versions of opensuse !!

You need to update the script if nomachine change, because they
don't supply a link to their latest versions.



In addition to compiling the source, the script sets up the wrappers,
prints the SPEC file and makes an rpm, so if you save a copy of the old 
rpm 
you have installed you can uninstall and reinstall as you wish using the
--nodeps switch to ignore the FreeNX dependency.

This will allow you to roll back if anything nasty happens.


You need to supply a sudo password to chown root the files and then run
 rpmbuild as root.

If you don't fancy that then you can do it manually from the script.


This is what I get on x86_64

lrwxrwxrwx      20 /usr/lib64/NX/lib/libXcompext.so.3 -> 
libXcompext.so.3.4.0
lrwxrwxrwx      14 /usr/lib64/NX/lib/libXext.so.6 -> libXext.so.6.4
lrwxrwxrwx      19 /usr/lib64/NX/lib/libXrender.so -> libXrender.so.1.2.2
lrwxrwxrwx      20 /usr/lib64/NX/lib/libXcompext.so -> 
libXcompext.so.3.4.0
-rwxr-xr-x   49074 /usr/lib64/NX/lib/libXrender.so.1.2.2
-rwxr-xr-x   75285 /usr/lib64/NX/lib/libXcompext.so.3.4.0
-rwxr-xr-x 1198063 /usr/lib64/NX/lib/libXcomp.so.3.4.0
lrwxrwxrwx      19 /usr/lib64/NX/lib/libXrender.so.1 -> 
libXrender.so.1.2.2
lrwxrwxrwx      17 /usr/lib64/NX/lib/libXcomp.so -> libXcomp.so.3.4.0
-rwxr-xr-x 1096028 /usr/lib64/NX/lib/libX11.so.6.2
lrwxrwxrwx      17 /usr/lib64/NX/lib/libXcomp.so.3 -> libXcomp.so.3.4.0
lrwxrwxrwx      21 /usr/lib64/NX/lib/libXcompshad.so -> 
libXcompshad.so.3.4.0
-rwxr-xr-x   98131 /usr/lib64/NX/lib/libXext.so.6.4
-rwxr-xr-x   60462 /usr/lib64/NX/lib/libXcompshad.so.3.4.0
lrwxrwxrwx      14 /usr/lib64/NX/lib/libXext.so -> libXext.so.6.4
lrwxrwxrwx      21 /usr/lib64/NX/lib/libXcompshad.so.3 -> 
libXcompshad.so.3.4.0
lrwxrwxrwx      13 /usr/lib64/NX/lib/libX11.so.6 -> libX11.so.6.2
lrwxrwxrwx      13 /usr/lib64/NX/lib/libX11.so -> libX11.so.6.2
-rwxr-xr-x 5268376 /usr/lib64/NX/nxagent
-rwxr-xr-x   36152 /usr/lib64/NX/nxauth
-rwxr-xr-x    6360 /usr/lib64/NX/nxproxy
-rwxr-xr-x     155 /usr/bin/nxagent
lrwxrwxrwx       7 /usr/bin/nxauth -> nxagent
lrwxrwxrwx       7 /usr/bin/nxproxy -> nxagent

and i586


lrwxrwxrwx      14 /usr/lib/NX/lib/libXext.so -> libXext.so.6.4
-rwxr-xr-x   64080 /usr/lib/NX/lib/libXcompext.so.3.4.0
lrwxrwxrwx      21 /usr/lib/NX/lib/libXcompshad.so -> 
libXcompshad.so.3.4.0
lrwxrwxrwx      17 /usr/lib/NX/lib/libXcomp.so.3 -> libXcomp.so.3.4.0
lrwxrwxrwx      13 /usr/lib/NX/lib/libX11.so -> libX11.so.6.2
lrwxrwxrwx      20 /usr/lib/NX/lib/libXcompext.so -> libXcompext.so.3.4.0
-rwxr-xr-x 1030381 /usr/lib/NX/lib/libX11.so.6.2
-rwxr-xr-x 1129673 /usr/lib/NX/lib/libXcomp.so.3.4.0
-rwxr-xr-x   42948 /usr/lib/NX/lib/libXrender.so.1.2.2
lrwxrwxrwx      19 /usr/lib/NX/lib/libXrender.so -> libXrender.so.1.2.2
-rwxr-xr-x   86352 /usr/lib/NX/lib/libXext.so.6.4
lrwxrwxrwx      17 /usr/lib/NX/lib/libXcomp.so -> libXcomp.so.3.4.0
lrwxrwxrwx      13 /usr/lib/NX/lib/libX11.so.6 -> libX11.so.6.2
-rwxr-xr-x   57046 /usr/lib/NX/lib/libXcompshad.so.3.4.0
lrwxrwxrwx      21 /usr/lib/NX/lib/libXcompshad.so.3 -> 
libXcompshad.so.3.4.0
lrwxrwxrwx      14 /usr/lib/NX/lib/libXext.so.6 -> libXext.so.6.4
lrwxrwxrwx      19 /usr/lib/NX/lib/libXrender.so.1 -> libXrender.so.1.2.2
lrwxrwxrwx      20 /usr/lib/NX/lib/libXcompext.so.3 -> 
libXcompext.so.3.4.0
-rwxr-xr-x    5600 /usr/lib/NX/nxproxy
-rwxr-xr-x 4996304 /usr/lib/NX/nxagent
-rwxr-xr-x   34956 /usr/lib/NX/nxauth
-rwxr-xr-x     151 /usr/bin/nxagent
lrwxrwxrwx       7 /usr/bin/nxauth -> nxagent
lrwxrwxrwx       7 /usr/bin/nxproxy -> nxagent


An x86_64 FreeNX rpm should ( normally ) have the paths altered.


I've only got it working on my machines, and haven't passed it to anyone 
else for testing but you
shouldn't have any problems apart from line-wrapping and dependencies.

If you get any errors you can let me know.

The previous version of the NX source needed some tweaking to get it to
compile, but this one comples straight off the web-site on 11.2

CB



> Bye
> Olaf
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
> 
> 
http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
> 
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/ 
> 
> ________________________________________________________________
>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>       https://mail.kde.org/mailman/listinfo/freenx-knx
> ________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20100511/e967570e/attachment.html>


More information about the FreeNX-kNX mailing list