ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Sergei Aranovsky" <Sergei.Aranovsky@srm.ru>
To: <mandrake-russian@linuxteam.iplabs.ru>
Subject: Re: [mdk-re] make -d
Date: Wed Jan 24 11:40:02 2001
Message-ID: <05e601c085e1$457f4b80$ca01a8c0@msc.masq> (raw)
In-Reply-To: <01cc01c085df$416d3090$5daa77d4@spb.satcomtel.ru>

Здравствуйте,

> > ><.....>
> > это все не то. в первый раз линкер ругался на то, что не мог найти
> > библиотеку libX11.so, которая обычно находится в каталоге  /usr/X11R6/lib
> и
> > принадлежит пакету XFree86-devel. помимо ее присутствия, необлодимо, чтобы
> > линкер знал где ее искать, т.е. путь /usr/X11R6/lib должен быть в
> > /etc/ld.so.conf (после обновления этого файла надо делать ldconfig)
> Понял и проверил содержимое /etc/ld.so.conf, путь /usr/X11R6/lib
> присутствовал, навсякий случай сделал обновление, запустив ldconfig. Затем
> запустил
>
>
> ./configure --with-mysql --with-apxs --with-gd=/usr --with-zlib-dir=/usr/src
> /RPM/SOURCES/php-4.0.4pl1/ext/zlib --prefix=/usr --enable-ftp --with-jpeg-di
> r=/usr/src/RPM/SOURCES/jpeg-6b --enable-track-vars --with-xpm-dir=/usr/src/R
> PM/SOURCES/xpm-3.4k --with-ttf --with-gdbm
>
> configure отработал без замечаний (ну только одна ссылка неопределилась -
> undefined reference to `yp_get_default_domain')
>
> и make
> <.....>
> lv -L/usr/src/RPM/SOURCES/jpeg-6b/lib -ljpeg -L/usr/src/RPM/SOURCES/xpm-3.4k
> /lib -lXpm -L/usr/src/RPM/SOURCES/xpm-3.4k/lib -lX11
> /usr/bin/ld: cannot find -lX11
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/usr/src/RPM/SOURCES/php-4.0.4pl1'
> make: *** [all-recursive] Error 1

В командной строке lv не указазано -L/usr/X11R6/lib

добавьте:

--with-X=/usr/X11R6

(или --with-X=/usr/X11R6/lib ? не помню, ни разу не пришлось указывать.)

а вообще, похоже, что configure ищет X11 по ссылке /usr/X. Попробуйте рутом:

$ cd /usr
$ ln -s /usr/X11R6 X

и перезапустите ./configure

С уважением,
-Сергей Арановский





      reply	other threads:[~2001-01-24 11:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-23 19:22 denf
2001-01-24 11:26 ` Igor Vildiaev
2001-01-24 11:40   ` Sergei Aranovsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='05e601c085e1$457f4b80$ca01a8c0@msc.masq' \
    --to=sergei.aranovsky@srm.ru \
    --cc=mandrake-russian@linuxteam.iplabs.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git