Gerrit P. Haase wrote:
Hallo Steve,
Am Freitag, 17. September 2004 um 23:05 schriebst du:
Do you know what's needed to get gtk 2.0 to work with cygwin?
Just install it with setup.exe?
I need gtk 2 to get Dia (an open source diagramming package to displace
Microsoft Visio). (http://www.gnome.org/projects/dia/)
All prerequisites are available as Cygwin packages, should be possible
to build it. However, there were some issues the last time I tried to
build Dis, e.g. loading modules. Please continue reporting how it is
going and don't hesitate to ask here or the Dia people for help if you
get errors.
Gerrit
The prerequisites for dia are:
* pkg-config
gstrfuncs.c: In function `g_strsignal':
gstrfuncs.c:674: error: conflicting types for `strsignal'
/usr/include/string.h:75: error: previous declaration of `strsignal'
gstrfuncs.c:674: warning: extern declaration of `strsignal'
doesn't match global one
* dintltool 0.21 (ftp://ftp.gnome.org/pub/gnome/sources/intltool/)
0.31.2 compiled, 1 test failed (#6), I installed it anyway.
* font-config 1.0.1
Is this the same as http://freedesktop.org/~fontconfig/? That
s/w's current version is 2.2.96, and fails its test:
make[2]: Entering directory `/usr/local/src/fontconfig-2.2.96/test'
*** Test failed: Subdir with an out-of-date cache file
*** output is in 'out', expected output in 'out.expected'
FAIL: run-test.sh
===================
1 of 1 tests failed
===================
* GLib 2.1.3
glib-2.4.1 requiers pkg-config, which doesn't compile
* ATK 2.0.0
* FreeType 2.0.9
FreeType 2.1.5 works under cygwin.
* Pango 2.1.5
* GTK+ 2.0.0
* libxml 2.3.9
libxml 2.6.5 compile, but fails to compile the requirements for
its tests:
Making check in .
make[1]: Entering directory `/usr/local/src/libxml2-2.6.5'
/bin/bash ./libtool --mode=link gcc -g -O2 -Wall -o
xmllint.exe xmllint.o ./
libxml2.la -lpthread -liconv -lm
gcc -g -O2 -Wall -o xmllint.exe xmllint.o ./.libs/libxml2.a
-lpthread /usr/lib/
libiconv.dll.a
./.libs/libxml2.a(xmlIO.o)(.text+0x10cb): In function
`xmlGzfileOpen_real':
/usr/local/src/libxml2-2.6.5/xmlIO.c:849: undefined reference to
`_gzdopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x111f):/usr/local/src/libxml2-2.6.5/xmlIO.c:87
3: undefined reference to `_gzopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x121c): In function
`xmlGzfileOpenW':
/usr/local/src/libxml2-2.6.5/xmlIO.c:919: undefined reference to
`_gzdopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x1260):/usr/local/src/libxml2-2.6.5/xmlIO.c:94
1: undefined reference to `_gzopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x12be): In function `xmlGzfileRead':
/usr/local/src/libxml2-2.6.5/xmlIO.c:960: undefined reference to
`_gzread'
./.libs/libxml2.a(xmlIO.o)(.text+0x131e): In function
`xmlGzfileWrite':
/usr/local/src/libxml2-2.6.5/xmlIO.c:980: undefined reference to
`_gzwrite'
./.libs/libxml2.a(xmlIO.o)(.text+0x1372): In function
`xmlGzfileClose':
/usr/local/src/libxml2-2.6.5/xmlIO.c:996: undefined reference to
`_gzclose'
./.libs/libxml2.a(xmlIO.o)(.text+0x1403): In function
`xmlFreeZMemBuff':
/usr/local/src/libxml2-2.6.5/xmlIO.c:1102: undefined reference to
`_deflateEnd'
./.libs/libxml2.a(xmlIO.o)(.text+0x1559): In function
`xmlCreateZMemBuff':
/usr/local/src/libxml2-2.6.5/xmlIO.c:1146: undefined reference to
`_deflateInit2
_'
./.libs/libxml2.a(xmlIO.o)(.text+0x157f):/usr/local/src/libxml2-2.6.5/xmlIO.c:11
61: undefined reference to `_crc32'
./.libs/libxml2.a(xmlIO.o)(.text+0x18c4): In function
`xmlZMemBuffAppend':
/usr/local/src/libxml2-2.6.5/xmlIO.c:1263: undefined reference to
`_deflate'
./.libs/libxml2.a(xmlIO.o)(.text+0x18e2):/usr/local/src/libxml2-2.6.5/xmlIO.c:12
75: undefined reference to `_crc32'
./.libs/libxml2.a(xmlIO.o)(.text+0x1a0c): In function
`xmlZMemBuffGetContent':
/usr/local/src/libxml2-2.6.5/xmlIO.c:1304: undefined reference to
`_deflate'
./.libs/libxml2.a(xmlIO.o)(.text+0x2786): In function
`xmlParserInputBufferCreat
eFilename':
/usr/local/src/libxml2-2.6.5/xmlIO.c:2156: undefined reference to
`_gzread'
./.libs/libxml2.a(xmlIO.o)(.text+0x27b5):/usr/local/src/libxml2-2.6.5/xmlIO.c:21
61: undefined reference to `_gzrewind'
collect2: ld returned 1 exit status
Any idea on how to get these to work so I can run Dia on Windows XP?
Thanks for your help,
Steve Kelem
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/