CTKArch · Forums
![]() |
|
---|---|
![]() ![]() New member
Posts: 20
Registered: 2011-04-08 |
I removed fbpanel(I don't know what I was thinking) and quickly realized my mistake and tried to re-install it.
PHP Code: sudo packer -S fbpanel-svn
but the build failed. PHP Code: /usr/bin/ld: bg.o: undefined reference to symbol 'XChangeGC'
/usr/bin/ld: note: 'XChangeGC' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line /usr/lib/libX11.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[1]: *** [fbpanel] Error 1 make[1]: Leaving directory `/tmp/packerbuild-0/fbpanel-svn/fbpanel-svn/src/fbpanel-trunk-build/panel' make: *** [panel] Error 2 ==> ERROR: A failure occurred in build(). Aborting... The build failed. Is there a PKGBUILD edit that will fix this? parted /dev/sda set 1 boot on |
![]() |
|
---|---|
![]() ![]() Administrator
Posts: 551
Registered: 2011-01-20 ![]() |
Sure. sprunge.us/DaaR
|
![]() |
|
---|---|
![]() ![]() New member
Posts: 20
Registered: 2011-04-08 |
Thanks Calimero, but it still failed. Maybe I'm doing it wrong. I start the installation then edit /tmp/packertmp-0/bpanel-svn.PKGBUILD and /tmp/packerbuild-0/fbpanel-svn/fbpanel-svn/PKGBUILD in leafpad as root, then proceed without editing in the terminal window.
PHP Code: [chris@ctkarch ~]$ sudo packer -S fbpanel-svn Aur Targets (1): fbpanel-svn Proceed with installation? [Y/n] Edit fbpanel-svn PKGBUILD with $EDITOR? [Y/n] parted /dev/sda set 1 boot on |
![]() |
|
---|---|
![]() ![]() Administrator
Posts: 551
Registered: 2011-01-20 ![]() |
Please use the PKGBUILD properly. Which notably means not with yaourt, what were you thinking?
Here are the steps to build an Arch Linux package. Create an empty directory and go there. mkdir fbpanel cd fbpanel Download there the PKGBUILD I gave you. curl -s sprunge.us/DaaR > PKGBUILD Run makepkg. makepkg -si |
![]() |
|
---|---|
![]() ![]() New member
Posts: 20
Registered: 2011-04-08 |
I follwed your instructions to the letter.
PHP Code: mkdir fbpanel
cd fbpanel curl -s sprunge.us/DaaR > PKGBUILD makepkg -si and the end result is still PHP Code: /usr/bin/ld: bg.o: undefined reference to symbol 'XChangeGC'
/usr/bin/ld: note: 'XChangeGC' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line /usr/lib/libX11.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[1]: *** [fbpanel] Error 1 make[1]: Leaving directory `/home/chris/fbpanel/src/trunk/panel' make: *** [panel] Error 2 ==> ERROR: A failure occurred in build(). Aborting... There is a similar thread here where Reki modifies the PKGBUILD for fbpanel-dwm. I added PHP Code: export LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -lX11"
to your PKGBUILD and was able to successfully install fbpanel parted /dev/sda set 1 boot on |
Last edited by: bootflag on Jan 29, 2012 8:03:54 pm
|