You are not logged in.

#1 2014-10-12 15:08:10

Commander
Member
Registered: 2011-02-12
Posts: 43

lib32-glxosd and lib32-dep help

So I'm trying to get glxosd working on 32bit applications, and obviously to make it work I need lib32-glxosd. Looking through it seems that some dependencies are missing. I'm quite novus on PKGBUILDs so please forgive if I got some stupid questions.

Package in question: https://github.com/nickguletskii/GLXOSD

Work-progress has been to more or less to use x86 PKGBUILDs from Arch repo and modify.

Packages so far:

  • lib32-libxnvctrl (for gpu readings)
    PKGBUILD: http://codepad.org/ibTquP3B
    - How should i deal with /usr/include with multiarch?
    - Am I missing something else?
    -

  • lib32-lm_sensors (system readings)
    PKGBUILD: ?
    - How about it's dependencies? (lib32-perl, lib32-sysfsutils, lib32-rrdtool?)
    - This one was a bit more difficult, Added -m32 exports and LIBDIR=/usr/lib32 but it throws few errors. http://codepad.org/ErNJGOqo

Seems that to satisfy this  there gonna be allot of dependencies to fix, maybe some other way?

Last edited by Commander (2014-10-12 15:14:34)

Offline

#2 2014-10-12 21:17:57

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: lib32-glxosd and lib32-dep help

Commander wrote:

So I'm trying to get glxosd working on 32bit applications, and obviously to make it work I need lib32-glxosd. Looking through it seems that some dependencies are missing. I'm quite novus on PKGBUILDs so please forgive if I got some stupid questions.

Package in question: https://github.com/nickguletskii/GLXOSD

Work-progress has been to more or less to use x86 PKGBUILDs from Arch repo and modify.

Packages so far:

  • lib32-libxnvctrl (for gpu readings)
    PKGBUILD: http://codepad.org/ibTquP3B
    - How should i deal with /usr/include with multiarch?
    - Am I missing something else?
    -

Don't put the headers in the multilib package. Instead add a depends on libxnvctrl.

  • lib32-lm_sensors (system readings)
    PKGBUILD: ?
    - How about it's dependencies? (lib32-perl, lib32-sysfsutils, lib32-rrdtool?)
    - This one was a bit more difficult, Added -m32 exports and LIBDIR=/usr/lib32 but it throws few errors. http://codepad.org/ErNJGOqo

Seems that to satisfy this  there gonna be allot of dependencies to fix, maybe some other way?

You don't need the lib32-perl, lib32-sysfsutils, lib32-rrdtool dependencies. At least, the libsensors.so.4 library in the 64-bit package doesn't link to them. They could be makedepends though.  For the error, clean the build directory (rm -r src) and try again.

Offline

#3 2014-10-12 21:25:29

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: lib32-glxosd and lib32-dep help

And you need to add gcc-multilib as a makedepends in both PKGBUILD.

Offline

Board footer

Powered by FluxBB