Gerrit --
Thanks for taking the time to look at the Graphics::MNG module.
There are several issues in your test results. Let's see if I can
address them:
1. Some filenames have been changed to lower-case. I've traced this to
my Win32 port of the 'tar' utility. The files are named correctly on
my hard drive, but are lower-case in the 'tar.gz' file. They appear
correctly in the 'zip' file.
This would cause problems for (at least) the following files:
Makefile.PL => makefile.pl
MNG.pm => mng.pm
Lcms.h => lcms.h
I'll see if I can re-package this with the correct filenames and
upload it again.
2. As indicated in the README (er, readme) file, I've only tested on
Win32. On top of that (as indicated in the Makefile.PL (er,
makefile.pl)), I've been unsuccessful in coming up with a 'lib' file
that will allow me to properly link/load the published libmng.dll.
I've included a static library build of the libmng for Win32 for these
reasons:
1. Convenience -- everything you need to build for Win32 is in the
package. You don't have to go download libmng (although this
would be better if I could link against the DLL).
2. Build issues -- since the package is still sensitive to
compilation flags, I wanted to provide a compatible libmng library
for the Perl I/F.
3. The end user is not obligated to use the default settings in the
Makefile.PL. I've provided verbose comments suggesting that the
user should edit the Makefile.PL as appropriate for include and
library paths. I've even mentioned this in the README file.
3. Since I haven't built on cygwin, I don't know why you wouldn't be able
to link against the library. Perhaps I have some compilation flags
set wrong for cygwin? If I can find the time, I'll install cygwin and
try to build Graphics::MNG there. If different compilation flags are
necessary, I can easily accomodate alternate sets of parameters in the
Makefile.PL file based on the operating system type.
Testing on any UNIX-like platforms is likely to yield the same
results. You may want to limit your testing to the Win32 platform for
now.
Sorry you didn't get it to work.
Thanks for trying.
-Dave Mott, SEP
On Sat, 27 Oct 2001, Gerrit Haase wrote:
> This distribution has been tested as part of the cpan-testers
> effort to test as many new uploads to CPAN as possible. See
> http://testers.cpan.org/
>
> Please cc any replies to [EMAIL PROTECTED] to keep other
> test volunteers informed and to prevent any duplicate effort.
>
> --
>
> package will not work on this platform
>
> 1.
>
> There is a little problem here with filenames in the package:
>
> Package seems to come without Makefile.PL.
> (The test -f "/home/Siebenschlaefer/.cpan/build/graphics-mng-0.02/Makefile.PL"
>returned
> false.)
> Writing one on our own (setting NAME to Graphics)
> Could not open >/home/Siebenschlaefer/.cpan/build/graphics-mng-0.02/Makefile.PL:
>Filename
> exists with different case at /usr/lib/perl5/5.6.1/cygwin-multi/CPAN.pm line 2029
>
> $ perl makefile.pl
> Could not open 'MNG.pm': No such file or directory at (eval 8) line 6.
>
> from mng.xs (which is classified in manifest as MNG.xs):
>
> #include <Lcms.h>
>
> results in this error:
>
> MNG.xs:29: Lcms.h: No such file or directory
> the header included is 'lcms.h' as is the one on my harddisk.
>
> 2.
>
> Why is there libmng.lib (~1mb) included? I have my
> own libmng, I don't want this one, so why need I to
> load down an additional megabyte?
>
> 3.
>
> Besides these problems, I was not able to link against a static libmng.a
> or against a dynamic libmng.
>
> Yours,
>
> Gerrit
>
> --
>
> Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
> Platform:
> osname=cygwin, osvers=1.3.2(0.3932), archname=cygwin-multi
> uname='cygwin_nt-4.0 loreley 1.3.2(0.3932) 2001-05-20 23:28 i686 unknown '
> config_args='-de -Dusemultiplicity'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=define
> useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=undef use64bitall=undef uselongdouble=undef
> Compiler:
> cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing
>-I/usr/local/include',
> optimize='-O2',
> cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local/include'
> ccversion='', gccversion='2.95.3-5 (cygwin special)', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
> alignbytes=8, usemymalloc=y, prototype=define
> Linker and Libraries:
> ld='ld2', ldflags =' -s -L/usr/local/lib'
> libpth=/usr/local/lib /usr/lib /lib
> libs=-lgdbm -lcrypt
> perllibs=-lcrypt
> libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_6_1.a
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
> cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'
>