Razor-qt/razor-qt — Issue #156: Rasor build fails during make
Author: scsijon
Created: 2012-01-09 23:42:20+00:00
State: open

Origonal request was in #97 and was completed so I split the problem from that.

The build works until this point:
----------------------------------------------------------------
# cd work
# make
[ 3%] Built target razormount
[ 13%] Built target qtxdg
[ 14%] Built target razorqxt
[ 27%] Built target razorqt
[ 31%] Built target razor-session
[ 32%] Built target razor-config-session
[ 39%] Built target razor-panel
[ 42%] Built target clock
[ 44%] Built target desktopswitch
[ 48%] Built target quicklaunch
Linking CXX shared library libtray.so
/usr/lib/gcc/i486-t2-linux-gnu/4.3.4/../../../../i486-t2-linux-gnu/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[2]: *** [razorqt-panel/plugin-tray/libtray.so] Error 1
make[1]: *** [razorqt-panel/plugin-tray/CMakeFiles/tray.dir/all] Error 2
make: *** [all] Error 2
#
# cd /usr/i486-t2-linux-gnu/bin
# ls -l
total 1112
-rwxr-xr-x 1 root root 39752 2011-09-08 12:50 ar
-rwxr-xr-x 1 root root 215924 2011-09-08 12:50 as
-rwxr-xr-x 1 root root 294976 2011-09-08 12:50 ld
-rwxr-xr-x 1 root root 27304 2011-09-08 12:50 nm
-rwxr-xr-x 1 root root 148212 2011-09-08 12:50 objcopy
-rwxr-xr-x 1 root root 187568 2011-09-08 12:50 objdump
-rwxr-xr-x 1 root root 39756 2011-09-08 12:50 ranlib
-rwxr-xr-x 1 root root 148216 2011-09-08 12:50 strip
#
-----------------------------------------------------------

Even on a fresh build it stops at this point, I need guidance where to look or maybe your script needs adjustment.

thanks
scsijon