You are not logged in.
Could someone please make a 32 bit library for glew on AUR? It should be easy, although I don't really know how to compile 32-bit libraries for an x86_64 machine (or I'd do it myself!) I need a lib32-glew to run the pcsx2 linux port, which has recently dropped its 64-bit support. I have all plugins working except for the video plugin which appears to require it.
On a side note, neither pcsx2 packages in AUR are working; one is very old and the source appears to have been deleted, and the pcsx2-svn seems to crash after the configure screen But I don't mind running the 32-bit binaries if I could get lib32-glew somehow!
glew is a C/C++ open gl loading library, by the way. I figure it would just be useful to have around in general (the lib32 version, I mean, since glew itself is readily available in extra)
Thanks.
Last edited by thorjelly (2009-03-12 00:17:34)
Offline
It should be easy, although I don't really know how to compile 32-bit libraries for an x86_64 machine (or I'd do it myself!)
No compiling is required. All you need to do in the PKGBUILD is to copy the libs from glew-1.5.1-1-i686.pkg.tar.gz to $pkgdir/opt/lib32/usr/lib.
You can just look up lib32 PKGBUILDs online, via abs, etc. They should all be basically identical. I can make the PKGBUILD tomorrow or this weekend if you or anyone else haven't done it yet.
Offline
*** Do as tdy suggests and no what I wrote here before ***
Offline
You don't need to copy anything. In fact, I highly recommend that you don't. Wait until someone produces a PKGBUILD.
I'm not sure I understand your point. I think you misread my post because using a PKGBUILD is exactly what I suggested.
Offline
skottish wrote:You don't need to copy anything. In fact, I highly recommend that you don't. Wait until someone produces a PKGBUILD.
I'm not sure I understand your point. I think you misread my post because using a PKGBUILD is exactly what I suggested.
Whoops. Sorry about that. I should stop posting until after I get some sleep.
Offline
Whoops. Sorry about that. I should stop posting until after I get some sleep.
ah no problem.. work has been frying my mind lately, so I kept re-reading our posts thinking I had missed something obvious.
Last edited by tdy (2009-03-12 04:57:30)
Offline
thorjelly wrote:It should be easy, although I don't really know how to compile 32-bit libraries for an x86_64 machine (or I'd do it myself!)
No compiling is required. All you need to do in the PKGBUILD is to copy the libs from glew-1.5.1-1-i686.pkg.tar.gz to $pkgdir/opt/lib32/usr/lib.
You can just look up lib32 PKGBUILDs online, via abs, etc. They should all be basically identical. I can make the PKGBUILD tomorrow or this weekend if you or anyone else haven't done it yet.
Could you please? I'm still a little lost, heh. I don't know much about this stuff. Thank you for helping me out.
Offline
I can't promise anything. I have no legitimate way to test this and I wrote it without any 32 bit libraries being installed. Good luck and may the force be with you:
PKGBUILD
_pkgsourcename=glew
pkgname=lib32-$_pkgsourcename
pkgver=1.5.1
pkgrel=1
arch=('x86_64')
groups=('lib32')
pkgdesc="A cross-platform C/C++ extension loading library"
url="http://glew.sourceforge.net"
license=('BSD' 'MIT' 'GPL')
depends=('lib32-libxmu' 'lib32-libxi' 'lib32-mesa')
source=(http://mirrors.easynews.com/linux/archlinux/extra/os/i686/$_pkgsourcename-$pkgver-$pkgrel-i686.pkg.tar.gz)
md5sums=('b739e1860fc8627f7d0f9abb8d06d3c7')
build() {
cd $startdir/src
mkdir -p $startdir/pkg/opt/lib32/usr/{bin,include,lib,share}
cp -dpR $startdir/src/usr $startdir/pkg/opt/lib32
}
Offline
Thanks! Works great! I also needed a lib32-nvidia-cg-toolkit package, but from your example I figured out how to make it on my own I have one more problem, which I will post in my previous thread on the Arch64 forum because it is probably more appropriate there.
Offline
For reference, this was the lib32-nvidia-cg-toolkit custom package file I made:
_pkgsourcename=nvidia-cg-toolkit
pkgname=lib32-$_pkgsourcename
pkgver=2.1.0017
pkgrel=1
pkgdesc="nVidia Cg libraries"
arch=('x86_64')
url="http://developer.nvidia.com/object/cg_toolkit.html"
license=('custom')
depends=('lib32-glibc')
conflicts=('cgcompiler') # replaces cgcompiler
source=(http://developer.download.nvidia.com/cg/Cg_2.1/2.1.0017/Cg-2.1_February2009_x86.tgz)
md5sums=('8752286743ddd9d5997e698714fcc556'
'4d2071b0ee627e8dabbc754ffe01927c')
build() {
cd $startdir/src
mkdir -p $startdir/pkg/opt/lib32/usr/{bin,include,lib,share}
cp -dpR $startdir/src/usr $startdir/pkg/opt/lib32
}
Offline