You are not logged in.

#1 2012-04-09 14:52:43

adambot
Member
Registered: 2012-01-24
Posts: 32

Razor-QT fails to compile

Greetings,

With the new version of sawfish out that supports razor-qt, i wanted to give them both a try, however I am having issues getting Razor-QT compile.  Here is the output from my pacman -Q:

acl 2.2.51-1
attr 2.4.46-1
autoconf 2.68-2
automake 1.11.3-1
bash 4.2.024-2
binutils 2.22-5
bison 2.5-3
bzip2 1.0.6-3
ca-certificates 20120212-1
cloog 0.17.0-1
coreutils 8.16-2
cracklib 2.8.18-2
cronie 1.4.8-1
cryptsetup 1.4.1-1
curl 7.25.0-1
db 5.3.15-1
device-mapper 2.02.95-1
diffutils 3.2-1
dirmngr 1.1.0-3
e2fsprogs 1.42.1-1
eventlog 0.2.12-3
expat 2.1.0-1
fakeroot 1.18.2-1
file 5.11-1
filesystem 2012.2-2
findutils 4.4.2-4
flex 2.5.35-5
gawk 4.0.0-2
gcc 4.7.0-3
gcc-libs 4.7.0-3
gdbm 1.10-1
gettext 0.18.1.1-4
glib2 2.30.2-2
glibc 2.15-10
gmp 5.0.4-1
gnupg 2.0.19-1
gpgme 1.3.1-4
gpm 1.20.6-7
grep 2.11-2
groff 1.21-2
grub 0.97-21
gzip 1.4-4
heirloom-mailx 12.5-3
iana-etc 2.30-2
inetutils 1.9.1-1
initscripts 2012.03.2-1
iproute2 3.2.0-3
iputils 20101006-2
isl 0.09-1
kbd 1.15.3-2
keyutils 1.5.5-1
kmod 7-1
krb5 1.10.1-2
less 444-3
libarchive 3.0.4-1
libassuan 2.0.3-1
libcap 2.22-2
libedit 20120311_3.0-1
libffi 3.0.10-1
libgcrypt 1.5.0-1
libgpg-error 1.10-1
libgssglue 0.3-1
libksba 1.2.0-2
libldap 2.4.30-1
libltdl 2.4.2-5
libmpc 0.9-2
libnl 3.2.7-1
libpipeline 1.2.0-2
libsasl 2.1.23-9
libssh2 1.4.0-1
libtirpc 0.2.2-2
libtool 2.4.2-5
libusb 1.0.8-2
libusb-compat 0.1.3-2
licenses 2.9-1
linux 3.2.13-1
linux-api-headers 3.3-1
linux-firmware 20120227-1
logrotate 3.8.1-1
m4 1.4.16-2
make 3.82-4
man-db 2.6.1-1
man-pages 3.37-1
mkinitcpio 0.8.5-1
mkinitcpio-busybox 1.19.4-2
mpfr 3.1.0.p7-1
ncurses 5.9-3
openssh 5.9p1-8
openssl 1.0.1-2
package-query 1.0.1-1
pacman 4.0.2-1
pacman-color 4.0.2-1
pacman-mirrorlist 20120211-1
pam 1.1.5-2
patch 2.6.1-3
pciutils 3.1.9-1
pcmciautils 018-2
pcre 8.30-1
perl 5.14.2-7
pinentry 0.8.1-3
pkg-config 0.26-2
popt 1.16-4
ppl 0.12-1
procps 3.2.8-4
psmisc 22.16-1
pth 2.0.7-4
readline 6.2.002-1
run-parts 4.2.1-1
sed 4.2.1-4
shadow 4.1.5-4
sudo 1.8.4.p4-1
sysfsutils 2.1.0-7
syslog-ng 3.3.4-4
sysvinit 2.88-3
tar 1.26-2
texinfo 4.13a-7
tzdata 2012b-3
udev 181-5
usbutils 005-1
util-linux 2.21-6
vi 1:050325-2
vim 7.3.475-1
vim-runtime 7.3.475-1
wget 1.13.4-1
which 2.20-5
xz 5.0.3-2
yajl 2.0.4-1
yaourt 1.0.1-1
zlib 1.2.6-1

basically all that is installed is base and base-devel (this box is a new install)

Here is what i am getting when trying to complie razor-qt:

...
Scanning dependencies of target razor-session
[ 22%] Building CXX object razorqt-session/CMakeFiles/razor-session.dir/src/main.cpp.o
/tmp/yaourt-tmp-adam/aur-razor-qt/src/razorqt-0.4.1/razorqt-session/src/main.cpp: In function 'int main(int, char**)':
/tmp/yaourt-tmp-adam/aur-razor-qt/src/razorqt-0.4.1/razorqt-session/src/main.cpp:97:43: error: 'getopt' was not declared in this scope
/tmp/yaourt-tmp-adam/aur-razor-qt/src/razorqt-0.4.1/razorqt-session/src/main.cpp:101:23: error: 'optarg' was not declared in this scope
/tmp/yaourt-tmp-adam/aur-razor-qt/src/razorqt-0.4.1/razorqt-session/src/main.cpp:106:26: error: 'optarg' was not declared in this scope
make[2]: *** [razorqt-session/CMakeFiles/razor-session.dir/src/main.cpp.o] Error 1
make[1]: *** [razorqt-session/CMakeFiles/razor-session.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build razor-qt.

[edit]
figured out sawfish issue, dependency libxtst is not being pulled, putting request in AUR to make it a dependency
[/edit]

Last edited by adambot (2012-04-09 15:04:58)

Offline

Board footer

Powered by FluxBB