Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2002 19:59:31 +0100
From:      Szilveszter Adam <sziszi@bsd.hu>
To:        gnome@freebsd.org
Subject:   libiconv build broken after upgrade for non-root?
Message-ID:  <20020318185931.GC918@fonix.adamsfamily.xx>

next in thread | raw e-mail | index | archive | help

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello gang,

Today I tried to catch up with the ports/converters/libiconv changes,
but it does not build for me as non-root, because it tries to create a
file in /usr/local/libdata which it of course cannot do. I do not know
why this is, my previous build from 1st February did not have this
problem with the then current libiconv-1.7_1 port.

The build log is attached.

Is this a problem or is my machine smoking something?
-- 
Regards:

Szilveszter ADAM
Szombathely Hungary

--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="build.log"

===>  Extracting for libiconv-1.7_2
>> Checksum OK for libiconv-1.7.tar.gz.
===>  Patching for libiconv-1.7_2
===>  Applying FreeBSD patches for libiconv-1.7_2
===>  Configuring for libiconv-1.7_2
creating cache ./config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking whether the C compiler (cc -O -pipe -march=pentiumpro ) works... yes
checking whether the C compiler (cc -O -pipe -march=pentiumpro ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... cc -E -w
checking whether -traditional is needed for cc on this system... no
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking how to copy files... cp -p
checking how to make hard links... ln
checking whether ln -s works... yes
checking host system type... i386-portbld-freebsd5.0
checking for AIX... no
checking for minix/config.h... no
checking for POSIXized ISC... no
checking for object suffix... o
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking build system type... i386-portbld-freebsd5.0
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for /usr/libexec/elf/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... 
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/libexec/elf/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... freebsd5.0 ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking for locale.h... yes
checking for stdlib.h... yes
checking for mbstate_t... yes
checking for iconv... no
checking for mbrtowc... no
checking for wcrtomb... no
checking for setlocale... yes
checking byte ordering... little endian
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating src/Makefile
creating man/Makefile
creating tests/Makefile
creating include/iconv.h
creating lib/config.h
configuring in libcharset
running /bin/sh ./configure  --enable-static --prefix=/usr/local i386-portbld-freebsd5.0 --cache-file=../config.cache --srcdir=.
loading cache ../config.cache
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) cc
checking whether the C compiler (cc -O -pipe -march=pentiumpro ) works... yes
checking whether the C compiler (cc -O -pipe -march=pentiumpro ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... (cached) cc -E -w
checking whether cc needs -traditional... (cached) no
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking host system type... i386-portbld-freebsd5.0
checking for AIX... no
checking for minix/config.h... (cached) no
checking for POSIXized ISC... no
checking for object suffix... (cached) o
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for executable suffix... (cached) no
checking build system type... i386-portbld-freebsd5.0
checking for ld used by GCC... (cached) /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes
checking for /usr/libexec/elf/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... (cached) pass_all
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for cc option to produce PIC... (cached)  -fPIC
checking if cc PIC flag  -fPIC works... (cached) yes
checking if cc static flag -static works... (cached) yes
checking if cc supports -c -o file.o... (cached) yes
checking if cc supports -c -o file.lo... (cached) 
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/libexec/elf/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... freebsd5.0 ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... (cached) yes
creating libtool
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for nl_langinfo and CODESET... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... yes
checking for setlocale... (cached) yes
updating cache ../config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating config.h
===>  Building for libiconv-1.7_2
builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" includedir="$builddir/lib"
if [ ! -d include ] ; then mkdir include ; fi
cp ./include/libcharset.h.in include/libcharset.h
cd lib && make all
/bin/sh ../libtool --mode=compile cc -I. -I. -I.. -I./.. -O -pipe -march=pentiumpro  -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -c ./localcharset.c
mkdir .libs
cc -I. -I. -I.. -I./.. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -c ./localcharset.c   -fPIC -DPIC -o .libs/localcharset.lo
cc -I. -I. -I.. -I./.. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -c ./localcharset.c -o localcharset.o >/dev/null 2>&1
mv -f .libs/localcharset.lo localcharset.lo
/bin/sh ../libtool --mode=link cc  -o libcharset.la -rpath /usr/local/lib -version-info 1 -no-undefined localcharset.lo
rm -fr .libs/libcharset.la .libs/libcharset.* .libs/libcharset.*
cc -shared  localcharset.lo   -Wl,-soname -Wl,libcharset.so.1 -o .libs/libcharset.so.1
(cd .libs && rm -f libcharset.so && ln -s libcharset.so.1 libcharset.so)
(cd .libs && rm -f libcharset.so && ln -s libcharset.so.1 libcharset.so)
ar cru .libs/libcharset.a  localcharset.o 
ranlib .libs/libcharset.a
creating libcharset.la
(cd .libs && rm -f libcharset.la && ln -s ../libcharset.la libcharset.la)
/bin/sh ./config.charset 'i386-portbld-freebsd5.0' > t-charset.alias
mv t-charset.alias charset.alias
sed -e '/^#/d' -e 's/@''PACKAGE''@/libcharset/g' ./ref-add.sin > t-ref-add.sed
mv t-ref-add.sed ref-add.sed
sed -e '/^#/d' -e 's/@''PACKAGE''@/libcharset/g' ./ref-del.sin > t-ref-del.sed
mv t-ref-del.sed ref-del.sed
cd lib && make all
cd lib && make install-lib libdir='/usr/ports/converters/libiconv/work/libiconv-1.7/lib' includedir='/usr/ports/converters/libiconv/work/libiconv-1.7/lib'
/bin/sh ./../autoconf/mkinstalldirs /usr/ports/converters/libiconv/work/libiconv-1.7/lib
/bin/sh ../libtool --mode=install install -c  -m 444 libcharset.la /usr/ports/converters/libiconv/work/libiconv-1.7/lib/libcharset.la
install -c -m 444 .libs/libcharset.so.1 /usr/ports/converters/libiconv/work/libiconv-1.7/lib/libcharset.so.1
(cd /usr/ports/converters/libiconv/work/libiconv-1.7/lib && rm -f libcharset.so && ln -s libcharset.so.1 libcharset.so)
(cd /usr/ports/converters/libiconv/work/libiconv-1.7/lib && rm -f libcharset.so && ln -s libcharset.so.1 libcharset.so)
install -c -m 444 .libs/libcharset.a /usr/ports/converters/libiconv/work/libiconv-1.7/lib/libcharset.a
ranlib /usr/ports/converters/libiconv/work/libiconv-1.7/lib/libcharset.a
chmod 644 /usr/ports/converters/libiconv/work/libiconv-1.7/lib/libcharset.a
libtool: install: warning: remember to run `libtool --finish /usr/local/lib'
/bin/sh ./../autoconf/mkinstalldirs /usr/local/libdata
test -f /usr/local/libdata/charset.alias && orig=/usr/local/libdata/charset.alias  || orig=charset.alias;  sed -f ref-add.sed $orig > /usr/local/libdata/t-charset.alias;  install -c  -m 444 /usr/local/libdata/t-charset.alias /usr/local/libdata/charset.alias;  rm -f /usr/local/libdata/t-charset.alias
cannot create /usr/local/libdata/t-charset.alias: permission denied
*** Error code 2

Stop in /usr/ports/converters/libiconv/work/libiconv-1.7/libcharset/lib.
*** Error code 1

Stop in /usr/ports/converters/libiconv/work/libiconv-1.7/libcharset.
*** Error code 1

Stop in /usr/ports/converters/libiconv/work/libiconv-1.7.
*** Error code 1

Stop in /usr/ports/converters/libiconv.
*** Error code 1

Stop in /usr/ports/converters/libiconv.
*** Error code 1

Stop in /usr/ports/converters/libiconv.

--k1lZvvs/B4yU6o8G--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020318185931.GC918>