Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam
Próbowałem zainstalować na squeezie (2.6.30-2-686) nakładkę na system GAP (http://www.gap-system.org/Packages/xgap.html).Jednak podczas wykonywanie polecenia make wystąpił bląd. Czy może ktoś mi pomóc jak to naprawić.
Czy ktoś może wyjaśnic mi co mam zrobic z tym x11R5 bo defacto nie ma pomysłu?
System Gap (v4.4.12.)zainstalowany z repo, xgap sciagnałem ze strony ropzakowałem, przeniosłem do katalogu : cd /usr/local/lib/gap4/pkg/xgap
wydałem polecenie
./configure wynik nastęþujący
armira:/usr/local/lib/gap4/pkg/xgap# ./configure checking for make... make checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes configure: creating ./config.status config.status: creating Makefile config.status: creating xgap.sh
następnie make
armira:/usr/local/lib/gap4/pkg/xgap# make if test ! -d bin; then mkdir bin; fi if test ! -d bin/i686-pc-linux-gnu-gcc; then mkdir bin/i686-pc-linux-gnu-gcc; fi cp cnf/configure.out bin/i686-pc-linux-gnu-gcc/configure ( cd bin/i686-pc-linux-gnu-gcc ; CC=gcc ./configure --target=i686-pc-linux-gnu ) checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for struct stat.st_rdev... yes checking for uid_t in sys/types.h... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for ANSI C header files... (cached) yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking for unistd.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for wait3 that fills in rusage... yes checking for pid_t... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for select... yes checking for getpseudotty... no checking for _getpty... no checking for getpt... yes checking for ptsname_r... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking for signal... yes checking return type of signal handlers... void checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether closedir returns void... no checking for X... no configure: error: XGAP needs XWindows X11R5 or better make: *** [bin/i686-pc-linux-gnu-gcc/Makefile] Błąd 1
Ostatnio edytowany przez torpeda80 (2010-03-31 17:16:27)
Offline
Uporałem się z problemem. Podaje rozwiązanie - może się komuś jeszcze kiedyś przyda.
XGAP wymaga XWindows X11R5 należy doinstalować:
aptitude install xorg-dev libx11-dev
Wcześniej przed kompilacją proponuje doinstalować jeszcze: libgtk2.0-dev oraz gcc libc6-dev
Offline