LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: fox

gdm-2.4.1.3与Linux-PAM-0.77问题

[复制链接]
 楼主| 发表于 2003-2-9 14:43:27 | 显示全部楼层
我的显卡驱动原来确实有问题,已经改好了。安装的时候没有创建modules.conf文件,后来手工把模块加进modules.conf就好了。kj501说的模块dep关系是不是这个?

我编译gdm是有问题,错误如下
gcc -s -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -o gdmaskpass gdmaskpass.o  -lpam -lpam_misc
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../libpam.a(pam_handlers.o): In function `_pam_add_handler':
pam_handlers.o(.text+0xc6e): undefined reference to `dlopen'
pam_handlers.o(.text+0xc9a): undefined reference to `dlerror'
pam_handlers.o(.text+0xed0): undefined reference to `dlsym'
pam_handlers.o(.text+0xf19): undefined reference to `dlsym'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../libpam.a(pam_handlers.o): In function `_pam_free_handlers':
pam_handlers.o(.text+0x11ca): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [gdmaskpass] Error 1
make[2]: Leaving directory `/usr/src/gdm-2.4.1.3/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gdm-2.4.1.3'
make: *** [all-recursive-am] Error 2

我运行
gcc -s -march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -g -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -o gdmaskpass gdmaskpass.o  -lpam -lpam_misc :cool:-ldl
编译通过
然后执行make && make install安装成功
 楼主| 发表于 2003-2-9 14:48:45 | 显示全部楼层

下面是我configure的结果

root:/usr/src/gdm-2.4.1.3# ./configure --prefix=/opt/gnome2 --sysconfdir=/etc/gnome --localstatedir=/var/lib --with-pam-prefix=/etc 2>&1>conf
./configure: line 9355: GNOME_COMPILER_WARNINGS: command not found
configure: WARNING: X11/extensions/Xinerama.h: present but cannot be compiled
configure: WARNING: X11/extensions/Xinerama.h: check for missing prerequisite headers?
configure: WARNING: X11/extensions/Xinerama.h: proceeding with the preprocessor's result

conf文件内容:
checking for intltool >= 0.21... 0.25 found
checking for perl... /usr/bin/perl
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
"AM files will be installed in prefix /etc."
checking for consolehelper... no
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 strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for socklen_t... yes
checking for setresuid... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gdk-pixbuf-2.0 >= 1.3.1 gtk+-2.0 >= 1.3.1 libgnome-2.0 >= 1.96.0... yes
checking DAEMON_CFLAGS... -pthread -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/linc-1.0 -I/opt/gnome2/include/bonobo-activation-2.0  
checking DAEMON_LIBS... -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangox-1.0 -lpango-1.0 -lgnome-2 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -llinc -lgmodule-2.0 -ldl -lgobject-2.0 -lgthread-2.0 -lglib-2.0  
checking for gdk-pixbuf-2.0 >= 1.3.1 gtk+-2.0 >= 1.3.1 libgnomeui-2.0 >= 1.96.0 libglade-2.0 >= 1.99.2... yes
checking GUI_CFLAGS... -pthread -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/linc-1.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libglade-2.0  
checking GUI_LIBS... -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -llinc -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking for gdk-pixbuf-2.0 >= 1.3.1 gtk+-2.0 >= 1.3.1 libgnomecanvas-2.0 >= 1.109.0 libgnome-2.0 >= 1.96.0 librsvg-2.0 >= 1.1.1 libxml-2.0 >= 2.4.12... yes
checking GREETER_CFLAGS... -pthread -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/linc-1.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/librsvg-2  
checking GREETER_LIBS... -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -lgnomecanvas-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangox-1.0 -lgnome-2 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -llinc -lgthread-2.0 -lrsvg-2 -lgdk_pixbuf-2.0 -lart_lgpl_2 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lxml2 -lz -lm  
checking for gdk-pixbuf-2.0 >= 1.3.1 gtk+-2.0 >= 1.3.1 libgnomeui-2.0 >= 1.96.0 libglade-2.0 >= 1.99.2... yes
checking UTILS_CFLAGS... -pthread -DORBIT2=1 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include -I/opt/gnome2/include/linc-1.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/libglade-2.0  
checking UTILS_LIBS... -Wl,--export-dynamic -pthread -L/opt/gnome2/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -llinc -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0  
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  am ar az be bg ca cs da de el es et eu fi fr ga gl he hu it ja ko lt lv mk mn ms nl nn no pl pt_BR pt ro ru sk sl sv ta tr uk vi zh_CN zh_TW
checking whether to use TCP wrappers... yes
checking for hosts_ctl in -lwrap... no
checking whether -lwrap requires -lnsl... no
checking for corrupt government... yes
checking linux/vt.h usability... yes
checking linux/vt.h presence... yes
checking for linux/vt.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking security/pam_misc.h usability... yes
checking security/pam_misc.h presence... yes
checking for security/pam_misc.h... yes
checking login_cap.h usability... no
checking login_cap.h presence... no
checking for login_cap.h... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking X11/Xdmcp.h usability... yes
checking X11/Xdmcp.h presence... yes
checking for X11/Xdmcp.h... yes
checking for XdmcpFlush in -lXdmcp... yes
checking X11/extensions/Xinerama.h usability... no
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryScreens in -lXinerama... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating daemon/Makefile
config.status: creating gui/Makefile
config.status: creating gui/greeter/Makefile
config.status: creating gui/greeter/themes/Makefile
config.status: creating gui/greeter/themes/circles/Makefile
config.status: creating gui/greeter/themes/happygnome/Makefile
config.status: creating utils/Makefile
config.status: creating pixmaps/Makefile
config.status: creating config/Makefile
config.status: creating po/Makefile.in
config.status: creating vicious-extensions/Makefile
config.status: creating config/gdm.conf
config.status: creating config/Gnome
config.status: creating config/Xsession
config.status: creating config/gnomerc
config.status: creating daemon/gdm
config.status: creating gdm-stop
config.status: creating gdm-restart
config.status: creating gdm-safe-restart
config.status: creating gdmsetup-security
config.status: creating gdm.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing default-3 commands

GDM2 configuration summary:
===========================

CFLAGS : -g -O2
LDFLAGS :

prefix : /opt/gnome2
sysconf dir : /etc/gnome
bin dir : /opt/gnome2/bin
sbin dir : /opt/gnome2/sbin
PAM prefix : /etc
data dir : /opt/gnome2/share

TCP Wrappers support              : YES
Xinerama support                  : YES
XDMCP (remote login) support      : YES
Console helper                    : NO
Authentication scheme             : verify-pam
Utilities built                   : gdmopen gdmaskpass
 楼主| 发表于 2003-2-9 15:04:35 | 显示全部楼层
对不起,没好好看上边,我明白dep了。

我安装了gdmgreeter。。。其他我先看看
 楼主| 发表于 2003-2-9 21:05:29 | 显示全部楼层
gdm, gdm-binary, gdmXnestchooser, gdmchooser, gdmflexiserver, gdmgreeter, gdmlogin, gdmmktemp, gdmphotosetup, gdmsetup, gdmthemetester, gdm-restart, gdm-safe-restart, gdm-stop, gdmaskpass, gdmconfig and gdmopen都有,在/opt/gnome2/bin和/opt/gnome2/sbin目录下。
今天编译mozilla也没过去,郁闷ing....
发表于 2003-2-9 21:28:44 | 显示全部楼层
有什么错误提示吗?
 楼主| 发表于 2003-2-9 22:36:09 | 显示全部楼层
hoho,我编译的版本是1.2.1,没打补丁。我在http://linuxfromscratch.org/~tus ... /找到补丁了。
发表于 2003-2-10 02:05:37 | 显示全部楼层
哦?这样阿。
加了patch最后搞好了么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表