ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [mdk-re] make -d
@ 2001-01-23 19:22 denf
  2001-01-24 11:26 ` Igor Vildiaev
  0 siblings, 1 reply; 3+ messages in thread
From: denf @ 2001-01-23 19:22 UTC (permalink / raw)
  To: mandrake-russian


01/23/2001 09:31:57 PM mandrake-russian-admin wrote:
>.....
>> Поищите опицию configure (configure --help), которая позволяет указать
>> путь к библиотекам X или путь к дополнительным библиотекам.
>> Посморите внимательно на вывод configure.
>> Rgrds, AEN
>Посмотрел configure.log Вот что нашел (Как справиться?):
>
><.....>
>configure:4723: checking for yp_get_default_domain
>configure:4751: gcc -o
>conftest -g -O2  -DLINUX=2 -DNO_DBM_REWRITEMAP -DEAPI -DEAPI_MM -
>DUSE_EXPAT  conftest.c  1>&5
>/tmp/ccHqacxa.o: In function `main':
>/usr/src/RPM/SOURCES/php-4.0.4pl1/configure:4745: undefined reference to
>`yp_get_default_domain'
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 4728 "configure"
>#include "confdefs.h"
>/* System header to define __stub macros and hopefully few prototypes,
>    which can conflict with char yp_get_default_domain(); below.  */
>#include <assert.h>
>/* Override any gcc2 internal prototype to avoid an error.  */
>/* We use char because int might match the return type of a gcc2
>    builtin and then its argument prototype would still apply.  */
>char yp_get_default_domain();
>
>int main() {
>
>/* The GNU C library defines this for functions which it implements
>    to always fail with ENOSYS.  Some functions are actually named
>    something starting with __ and the normal name is an alias.  */
>#if defined (__stub_yp_get_default_domain) || defined
>(__stub___yp_get_default_domain)
>choke me
>#else
>yp_get_default_domain();
>#endif
>
>; return 0; }
>configure:4776: checking for gethostname in -lnsl
><.....>
это все не то. в первый раз линкер ругался на то, что не мог найти
библиотеку libX11.so, которая обычно находится в каталоге  /usr/X11R6/lib и
принадлежит пакету XFree86-devel. помимо ее присутствия, необлодимо, чтобы
линкер знал где ее искать, т.е. путь /usr/X11R6/lib должен быть в
/etc/ld.so.conf (после обновления этого файла надо делать ldconfig)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-01-24 11:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-23 19:22 [mdk-re] make -d denf
2001-01-24 11:26 ` Igor Vildiaev
2001-01-24 11:40   ` Sergei Aranovsky

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