Re: [Libwpd-devel] Does libwpd2-bindings compile on Windows?

2009-04-05 Thread Nam Quang Tran
It's me again... :(
Now I got stuck in make:

for j in WPDocumentCSharp.cs WPXDocumentCSharpInterface.cs
WPXDocumentInterfaceProxy.cs; do \
SHARP_FILES="$SHARP_FILES ../../src/csharp/$j"; done && \
SHARP_FILES="$SHARP_FILES ../../src/csharp/assembly.cs" && \
/c/Programme/Mono-2.4/bin/gmcs \
-target:library\
-unsafe \
-keyfile:../../src/csharp/wpd-0.9.keys \
-out:wpd-0.9.dll \
$SHARP_FILES
/c/Programme/Mono-2.4/bin/gmcs:
/c/libwpd2-bindings/src/csharp/C:/Programme/Mono-2.4/bin/mono: No such file
or directory
/c/Programme/Mono-2.4/bin/gmcs: exec:
/c/libwpd2-bindings/src/csharp/C:/Programme/Mono-2.4/bin/mono: cannot
execute: No such file or directory
make[3]: *** [wpd-0.9.dll] Error 126
make[3]: Leaving directory `/c/libwpd2-bindings/src/csharp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/libwpd2-bindings/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/libwpd2-bindings'
make: *** [all] Error 2


I hope this doesn't mean I have to compile Mono all by myself? Because I
just used the Mono Windows installer and couldn't find any precompiled
packages for MSYS.
It did use Google, btw. Without it, I would've asked a lot more questions.
Thanks again for your patience.

2009/4/4 Fridrich Strba 

> OK, normally, one needs to have pkg-config development files in the
> system in order to get the PKG_CHECK_MODULES macro right. When you run
> your autogen, do it in following way:
> ACLOCAL_FLAGS='-I/patch/to/where/is/pkg.m4' ./autogen.sh
>
> Cheers
>
> Fridrich
>
> BTW: Google is sometimes good to ask first, faster then others.
>
--
___
Libwpd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libwpd-devel


Re: [Libwpd-devel] Does libwpd2-bindings compile on Windows?

2009-04-04 Thread Fridrich Strba
OK, normally, one needs to have pkg-config development files in the
system in order to get the PKG_CHECK_MODULES macro right. When you run
your autogen, do it in following way:
ACLOCAL_FLAGS='-I/patch/to/where/is/pkg.m4' ./autogen.sh

Cheers

Fridrich

BTW: Google is sometimes good to ask first, faster then others.

On Sat, 2009-04-04 at 14:45 +0200, Nam Quang Tran wrote:
> Thank you very much for having answered my noob questions :S
> Now, when I run ./configure, the script fails with the following
> output:
> 
> 
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... Win32 ld.exe
> appending configuration tag "F77" to libtool
> checking for pkg-config... /bin/pkg-config
> ./configure: line 20448: syntax error near unexpected token
> `PKG_CHECK_MODULES(WPDBINDINGS,'
> ./configure: line 20448: `PKG_CHECK_MODULES(WPDBINDINGS,'
> 
> Any ideas?



--
___
Libwpd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libwpd-devel


Re: [Libwpd-devel] Does libwpd2-bindings compile on Windows?

2009-04-04 Thread Nam Quang Tran
Thank you very much for having answered my noob questions :S
Now, when I run ./configure, the script fails with the following output:


checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... Win32 ld.exe
appending configuration tag "F77" to libtool
checking for pkg-config... /bin/pkg-config
./configure: line 20448: syntax error near unexpected token
`PKG_CHECK_MODULES(WPDBINDINGS,'
./configure: line 20448: `PKG_CHECK_MODULES(WPDBINDINGS,'

Any ideas?


2009/4/3 Fridrich Strba 

> OK, I would simply refrain from using autotools outside the msys /usr
> mounted directories. It is known that msys has problem handling the
> autotools in a random path. Why don't you just use the autotools
> distributed by http://www.mingw.org project?
>
> Cheers
>
> Fridrich
>
> On Fri, 2009-04-03 at 16:54 +0200, Nam Quang Tran wrote:
> > Output for autoconf --version
> > ==
> > autoconf (GNU Autoconf) 2.63
> > Copyright (C) 2008 Free Software Foundation, Inc.
> > License GPLv2+: GNU GPL version 2 or later
> > 
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.
> >
> > Written by David J. MacKenzie and Akim Demaille.
> >
> >
> > Output for autoheader --version
> > ==
> > sh: /c/autoconf/bin/autoheader: No such file or directory
> >
> > Note: The file C:\autoconf\bin\autoheader definitely exists, and C:
> > \autoconf\bin is on my PATH. Maybe this is the problem? I installed
> > Autoconf with an exe installer: autoconf-2.63-setup.exe.
> >
> >
> > Output when running autogen.sh
> > ==
> > ./autogen.sh: /c/autoconf/bin/autoheader: No such file or directory
> > ./autogen.sh: [: -ge: unary operator expected
> > ./autogen.sh: need autoconf 2.53 or later to build writerperfect
>
>
>
>
>
>
> --
> ___
> Libwpd-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libwpd-devel
>
--
___
Libwpd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libwpd-devel


Re: [Libwpd-devel] Does libwpd2-bindings compile on Windows?

2009-04-03 Thread Fridrich Strba
OK, I would simply refrain from using autotools outside the msys /usr
mounted directories. It is known that msys has problem handling the
autotools in a random path. Why don't you just use the autotools
distributed by http://www.mingw.org project?

Cheers

Fridrich

On Fri, 2009-04-03 at 16:54 +0200, Nam Quang Tran wrote:
> Output for autoconf --version
> ==
> autoconf (GNU Autoconf) 2.63
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv2+: GNU GPL version 2 or later
> 
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> Written by David J. MacKenzie and Akim Demaille.
> 
> 
> Output for autoheader --version
> ==
> sh: /c/autoconf/bin/autoheader: No such file or directory
> 
> Note: The file C:\autoconf\bin\autoheader definitely exists, and C:
> \autoconf\bin is on my PATH. Maybe this is the problem? I installed
> Autoconf with an exe installer: autoconf-2.63-setup.exe.
> 
> 
> Output when running autogen.sh
> ==
> ./autogen.sh: /c/autoconf/bin/autoheader: No such file or directory
> ./autogen.sh: [: -ge: unary operator expected
> ./autogen.sh: need autoconf 2.53 or later to build writerperfect





--
___
Libwpd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libwpd-devel


Re: [Libwpd-devel] Does libwpd2-bindings compile on Windows?

2009-04-03 Thread Nam Quang Tran
Output for autoconf --version
==
autoconf (GNU Autoconf) 2.63
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.


Output for autoheader --version
==
sh: /c/autoconf/bin/autoheader: No such file or directory

Note: The file C:\autoconf\bin\autoheader definitely exists, and
C:\autoconf\bin is on my PATH. Maybe this is the problem? I installed
Autoconf with an exe installer: autoconf-2.63-setup.exe.


Output when running autogen.sh
==
./autogen.sh: /c/autoconf/bin/autoheader: No such file or directory
./autogen.sh: [: -ge: unary operator expected
./autogen.sh: need autoconf 2.53 or later to build writerperfect


2009/4/3 Fridrich Strba 

> Hello, I just tried the autogen.sh in my msys and it works for me.
>
> Now, it is looking for two things: autoconf >= 2.53 and autoheader >=
> 2.53. Now, maybe the command has a problem with your autoconf and
> autoheader. Can you send the autoconf --version and also autoheader
> --version output?
>
> Cheers
>
> Fridrich
>
> On Fri, 2009-04-03 at 14:27 +0200, Nam Quang Tran wrote:
> > Hello,
> >
> > I've tried to compile libwpd2-bindings on Windows, but
> > running ./autogen.sh only gives me this error message:
> >
> > 'need autoconf 2.53 or later to build writerperfect'
> >
> > The latest autoconf is on my PATH, but neither compiling on mingw nor
> > cygwin gets me beyond that error message. Is there some magical way to
> > tell libwpd2-bindings where to find autoconf? Is libwpd2-bindings even
> > supported on Windows?? Thanks in advance.
> >
> > Best regards
> > Tran Nam Quang
> >
> --
> > ___
> > Libwpd-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/libwpd-devel
>
>
>
> --
> ___
> Libwpd-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libwpd-devel
>
--
___
Libwpd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libwpd-devel


Re: [Libwpd-devel] Does libwpd2-bindings compile on Windows?

2009-04-03 Thread Fridrich Strba
Hello, I just tried the autogen.sh in my msys and it works for me.

Now, it is looking for two things: autoconf >= 2.53 and autoheader >=
2.53. Now, maybe the command has a problem with your autoconf and
autoheader. Can you send the autoconf --version and also autoheader
--version output?

Cheers

Fridrich

On Fri, 2009-04-03 at 14:27 +0200, Nam Quang Tran wrote:
> Hello,
> 
> I've tried to compile libwpd2-bindings on Windows, but
> running ./autogen.sh only gives me this error message:
> 
> 'need autoconf 2.53 or later to build writerperfect'
> 
> The latest autoconf is on my PATH, but neither compiling on mingw nor
> cygwin gets me beyond that error message. Is there some magical way to
> tell libwpd2-bindings where to find autoconf? Is libwpd2-bindings even
> supported on Windows?? Thanks in advance.
> 
> Best regards
> Tran Nam Quang
> --
> ___
> Libwpd-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libwpd-devel


--
___
Libwpd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libwpd-devel