Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84432 - Rox-2.2.0 won't compile because it says it need SMlib.h
Summary: Rox-2.2.0 won't compile because it says it need SMlib.h
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sergey Kuleshov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-07 13:19 UTC by Kelly
Modified: 2005-03-11 07:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kelly 2005-03-07 13:19:39 UTC
Although I have all required components installed, Rox won't emerge. Doing the following, before emerging Rox, fixed it:

ln -s /usr/X11R6/include/X11 /usr/include/X11



Reproducible: Always
Steps to Reproduce:
1.emerge rox
2.
3.

Actual Results:  
knier[0] root # emerge rox
Calculating dependencies ...done!
>>> emerge (1 of 1) rox-base/rox-2.2.0 to /
>>> md5 src_uri ;-) rox-2.2.0.tgz
>>> Unpacking source...
>>> Unpacking rox-2.2.0.tgz to /4/portage/rox-2.2.0/work
>>> Source unpacked.
Compiling /4/portage/rox-2.2.0/work/rox-2.2.0/ROX-Filer... please wait...
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -mcpu=athlon-xp -march=athlon-xp
-fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc -O2 -mcpu=athlon-xp -march=athlon-xp
-fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking that pkg-config runs... yes
checking that gtk+-2.0 (version >= 2.2.0) is installed... yes
checking that libxml-2.0 (version >= 2.0.0) is installed... yes
checking for GNOME VFS 2.8 or later... yes
checking if pango (version >= 1.1.2) is installed... yes; enabling better wrapping
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether file -b works... yes
checking for large file support... yes
checking for X... libraries , headers /usr/X11R6/include
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for mntent.h... yes
checking for sys/ucred.h... no
checking for sys/mntent.h... no
checking for apsymbols.h... no
checking for apbuild/apsymbols.h... no
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for X11/SM/SMlib.h... no
configure: error: Session management library (libsm) missing. It is part of the
X server distribution. Try installing the libsm-dev package.
Compile failed
Press Return...


Expected Results:  
It should emerge properly.

Doing following solved it:

ln -s /usr/X11R6/include/X11 /usr/include/X11

=====================================================

Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  9 2005, 10:07:54)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/4"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X adns alsa apm arts avi berkdb bitmap-fonts cdr crypt
cups curl directfb dvd emboss encode esd f77 fam fbcon flac font-server
foomaticdb fortran gdbm ggi gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2
imagemagick imlib ipv6 jack jack-tmpfs java javascript jpeg junit kde kerberos
ldap libg++ libwww mad mikmod mmx mng motif mozilla mpeg ncurses nls oggvorbis
opengl opensshi oss pam pcmcia pdflib perl png python qt quicktime readline
samba sdl slang snmp spell sse ssl svg svga tcltk tcpd threads tiff truetype
truetype-fonts type1-fonts v4l wifi wmf xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Sergey Kuleshov (RETIRED) gentoo-dev 2005-03-11 07:01:13 UTC
You mean you did not have /usr/include/X11 symlink before? Hm, that is definetly NOT rox bug, because that symlink should have been installed with xorg or XFree (depending on what you use).

If you know of any other people having same issue or experience simmilar problem again - please reopen it.