I'm trying to compile the windows port in CVS. =20
First, there seems to be a problem with the conversion from unix to dos =
file format (For all the makefiles, i had to delete a character at the =
end of line). Could this be a setting in WinCVS ? I haven't found it =
as yet, but I'm pretty new to CVS. =20
When that was solved, i tried 'Make -f Makefile.mingw install'. After =
some processing, I get the following error :
gcc.exe -O2 -Wall -mno-cygwin -fnative-struct =
-DAIM_BUILDDATE=3D\"`date +%Y%m%d`\" -DAIM_BUILDTIME=3D\"`date =
+%H%M%S`\" -DVERSION=3D\"0.60cvs\" -DHAVE_CONFIG_H -DGTK_ENABLE_BROKEN =
-I. -I../../../win32-dev/gtk_2_0/include =
ib/glib-2.0/include -I../../../win32-dev/gtk_2_0/lib/gtk-2.0/include =
-I../../src -I../../src/win32 -I../.. -o gtkticker.o -c gtkticker.c
dlltool --dllname ticker.dll -z ticker.def \
ticker.o gtkticker.o, ...) failed.
make (e=3D193): Error 193make.exe: *** [ticker.def] Error 193
If i run Make a second time, it seems to get through this without =
problems, but the I get the following error :
gcc.exe -O2 -Wall -Werror -mno-cygwin -fnative-struct -DVERSION=3D =
"0.60cvs\" -DGTK_ENABLE_BROKEN -I. =
-I../../../../win32-dev/gtk_2_0/lib/gtk-2.0/include -I../../../src =
-I../../../src/win32 -I../../.. -o win2ktrans.o -c win2ktrans.c
Syntax error: Unterminated quoted string
make.exe: *** [win2ktrans.o] Error 2
make.exe: Leaving directory =
make.exe: *** [all] Error 2
I'm using gtk 2.0 and gtkspell 2.0.3 on Windows 2000.
Can anyone give me a hint ?
> First, there seems to be a problem with the conversion from unix
> to dos file format (For all the makefiles, i had to delete a character
> at the end of line).
That's because the makefiles were written with a Microsoft line
ending, while other files weren't. Two suggestions: 1) Find a text editor
that doesn't care about line endings (XEmacs is what I use). 2) Run
dos2unix on these files. It converts them to a unix style line break. Also,
unix2dos will convert it back.
I'm not sure precisely what's causing your build errors. You may want to
update from cvs and see if that fixes it. The fact that both errors happen
with plugins, make me worry that possibly you deleted too much out of
the makefile, although that would have likely come with a different error.
My other suggestion would probably be try and compile without editing
anything from the source and see if it errors similar to that. It may be
that simply editing the line endings has caused it to break. It's happened
to me before.