I'm creating a port for scim 1.4.4 for OpenBSD, testing on current.

scim src compiles fine by itself but i run into problems when i try
and make it into a port.

I've created an opebsd makefile, put in the master_sites,
configure_style etc and the port 'makes' quite fine but fails on a
make install ... seems there's a linking error during the fake
install.

Here is the error:

Making install in utils
gmake[1]: Entering directory
`/usr/ports/japanese/scim/w-scim-1.4.4/scim-1.4.4/utils'
gmake[2]: Entering directory
`/usr/ports/japanese/scim/w-scim-1.4.4/scim-1.4.4/utils'
test -z "/usr/local/lib" || /bin/sh ../mkinstalldirs
"/usr/ports/japanese/scim/w-scim-1.4.4/fake-i386/usr/local/lib"
  /bin/sh ../libtool --mode=install /usr/bin/install -c -o root -g bin
 'libscim-x11utils-1.0.la'
'/usr/ports/japanese/scim/w-scim-1.4.4/fake-i386/usr/local/lib/libscim-x11utils-1.0.la'
libtool: install: warning: relinking `libscim-x11utils-1.0.la'
(cd /usr/ports/japanese/scim/w-scim-1.4.4/scim-1.4.4/utils; /bin/sh
../libtool  --tag=CXX --mode=relink c++ -O2 -pipe -o
libscim-x11utils-1.0.la -rpath /usr/local/lib -version-info 9:0:1
-export-dynamic -rpath /usr/local/lib -L/usr/local/lib -lintl
-L/usr/local/lib -liconv -L/usr/X11R6/lib -lX11
libscim_x11utils_1_0_la-scim_x11_utils.lo ../src/libscim-1.0.la
-inst-prefix-dir /usr/ports/japanese/scim/w-scim-1.4.4/fake-i386)
c++ -shared  -fPIC -DPIC  
.libs/libscim_x11utils_1_0_la-scim_x11_utils.o  -L/usr/local/lib
/usr/local/lib/libintl.so.3.0 /usr/local/lib/libiconv.so.4.0
-L/usr/X11R6/lib -lX11 /usr/local/lib/libscim-1.0.so.9.0   -o
.libs/libscim-x11utils-1.0.so.9.0
c++: /usr/local/lib/libscim-1.0.so.9.0: No such file or directory
libtool: install: error: relink `libscim-x11utils-1.0.la' with the
above command before installing it
gmake[2]: *** [install-libLTLIBRARIES] Error 1
gmake[2]: Leaving directory
`/usr/ports/japanese/scim/w-scim-1.4.4/scim-1.4.4/utils'
gmake[1]: *** [install-am] Error 2
gmake[1]: Leaving directory
`/usr/ports/japanese/scim/w-scim-1.4.4/scim-1.4.4/utils'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/japanese/scim (line 1980 of
/usr/ports/infrastructure/mk/bsd.port.mk).



Does anyone have an idea what is wrong here or what i should be
looking at? I've talked to a lot of people that have this type of
error but can't give me any idea as to what causes the problem.

Reply via email to