Компиляция программ - требуется помощь
Добавлено: 14 апр 2005, 15:59
Mandrake 10.1
При компиляции программы вылазит следующее:
./configure
.
.
.
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
тогда пускаю так...
./configure --x-includes=/usr/X11R6/includes
.
.
.
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!
после этого пытаюсь....
./configure --x-includes=/usr/X11R6/includes --x-libraries=/usr/X11R6/lib
получается вот что:
.
.
.
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/includes
checking for IceConnectionNumber in -lICE... no
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.
но файлы которые configure не может найти находятся в
/usr/X11R6/lib/libXext.so.6
/usr/X11R6/lib/libXext.so.6.4
что я делаю неправильно?
и как сделать грамотнее?
При компиляции программы вылазит следующее:
./configure
.
.
.
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
тогда пускаю так...
./configure --x-includes=/usr/X11R6/includes
.
.
.
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... configure: error: Can't find X libraries. Please check your installation and add the correct paths!
после этого пытаюсь....
./configure --x-includes=/usr/X11R6/includes --x-libraries=/usr/X11R6/lib
получается вот что:
.
.
.
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/includes
checking for IceConnectionNumber in -lICE... no
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.
но файлы которые configure не может найти находятся в
/usr/X11R6/lib/libXext.so.6
/usr/X11R6/lib/libXext.so.6.4
что я делаю неправильно?
и как сделать грамотнее?