pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-devel] RE: Problems setting up to build Pan on Windows...


From: Paul Hudson
Subject: [Pan-devel] RE: Problems setting up to build Pan on Windows...
Date: Sat, 27 Dec 2003 13:25:55 -0000

I've got a bit further, but I'm now stuck again.

For my libxml2 problem, I've no idea whether it's the right solution, but
*a* solution is to use

./configure --prefix=/opt/libxml2 --without-zlib

(instead of 

./configure --prefix=/opt/libxml2

as pan-windows-port.txt has it)

Other things that might be useful:

MSYS seemed to get my home directory info wrong, and thought it should be
/c/msys/1.0/bin/%USERPROFILE%. Setting HOME appropriately fixed it.

GNet's CVS information is in http://gnetlibrary.org/HACKING. This may be
obvious to seasoned Gnome developers, but I'm not one of them.

I needed to run autogen.sh rather then ./configure directly for Gnet (hinted
at in the Gnome-common bit, but I faffed about for a bit before getting it
working)

The "sanity check" for Gnet fails. I don't know what the problem is, though.
Has anyone successfully built from the current CVS HEAD for Gnet?

Pan instructions are slightly wrong if building from the latest tarball
(haven't tried CVS yet)? - needs ./configure, ./autogen.sh is not present.

However, my ./configure fails with 

checking for shared library run path origin... ./config.rpath:
./config.rpath: No such file or directory
done
checking for iconv... no, consider installing GNU libiconv
checking preferred charset formats for system iconv... not found
configure: error:
        *** The iconv-detect program was unable to determine the
        *** preferred charset formats recognized by your system
        *** iconv library. It is suggested that you install a
        *** working iconv library such as the one found at
        *** ftp://ftp.gnu.org/pub/gnu/libiconv

There does seem to be a iconv.dll (and .lib) in the gtk stuff - is this
sufficient?

Any ideas on how to proceed?

P.
________________________________

From: Paul Hudson [mailto:address@hidden 
Sent: 23 December 2003 22:30
To: 'address@hidden'
Subject: Problems setting up to build Pan on Windows...


http://pan.rebelbase.com/pan-windows-port.txt
 
says
 
[Note: libxml2-2.6.2 builds, but 2.6.3 breaks on _impl__xmlFree undefined]
 
It doesn’t build for me. I get
 
gcc -mno-cygwin -mms-bitfields -Wall -o xmllint.exe xmllint.o
./.libs/libxml2.a -lm -lwsock32
./.libs/libxml2.a(xmlIO.o)(.text+0xf53):xmlIO.c: undefined reference to
`gzdopen'
./.libs/libxml2.a(xmlIO.o)(.text+0xfec):xmlIO.c: undefined reference to
`gzopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x10b1):xmlIO.c: undefined reference to
`gzdopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x112b):xmlIO.c: undefined reference to
`gzopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x115c):xmlIO.c: undefined reference to
`gzread'
./.libs/libxml2.a(xmlIO.o)(.text+0x11a0):xmlIO.c: undefined reference to
`gzwrite'
./.libs/libxml2.a(xmlIO.o)(.text+0x11de):xmlIO.c: undefined reference to
`gzclose'
./.libs/libxml2.a(xmlIO.o)(.text+0x1285):xmlIO.c: undefined reference to
`deflateEnd'
./.libs/libxml2.a(xmlIO.o)(.text+0x142d):xmlIO.c: undefined reference to
`deflateInit2_'
./.libs/libxml2.a(xmlIO.o)(.text+0x14a6):xmlIO.c: undefined reference to
`crc32'
./.libs/libxml2.a(xmlIO.o)(.text+0x179b):xmlIO.c: undefined reference to
`deflate'
./.libs/libxml2.a(xmlIO.o)(.text+0x180d):xmlIO.c: undefined reference to
`crc32'
./.libs/libxml2.a(xmlIO.o)(.text+0x18da):xmlIO.c: undefined reference to
`deflate'
./.libs/libxml2.a(xmlIO.o)(.text+0x283f):xmlIO.c: undefined reference to
`gzread'
./.libs/libxml2.a(xmlIO.o)(.text+0x2880):xmlIO.c: undefined reference to
`gzrewind'
make[2]: *** [xmllint.exe] Error 1
make[2]: Leaving directory `/c/msys/1.0/home/paul/libxml2-2.6.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/msys/1.0/home/paul/libxml2-2.6.2'
make: *** [all] Error 2
 
 
A bit of detective work says the problems’s something to do with zlib. The
only zlib I seem to have on my system is the one that came when installing
gtk. Manually adding that helps a bit…
 
$ gcc -mno-cygwin -mms-bitfields -Wall -o xmllint.exe xmllint.o
./.libs/libxml
2.a -lm -lwsock32 /opt/gtk/lib/libz.a
C:/msys/1.0/opt/gtk/lib/libz.a(gzio.o)(.text+0xaba):gzio.c: undefined
reference to `fseeko'
C:/msys/1.0/opt/gtk/lib/libz.a(gzio.o)(.text+0xc53):gzio.c: undefined
reference to `fseeko'
C:/msys/1.0/opt/gtk/lib/libz.a(gzio.o)(.text+0x15b3):gzio.c: undefined
reference to `ftello'
 
So, what should I be doing?
 
P.

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.553 / Virus Database: 345 - Release Date: 18/12/2003



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.553 / Virus Database: 345 - Release Date: 18/12/2003
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]