Hi Oliver,

On So 29 Jan 2012 11:38:24 CET Oliver Burger wrote:

2012/1/28 Mike Gabriel <[email protected]>:
Took a closer look now: each x2goserver Makefile that puts some stuff to
/usr/lib/x2go has a line

 LIBDIR=$(PREFIX)/lib/x2go

You can simply override this var by calling something like this:

 $ make PREFIX=/usr LIBDIR=/some/path/lib64 build

Is it that what you need?
The Makefiles do provide that, but it will break x2goserver, since the
include paths in the files are hardcoded.
E.g.
"use lib `echo -n \$(x2gobasepath)/lib/x2go`;"
in x2godbadmin.
I don't know perl, but the eror message I get, lets me think, that as
it is done in python, there are special paths defined for site
packages:
"Can't locate x2gologlevel.pm in @INC (@INC contains: /usr/lib/x2go
/usr/lib/perl5/site_perl/5.14.2/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.14.2
/usr/lib/perl5/vendor_perl/5.14.2/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.14.2
/usr/lib/perl5/5.14.2/x86_64-linux-thread-multi /usr/lib/perl5/5.14.2
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.14.1
/usr/lib/perl5/vendor_perl/5.14.1/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.14.0
/usr/lib/perl5/vendor_perl/5.14.0/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.12.3 /usr/lib/perl5/vendor_perl/5.12.2
/usr/lib/perl5/vendor_perl .) at /usr/sbin/x2godbadmin line 30."

So wouldn't it be best to have those "library" files located in a
"perl site package" path?
Of course I can have those files installed in /usr/lib/ as well or I
can use some sed magic in the spec file, correcting those paths. But
that would be a rather ugly workarround.

Now I get what your point is. This has to be addressed in our upstream code. Not exactly sure how, though. I will discuss that with Alex on Jabber the coming week.

Thanks!!!
Mike



--

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0xB588399B
mail: [email protected], http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

Attachment: pgpibmaDOaIcv.pgp
Description: Digitale PGP-Unterschrift

_______________________________________________
X2Go-Dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to