xffm installer script

Mr Machine machinehasnoagenda at gmail.com
Sun Jan 8 07:06:59 CET 2006


Edscott Wilson Garcia wrote:
> I believe I now have a working script to build and install
> xffm and all dependencies and plugins (except libxfce4util).
> 
> The script is in SVN at  xffm/trunk/installer.sh
> 
> If you want to edit out components to be installed,
> the file to look at is xffm/trunk/install.pm

i tried using this script, but it fails with this:

Doing make install...
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[2]: *** [xffm-root] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
Making install in xffm-root
make[1]: Entering directory 
`/home/mrmachine/programs/xfce4-svn-source/xffm/xffm/xffm-root'
Making install in src
make[2]: Entering directory 
`/home/mrmachine/programs/xfce4-svn-source/xffm/xffm/xffm-root/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -g -O2 -MT xffm_root-xffm-root.o -MD -MP 
-MF ".deps/xffm_root-xffm-root.Tpo" -c -o xffm_root-xffm-root.o `test -f 
'xffm-root.c' || echo './'`xffm-root.c; \
then mv -f ".deps/xffm_root-xffm-root.Tpo" 
".deps/xffm_root-xffm-root.Po"; else rm -f 
".deps/xffm_root-xffm-root.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CC --mode=link gcc  -g -O2  -Wl,-O1 -o 
xffm-root  xffm_root-xffm-root.o -lX11 -lglib-2.0 -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lrt
mkdir .libs
gcc -g -O2 -Wl,-O1 -o xffm-root xffm_root-xffm-root.o  -lX11 
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0 -lrt
make[2]: Leaving directory 
`/home/mrmachine/programs/xfce4-svn-source/xffm/xffm/xffm-root/src'
make[1]: Leaving directory 
`/home/mrmachine/programs/xfce4-svn-source/xffm/xffm/xffm-root'
****** Error at package: xffm
Insuficient priviledges for make install?

i am doing this as root, so i should have sufficient privileges ... if i 
go into xffm-root, and try 'make', it says this:

make[3]: Entering directory 
`/home/mrmachine/programs/xfce4-svn-source/xffm/xffm/xffm-root/src'
/bin/sh ../../libtool --tag=CC --mode=link gcc  -g -O2  -Wl,-O1 -o 
xffm-root  xffm_root-xffm-root.o -lX11 -lglib-2.0 -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lrt
gcc -g -O2 -Wl,-O1 -o xffm-root xffm_root-xffm-root.o  -lX11 
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0 -lrt
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[3]: *** [xffm-root] Error 1
make[3]: Leaving directory 
`/home/mrmachine/programs/xfce4-svn-source/xffm/xffm/xffm-root/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/mrmachine/programs/xfce4-svn-source/xffm/xffm/xffm-root'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/mrmachine/programs/xfce4-svn-source/xffm/xffm'make: *** [all] Error 2


hope you can help!

shayne



More information about the Xfce mailing list