make of glib-2.6.4 fails

jose isaias cabrera jicman@cinops.xerox.com
Mon May 23 18:09:00 GMT 2005


> jose isaias cabrera wrote:
>
>> Greetings!
>>
>> I am trying to build glib 2.6.4, since a package that I want to build 
>> requires it.  the configure part went ok without errors.  I configured 
>> with the
>>
>> --prefix=/usr
>>
>> option on.  Here is the last part of the make run:
>>
>> ....
>> ....
>> bs/gspawn.o .libs/gwin32.o -Wl,--whole-archive 
>> libcharset/.libs/libcharset.a -Wl,--no-whole-archive  -L/usr/lib 
>> /usr/lib/libiconv.dll.a -luser32 -lkernel32 /usr/lib/libintl.dll.a  -o 
>> ..libs/cygglib-2.0-0.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libglib-2.0.dll.a
>> Cannot export R: symbol not defined
>> Cannot export _g_ascii_table: symbol not defined
>> Cannot export _g_utf8_skip: symbol not defined
>> Cannot export _glib_binary_age: symbol not defined
>> Cannot export _glib_interface_age: symbol not defined
>> Cannot export _glib_major_version: symbol not defined
>> Cannot export _glib_micro_version: symbol not defined
>> Cannot export _glib_minor_version: symbol not defined
>> Creating library file: .libs/libglib-2.0.dll.a
>> collect2: ld returned 1 exit status
>> make[4]: *** [libglib-2.0.la] Error 1
>> make[4]: Leaving directory `/home/jcabrera/apps/glib-2.6.4/glib'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory `/home/jcabrera/apps/glib-2.6.4/glib'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory `/home/jcabrera/apps/glib-2.6.4/glib'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/jcabrera/apps/glib-2.6.4'
>> make: *** [all] Error 2
>> jicman 22:43:46->
>>
>> any ideas?
>
> This was a libtool bug, which version of ltmain.sh is included in the
> sources?  Try to upgrade the source tree with:
>
>     autoreconf --install --force --verbose
>
> after you have the latest libtool-devel package installed (the latest
> release 1.5.10 should be ok).

Ok, thanks.  This got me through the make, but on the

make install

command, I get this:

jic 14:04:56-> make install
make  install-recursive
make[1]: Entering directory `/home/us319318/apps/glib-2.6.4'
Making install in .
make[2]: Entering directory `/home/us319318/apps/glib-2.6.4'
make[3]: Entering directory `/home/us319318/apps/glib-2.6.4'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
 /usr/bin/install -c 'glib-gettextize' '/usr/local/bin/glib-gettextize'
/bin/bash ./mkinstalldirs /usr/local/lib/glib-2.0/include
file=/usr/local/lib/glib-2.0/include/glibconfig.h; \
if test -r $file && cmp -s glibconfig.h $file; then :; \
else /usr/bin/install -c -m 644 glibconfig.h $file; fi
test -z "/usr/local/share/glib-2.0/gettext" || mkdir -p --  
"/usr/local/share/gli
b-2.0/gettext"
 /usr/bin/install -c 'mkinstalldirs' 
'/usr/local/share/glib-2.0/gettext/mkinstal
ldirs'
test -z "/usr/local/lib/pkgconfig" || mkdir -p -- "/usr/local/lib/pkgconfig"
 /usr/bin/install -c -m 644 'glib-2.0.pc' 
'/usr/local/lib/pkgconfig/glib-2.0.pc'

 /usr/bin/install -c -m 644 'gobject-2.0.pc' 
'/usr/local/lib/pkgconfig/gobject-2
.0.pc'
 /usr/bin/install -c -m 644 'gmodule-2.0.pc' 
'/usr/local/lib/pkgconfig/gmodule-2
.0.pc'
 /usr/bin/install -c -m 644 './gmodule-export-2.0.pc' 
'/usr/local/lib/pkgconfig/
gmodule-export-2.0.pc'
/usr/bin/install: cannot stat `./gmodule-export-2.0.pc': No such file or 
directo
ry
 /usr/bin/install -c -m 644 'gmodule-no-export-2.0.pc' 
'/usr/local/lib/pkgconfig
/gmodule-no-export-2.0.pc'
 /usr/bin/install -c -m 644 'gthread-2.0.pc' 
'/usr/local/lib/pkgconfig/gthread-2
.0.pc'
make[3]: Leaving directory `/home/us319318/apps/glib-2.6.4'
make[2]: Leaving directory `/home/us319318/apps/glib-2.6.4'
Making install in m4macros
make[2]: Entering directory `/home/us319318/apps/glib-2.6.4/m4macros'
make[3]: Entering directory `/home/us319318/apps/glib-2.6.4/m4macros'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/aclocal" || mkdir -p -- "/usr/local/share/aclocal"
 /usr/bin/install -c -m 644 'glib-2.0.m4' 
'/usr/local/share/aclocal/glib-2.0.m4'

/usr/bin/install: cannot create regular file 
`/usr/local/share/aclocal/glib-2.0.
m4': Permission denied
 /usr/bin/install -c -m 644 'glib-gettext.m4' 
'/usr/local/share/aclocal/glib-get
text.m4'
/usr/bin/install: cannot create regular file 
`/usr/local/share/aclocal/glib-gett
ext.m4': Permission denied
make[3]: *** [install-m4dataDATA] Error 1
make[3]: Leaving directory `/home/us319318/apps/glib-2.6.4/m4macros'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/us319318/apps/glib-2.6.4/m4macros'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/us319318/apps/glib-2.6.4'
make: *** [install] Error 2

Any ideas?

thanks,

josé 



More information about the Cygwin-xfree mailing list