From: Artem <u2u@nm.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Компиляция gui для e_donkey
Date: Fri, 09 Jan 2004 23:46:00 +0200
Message-ID: <3FFF2118.5030305@nm.ru> (raw)
In-Reply-To: <1073661528.3140.14.camel@ildar>
Ildar Mulyukov пишет:
>On Птн, 2004-01-09 at 18:12, Artem wrote:
>
>
>>Понимаю, что где-то ошибка в правах доступа (или закрыт доступ), но как определить, что он хочет при компиляции, не тратя много времени?
>>
>>
>
>
>ключ -v
>
>
>
>
Насчет ключа -v - эт я что-то недопонял. В ./configure такого ключа не
видел.
Пошел по другому пути - сделал diff для 2-х вариантов (root и обычный
пользователь)
Вот различия (не все, но они все время повторяются, одни и те же)
Под root:
......
сonfigure:4135: gcc -o conftest -g -O2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/incl
ude/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/Xft2
-I/usr/include/freetype2 -I/usr/X11R6/inclu
de -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
-I/usr/include/gnet-2.0 -I/usr/lib
/gnet-2.0/include/ -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include conftest.c -Wl,--export-
dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpan
go-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -pthread
-lgnet-2.0 -lgthread-2.0 -lglib-2.0
>&5
configure:4141: $? = 0
.....
А теперь то же самое под непривилегированным пользователем:
.....
configure:4135: gcc -o conftest -g -O2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/incl
ude/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/Xft2
-I/usr/include/freetype2 -I/usr/X11R6/inclu
de -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
-I/usr/include/gnet-2.0 -I/usr/lib
/gnet-2.0/include/ -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include conftest.c -Wl,--export-
dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpan
go-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -pthread
-lgnet-2.0 -lgthread-2.0 -lglib-2.0
>&5
/usr/bin/ld: warning: libXi.so.6, needed by
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x1
1-2.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libXinerama.so.1, needed by
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../lib
gdk-x11-2.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libXext.so.6, needed by
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-
x11-2.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libXrender.so.1, needed by
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libg
dk-x11-2.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libX11.so.6, needed by
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x
11-2.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so:
undefined reference to `XSetInputF
ocus'
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so:
undefined reference to `XFreePixma
p'
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so:
undefined reference to `XSetWMProt
ocols'
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so:
undefined reference to `XShmDetach
'
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so:
undefined reference to `XLowerWind
ow'
/usr/lib/gcc-lib/i586-alt-linux/3.2.1/../../../libgdk-x11-2.0.so:
undefined reference to `XCreateFon
tCursor'
.........................
.........................
И дальше еще километр подобной гадости
После этого стало также ясно, почему некоторые другие пакеты не хотели
собираться.
Почему под простым пользователем линковщик не находит библиотеки в
/usr/X11R6/lib ????
Мой ld.so.conf:
/usr/X11R6/lib
/usr/lib
/usr/lib/wine
/usr/local/lib
Кеш обновлен.
Кто может помочь?
next prev parent reply other threads:[~2004-01-09 21:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-09 13:53 Artem
2004-01-09 15:00 ` Дмитрий Герасимов
2004-01-09 15:12 ` Artem
2004-01-09 15:18 ` Ildar Mulyukov
2004-01-09 21:46 ` Artem [this message]
2004-01-10 14:37 ` Ildar Mulyukov
2004-01-10 19:37 ` Artem
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=3FFF2118.5030305@nm.ru \
--to=u2u@nm.ru \
--cc=sisyphus@altlinux.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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git