| 1 | |
| 2 | = Installation issues = |
| 3 | |
| 4 | == Utilities compilation going wrong == |
| 5 | |
| 6 | When I try to compile the Soclib tools I am getting the following error: |
| 7 | |
| 8 | {{{ |
| 9 | make[1]: Entering directory `/lip6/soclib/utils/src/pipe2fb' |
| 10 | make[1]: Nothing to be done for `Makefile'. |
| 11 | make[1]: Leaving directory `/lip6/soclib/utils/src/pipe2fb' |
| 12 | make[1]: Entering directory `/lip6/soclib/utils/src/xtty' |
| 13 | gcc -c -o xtty.o xtty.c -Wall -O2 |
| 14 | gcc -o soclib-xtty xtty.o -L/usr/X11R6/lib -lX11 -lXpm |
| 15 | make[1]: Leaving directory `/lip6/soclib/utils/src/xtty' |
| 16 | make[1]: Entering directory `/lip6/soclib/utils/src/fb_screen' |
| 17 | cc `sdl-config --cflags` -Wall -O2 linux -c -o fb.o fb.c |
| 18 | gcc: linux: No such file or directory |
| 19 | make[1]: *** [fb.o] Error 1 |
| 20 | make[1]: Leaving directory `/lip6/soclib/utils/src/fb_screen' |
| 21 | make: *** [all] Error 1 |
| 22 | }}} |
| 23 | |
| 24 | It looks like you have the `TARGET_ARCH` environment variable set. Make is doing some silly replacements when it is set. Unset it and try again: |
| 25 | |
| 26 | {{{ |
| 27 | $ unset TARGET_ARCH |
| 28 | $ make |
| 29 | }}} |