Compilation errors with ion3

Mark Tran mark at
Mon Dec 11 21:41:56 PST 2006


I'm having issues with compiling ion3 with my new Mac Pro.
The configure script seems to be unable to locate
X11/SM/SMlib.h. I have Apple's X11 installed and SMlib.h clearly
exists in the proper location.
I already have ion3 installed through MacPorts on both my MacBook and Mac
Mini with similar setups and did not encounter this problem.

Has anyone else come across this issue or know how to fix it? My logs are
attached below.

-- Mark

monaco(~) [465] % sudo port install ion3
---> Configuring ion3
Error: Target returned: configure failure: shell command
&& CPPFLAGS="-I/opt/local/include" LDFLAGS="-L/opt/local/lib" ./configure
--prefix=/opt/local --disable-shared --with-lua-libraries=/opt/local"
returned error 1
Command output: checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for strip... strip
checking for ar... ar
checking for xmessage... xmessage
checking how to run the C preprocessor... gcc -E
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 ANSI C header files... yes
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 libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking X11/SM/SMlib.h usability... no
checking X11/SM/SMlib.h presence... no
checking for X11/SM/SMlib.h... no
configure: error: *** SMlib.h not found.
*** You probably need to install libsm-dev

Error: Status 1 encountered during processing.


monaco(/usr/X11R6/include/X11/SM) [472] % ls -l
total 48
-r--r--r-- 2 root admin 2986 Dec 5 01:42 SM.h
-r--r--r-- 2 root admin 11324 Dec 5 01:42 SMlib.h
-r--r--r-- 2 root admin 4916 Dec 5 01:42 SMproto.h
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the macports-users mailing list