Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Progress report Corel-WINE for WPO2K4L

1 view
Skip to first unread message

James Richard Tyrer

unread,
Sep 22, 2004, 11:11:50 PM9/22/04
to corel.wpoffice.office2000-linux

I downloaded the source code and unpacked it. That looks good -- I was pleased
to see that it has a standard GNU build system in place. But, it doesn't seem to
be quite what is needed since it doesn't have a variable for includes.

It turned out that a large problem was building GLibc-2.3.1. It wouldn't build
with the current compiler so I also installed GCC-3.3.4. I had to hunt up three
patches for GLibc-2.3.1 to get it to build OK. But if finally did build and I
have installed it in a private directory.

So, to try this, I used Xandros' "wineserver" file and stated with the Xandros
"wpolauncher" script and made a few changes to test this.

Yes it runs with my newly build GLibc-2.3.1 and the old X11R6 libraries from the
Xandros package. Some additional changes to the: "LD_LIBRARY_PATH" and I don't
get any errors when I try to print to my printer, but the print job just
disappears without any error -- it doesn't print.

Building Corel-WINE against the old GLibc-2.3.1 is going to take a little work.
And, I am not sure that it will build with a compiler this new -- I may need
to install an even older version of GCC.

--
JRT

James Richard Tyrer

unread,
Sep 27, 2004, 8:12:11 PM9/27/04
to corel.wpoffice.office2000-linux

James Richard Tyrer wrote:
> Building Corel-WINE against the old GLibc-2.3.1 is going to take a
> little work. And, I am not sure that it will build with a compiler this
> new -- I may need to install an even older version of GCC.
>

I thought that this was going well. One small patch:

------8<------8<------8<------8<------8<------8<------8<------8<------
--- corelwine-cvs.old/if1632/thunk.c 2000-04-11 21:10:01.000000000 +0000
+++ corelwine-cvs/if1632/thunk.c 2004-09-27 22:45:43.000000000 +0000
@@ -360,7 +360,7 @@
if ( hModule )
{
#define GETADDR( var, name ) \
- *(FARPROC *)&Callout.##var = GetProcAddress( hModule, name )
+ *(FARPROC *)&Callout.var = GetProcAddress( hModule, name )

GETADDR( PeekMessageA, "PeekMessageA" );
GETADDR( PeekMessageW, "PeekMessageW" );
@@ -384,7 +384,7 @@
if ( pModule )
{
#define GETADDR( var, name, thk ) \
- *(FARPROC *)&Callout.##var = THUNK_GetCalloutThunk( pModule, name, \
+ *(FARPROC *)&Callout.var = THUNK_GetCalloutThunk( pModule, name, \
(RELAY)THUNK_CallTo16_##thk )

GETADDR( PeekMessage16, "PeekMessage", word_lwwww );


------8<------8<------8<------8<------8<------8<------8<------8<------

and it built till it tried to link "wine":

../libwine.so: undefined reference to `errno'
../libwine.so: undefined reference to `h_errno'
collect2: ld returned 1 exit status

Yes, this is the dreaded 'errno' problem.

This may take a while.

--
JRT

James Richard Tyrer

unread,
Oct 6, 2004, 1:58:10 AM10/6/04
to corel.wpoffice.office2000-linux

James Richard Tyrer wrote:

>
> This may take a while.

Yes, it is taking a while. Probably having a bad case of sinusitis hasn't
helped. :-)

The Auto* build system for Corel-WINE is rather primitive. So, I am going to
have to make a chroot environment to build it against the static GLibc-2.3.1.

I had a little trouble doing this (building the environment) -- so I tried the
LFS instructions. I think that I have now have the hard part done -- it takes a
while on my 400 MHZ system.

I now have a tools directory made on my SCRATCH partition as per the
instructions for Linux for Scratch. Now, I should be able to install what I
need to build it in the chroot tree, and try a build in a day or two (it takes a
while to build GCC and GLibc).

--
JRT

Leon Goldstein

unread,
Oct 6, 2004, 1:50:07 PM10/6/04
to corel.wpoffice.office2000-linux
JRT: Thanks for the update; I'm watching this newsgroup closely.

--
Leon A. Goldstein

Powered by Libranet 2.8 Debian Linux
System G2


0 new messages