CTKArch · Forums
You are not logged in. Please Register or Login.  |  Search
Posted: Jan 19, 2012 11:28:06 pm
bootflag
icon



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
Posted: Jan 19, 2012 11:30:31 pm
Calimero
icon



Posted: Jan 19, 2012 11:50:10 pm
bootflag
icon



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
Posted: Jan 29, 2012 3:53:48 pm
Calimero
icon



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
Posted: Jan 29, 2012 7:22:49 pm
bootflag
icon



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
Powered by myUPB v2.2.7  ·   Creative Commons License PHP Outburst