RE: Compiling Glib 1.223 on win xp



Thanks the comment.

When I run the makefile.PL script, I got a lot of
Note (probably harmless): No library found for -lgobject-2.0
Note (probably harmless): No library found for -lgthread-2.0
Note (probably harmless): No library found for -lglib-2.0
Note (probably harmless): No library found for -lintl
Note (probably harmless): No library found for -lkernel32
...

That I find strange since I have all these (I believe) in my IC:/Prog/gtk_2.16.6 folder.
Following a thread on perlmonks
http://www.perlmonks.org/?node_id=671567
I tried to add
     INC => q[-IC:/Prog/gtk_2.16.6/include/glib-2.0 -IC:/Prog/gtk_2.16.6/lib/glib-2.0/include -I.],
     LIBS => q[-LC:/Prog/gtk_2.16.6/lib -lgobject-2.0 -lglib-2.0 -lintl -liconv -lgthread-2.0],

In the writemakefile call  in the middle of the Makefile.pl. Without effect unfortunately.
Looking at the MakeMaker.pm I have, I can see that INC is not an argument to the WriteMakeFile.

Thanks for any suggestion

F.

-----Original Message-----
From: Brian Manning [mailto:elspicyjack gmail com] 
Sent: mercredi, 25. mai 2011 09:04
To: RAPPAZ Francois
Cc: gtk-perl-list gnome org
Subject: Re: Compiling Glib 1.223 on win xp

On Tue, May 24, 2011 at 11:58 PM, RAPPAZ Francois
<francois rappaz unifr ch> wrote:
Now I have copied the dll in the folder blib\arch\auto\Glib
But still has the same error
Running Mkbootstrap for Glib ()
C:\Perl\bin\perl.exe -MExtUtils::Command -e "chmod" -- 644 Glib.bs
[ LD blib\arch\auto\Glib\Glib.dll ]
C:\Perl\site\lib\auto\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin
\ld.exe: cannot open output file ut:blib\arch\auto\Glib\Glib.dll: Invalid argume
nt
collect2: ld returned 1 exit status
dmake.exe: ÂError code 129, while making 'blib\arch\auto\Glib\Glib.dll'

And my answer is still the same; your path above
"ut:blib\arch\auto\Glib\Glib.dll" doesn't look like it's a valid path,
and this is what the linker is complaining about; you need to fix the
path, and probably figure out how that path got added to your Makefile
for Glib in the first place.

Thanks,

Brian


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