Re: liblangtag issue on master

2012-11-22 Thread Eike Rathke
Hi Mat,

On Tuesday, 2012-11-20 00:10:57 +0100, Mat M wrote:

 make[7]: Entering directory 
 `/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag/liblangtag'
 [...]
 D:/src/libo/solver/wntmsci12.pro/inc\liblangtag/lt-error.h(25) :
 fatal error C1083: Cannot open include file: 'glib.h': No such file
 or directory

Seems you ran into a maze of gbuildification and library versions,
D:/src/libo/solver/wntmsci12.pro/inc\liblangtag apparently is the older
liblangtag-0.2.0 we used, the current version is 0.4.0 and doesn't
require glib anymore, and the old delivered header files somehow are
pulled in while attempting to build the newer version. Which of course
is a bug in our build, it should remove the old files first or take
measures that they aren't pulled in. I suggest you remove the entire
D:/src/libo/solver/wntmsci12.pro/inc\liblangtag directory and files and
try again.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack


pgpJqKhFfrmk0.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


liblangtag issue on master

2012-11-19 Thread Mat M

Hello


Following is the issue i am facing:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating docs/Makefile
config.status: creating docs/version.xml
config.status: creating extensions/Makefile
config.status: creating liblangtag/Makefile
config.status: creating liblangtag-gobject/Makefile
config.status: creating liblangtag.pc
config.status: creating liblangtag-uninstalled.pc
config.status: creating liblangtag-gobject.pc
config.status: creating liblangtag-gobject-uninstalled.pc
config.status: creating tests/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

== Build Information ==
 CFLAGS:
 LDFLAGS:
make[3]: Entering directory  
`/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag'

/opt/lo/bin/make  all-recursive
make[4]: Entering directory  
`/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag'

Making all in liblangtag
make[5]: Entering directory  
`/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag/liblangtag'

/opt/lo/bin/make  all-recursive
make[6]: Entering directory  
`/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag/liblangtag'
make[7]: Entering directory  
`/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag/liblangtag'

  CC liblangtag_la-lt-database.lo
  CC liblangtag_la-lt-ext-module.lo
  CC liblangtag_la-lt-extlang-db.lo
  CC liblangtag_la-lt-extension.lo
lt-database.c
D:/src/libo/solver/wntmsci12.pro/inc\liblangtag/lt-error.h(25) : fatal  
error C1083: Cannot open include file: 'glib.h': No such file or directory

make[7]: *** [liblangtag_la-lt-database.lo] Error 1
make[7]: *** Waiting for unfinished jobs
lt-ext-module.c
D:/src/libo/solver/wntmsci12.pro/inc\liblangtag/lt-error.h(25) : fatal  
error C1083: Cannot open include file: 'glib.h': No such file or directory

make[7]: *** [liblangtag_la-lt-ext-module.lo] Error 1
lt-extension.c
D:/src/libo/solver/wntmsci12.pro/inc\liblangtag/lt-ext-module-data.h(31) :  
fatal error C1083: Cannot open include file: 'glib.h': No such file or  
directory

lt-extlang.tmp.FAUCON.5964.pre.c
lt-extlang-db.c
make[7]: *** [liblangtag_la-lt-extension.lo] Error 1
make[7]: Leaving directory  
`/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag/liblangtag'

make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory  
`/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag/liblangtag'

make[5]: *** [all] Error 2
make[5]: Leaving directory  
`/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag/liblangtag'

make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory  
`/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag'

make[3]: *** [all] Error 2
make[3]: Leaving directory  
`/cygdrive/d/src/libo/workdir/wntmsci12.pro/UnpackedTarball/langtag'
make[2]: ***  
[D:/src/libo/workdir/wntmsci12.pro/ExternalProject/langtag/build] Error 2

make[2]: Leaving directory `/cygdrive/d/src/libo/liblangtag'
make[1]: *** [liblangtag] Error 2
make[1]: Leaving directory `/cygdrive/d/src/libo'
make: *** [liblangtag] Error 2

I searched for glib.h and have found some. So I wanted to check for  
includes... Nice maze ! All is scattered between many makefiles.
The previous output is make verbose=t liblangtag from repo root. It does  
not display the compile commands that are executed. I hoped it would.


Could someone either:
- fix the issue
- explain me how to display the commandline (so I can get all arguments)  
when $CC or $CXX is invoked

- drive me on another way to fix the issue.

Thank you

Regards

--
Mat M
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice