Re: [Fink-devel] Problem compiling dosbox

2010-03-04 Thread Dr. Wolfram Schroers
Yes, it works now! Thanks!

Wolfram


> 
> Am 03.03.2010 um 12:08 schrieb Dr. Wolfram Schroers:
> 
>> I wish you to get well soon!
>> 
> 
> Thanks.
> 
> In the meantime, I just commited rev 3 of the package, which hopefully fixes 
> the issue. Please tell me how it works for you (you'll need to run a "fink 
> selfupdate" first, of course). Thanks also to Daniel.
> 
> 
> Bye,
> Max



smime.p7s
Description: S/MIME cryptographic signature
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

[Fink-devel] problem installing perl gd module from outside fink

2010-03-04 Thread Gavin Sherlock
Hi,

I'm trying to install the Perl GD module, by using the CPAN download, rather 
than via fink - the reason I'm doing that is because I will have to hardcode:

#!/sw/bin/perl5.8.8

in my scripts if I use the perl gd-pm588 package, and these are scripts that 
are part of a module I release to CPAN, so I don't want to hardcode it there.  
However, if I install the gd2 package via fink, then try to install GD.pm from 
CPAN, when I try to compile it, I get complaints about "file is not of required 
architecture" (see below my signature for full output of 'perl Makefile.PL'.  I 
tried clean installing fink from scratch, and still no dice.  I'm selected to 
default to 32-bit upon configuration.  Does anyone have any ideas?

Thanks,
Gavin

pliny 293 % fink -V
Package manager version: 0.29.10
Distribution version: selfupdate-rsync Wed Mar  3 17:36:47 2010, 10.6, i386

pliny 295 % sw_vers 
ProductName:Mac OS X
ProductVersion: 10.6.2
BuildVersion:   10C540

pliny 290 % perl Makefile.PL 
Notice: Type perl Makefile.PL -h for command-line option summary.

Configuring for libgd version 2.0.35.
Checking for stray libgd header files...none found.

Included Features:  GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG 
GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE 
VERSION_33
GD library used from:   /sw
Checking if your kit is complete...
Looks good
Writing Makefile for GD
pliny 291 % make
/usr/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
cp GD/Group.pm blib/lib/GD/Group.pm
/usr/bin/perl /System/Library/Perl/5.10.0/ExtUtils/xsubpp  -typemap 
/System/Library/Perl/5.10.0/ExtUtils/typemap -typemap typemap  GD.xs > GD.xsc 
&& mv GD.xsc GD.c
gcc-4.2 -c  -I/sw/include -Wformat=0 -Os   -DVERSION=\"2.44\" 
-DXS_VERSION=\"2.44\"  
"-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"  -DHAVE_JPEG 
-DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 
-DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
GD.xs: In function ‘XS_GD__Image_STORABLE_thaw’:
GD.xs:923: warning: cast from pointer to integer of different size
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.bundle
LD_RUN_PATH="/usr/X11R6/lib:/sw/lib:/sw/lib/fontconfig2/lib" gcc-4.2 
-mmacosx-version-min=10.6  -arch x86_64 -arch i386 -arch ppc -bundle -undefined 
dynamic_lookup -L/usr/local/lib GD.o  -o blib/arch/auto/GD/GD.bundle   \
   -L/sw/lib -L/sw/lib -L/sw/lib/fontconfig2/lib -L/sw/lib 
-L/usr/X11R6/lib -L/sw/lib/fontconfig2/lib -L/sw/lib -lXpm -lX11 -ljpeg 
-lfontconfig -lfreetype -lpng12 -lz -liconv -lgd \
  
ld: warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
ld: warning: in /sw/lib/libfreetype.dylib, file is not of required architecture
ld: warning: in /sw/lib/libpng12.dylib, file is not of required architecture
ld: warning: in /sw/lib/libiconv.dylib, file is not of required architecture
ld: warning: in /sw/lib/libgd.dylib, file is not of required architecture
ld: warning: in GD.o, file is not of required architecture
ld: warning: in GD.o, file is not of required architecture
ld: warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
ld: warning: in /sw/lib/libfreetype.dylib, file is not of required architecture
ld: warning: in /sw/lib/libpng12.dylib, file is not of required architecture
ld: warning: in /sw/lib/libiconv.dylib, file is not of required architecture
ld: warning: in /sw/lib/libgd.dylib, file is not of required architecture
chmod 755 blib/arch/auto/GD/GD.bundle
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" bdf_scripts/bdf2gdfont.PLS 
bdf_scripts/bdf2gdfont.pl
Extracting bdf2gdfont.pl (with variable substitutions)
cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl
/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/bdf2gdfont.pl
Manifying blib/man1/bdf2gdfont.pl.1
Manifying blib/man3/GD::Polyline.3pm
Manifying blib/man3/GD::Image.3pm
Manifying blib/man3/GD::Simple.3pm
Manifying blib/man3/GD.3pm
Manifying blib/man3/GD::Polygon.3pm


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


[Fink-devel] zope-2.6.3-1106

2010-03-04 Thread Samuli Eldfors
Feedback: not good

Installation failed

Compiling /sw/lib/zope/utilities/ZODBTools/zeopack.py ...
Compiling /sw/lib/zope/utilities/ZODBTools/zeoreplay.py ...
Compiling /sw/lib/zope/utilities/ZODBTools/zeoserverlog.py ...
SyntaxError: ('invalid syntax', 
('/sw/lib/zope/utilities/ZODBTools/zeoserverlog.py', 368, 6, 'as = []\n'))

Compiling /sw/lib/zope/utilities/ZODBTools/zeoup.py ...
Compiling /sw/lib/zope/utilities/ZODBTools/zodbload.py ...
Compiling /sw/lib/zope/utilities/bbb.py ...
Compiling /sw/lib/zope/utilities/check_catalog.py ...
Compiling /sw/lib/zope/utilities/fixbbbts.py ...
Compiling /sw/lib/zope/utilities/load_site.py ...
Compiling /sw/lib/zope/utilities/requestprofiler.py ...
Compiling /sw/lib/zope/utilities/testrunner.py ...
Compiling /sw/lib/zope/z2.py ...
Compiling /sw/lib/zope/zpasswd.py ...
/sw/bin/dpkg: error processing zope (--install):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 zope
### execution of /sw/bin/dpkg-lockwait failed, exit code 1
Failed: can't install package zope-2.6.3-1106

--
Package manager version: 0.29.10
Distribution version: selfupdate-rsync Thu Mar  4 13:20:14 2010, 10.6, x86_64
Mac OS X version: 10.6.2
Xcode version: 3.2.1
gcc version: 4.2.1 (Apple Inc. build 5646) (dot 1)
make version: 3.81
Feedback Courtesy of FinkCommander


Samuli Eldfors
samuli.eldf...@helsinki.fi



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] problem installing perl gd module from outside fink

2010-03-04 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/3/10 10:13 PM, Gavin Sherlock wrote:
> Hi,
> 
> I'm trying to install the Perl GD module, by using the CPAN download, rather 
> than via fink - the reason I'm doing that is because I will have to hardcode:
> 
> #!/sw/bin/perl5.8.8
> 
> in my scripts if I use the perl gd-pm588 package, and these are scripts that 
> are part of a module I release to CPAN, so I don't want to hardcode it there. 
>  However, if I install the gd2 package via fink, then try to install GD.pm 
> from CPAN, when I try to compile it, I get complaints about "file is not of 
> required architecture" (see below my signature for full output of 'perl 
> Makefile.PL'.  I tried clean installing fink from scratch, and still no dice. 
>  I'm selected to default to 32-bit upon configuration.  Does anyone have any 
> ideas?
> 
> Thanks,
> Gavin
> 
> pliny 293 % fink -V
> Package manager version: 0.29.10
> Distribution version: selfupdate-rsync Wed Mar  3 17:36:47 2010, 10.6, i386
> 
> pliny 295 % sw_vers 
> ProductName:  Mac OS X
> ProductVersion:   10.6.2
> BuildVersion: 10C540
> 
> pliny 290 % perl Makefile.PL 
> Notice: Type perl Makefile.PL -h for command-line option summary.
> 
> Configuring for libgd version 2.0.35.
> Checking for stray libgd header files...none found.
> 
> Included Features:  GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG 
> GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE 
> VERSION_33
> GD library used from:   /sw
> Checking if your kit is complete...
> Looks good
> Writing Makefile for GD
> pliny 291 % make
> /usr/bin/perl GD/Image.pm.PLS GD/Image.pm
> Extracting Image.pm (with variable substitutions)
> cp GD/Polyline.pm blib/lib/GD/Polyline.pm
> cp qd.pl blib/lib/qd.pl
> cp GD/Image.pm blib/lib/GD/Image.pm
> cp GD.pm blib/lib/GD.pm
> AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
> cp GD/Simple.pm blib/lib/GD/Simple.pm
> cp GD/Polygon.pm blib/lib/GD/Polygon.pm
> cp GD/Group.pm blib/lib/GD/Group.pm
> /usr/bin/perl /System/Library/Perl/5.10.0/ExtUtils/xsubpp  -typemap 
> /System/Library/Perl/5.10.0/ExtUtils/typemap -typemap typemap  GD.xs > GD.xsc 
> && mv GD.xsc GD.c
> gcc-4.2 -c  -I/sw/include -Wformat=0 -Os   -DVERSION=\"2.44\" 
> -DXS_VERSION=\"2.44\"  
> "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"  -DHAVE_JPEG 
> -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 
> -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
> GD.xs: In function ‘XS_GD__Image_STORABLE_thaw’:
> GD.xs:923: warning: cast from pointer to integer of different size
> Running Mkbootstrap for GD ()
> chmod 644 GD.bs
> rm -f blib/arch/auto/GD/GD.bundle
> LD_RUN_PATH="/usr/X11R6/lib:/sw/lib:/sw/lib/fontconfig2/lib" gcc-4.2 
> -mmacosx-version-min=10.6  -arch x86_64 -arch i386 -arch ppc -bundle 
> -undefined dynamic_lookup -L/usr/local/lib GD.o  -o 
> blib/arch/auto/GD/GD.bundle \
>  -L/sw/lib -L/sw/lib -L/sw/lib/fontconfig2/lib -L/sw/lib 
> -L/usr/X11R6/lib -L/sw/lib/fontconfig2/lib -L/sw/lib -lXpm -lX11 -ljpeg 
> -lfontconfig -lfreetype -lpng12 -lz -liconv -lgd \
> 
> ld: warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
> ld: warning: in /sw/lib/libfreetype.dylib, file is not of required 
> architecture
> ld: warning: in /sw/lib/libpng12.dylib, file is not of required architecture
> ld: warning: in /sw/lib/libiconv.dylib, file is not of required architecture
> ld: warning: in /sw/lib/libgd.dylib, file is not of required architecture
> ld: warning: in GD.o, file is not of required architecture
> ld: warning: in GD.o, file is not of required architecture
> ld: warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
> ld: warning: in /sw/lib/libfreetype.dylib, file is not of required 
> architecture
> ld: warning: in /sw/lib/libpng12.dylib, file is not of required architecture
> ld: warning: in /sw/lib/libiconv.dylib, file is not of required architecture
> ld: warning: in /sw/lib/libgd.dylib, file is not of required architecture

I believe that the issue is that the system's Perl is set up to try to
build universal binaries--cf. the "-arch x86_64 -arch i386 -arch
ppc"--but none of Fink's libraries are universal (by design).  We have
to go to some pains to have things build properly (for our purposes)
using Snow Leopard's Perl.

Any reason not just to hardode "#!/usr/bin/env perl" ?

- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuPxmMACgkQB8UpO3rKjQ9grQCfX+LBn/tZNtZgqRH0o/vrbzJN
Mh0AnAkmOCs24ELgZPpTwefNGOFmB4qQ
=+KkZ
-END PGP SIGNATURE-

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studi

Re: [Fink-devel] problem installing perl gd module from outside fink

2010-03-04 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/4/10 9:40 AM, Alexander Hansen wrote:
> On 3/3/10 10:13 PM, Gavin Sherlock wrote:
>> Hi,
> 
>> I'm trying to install the Perl GD module, by using the CPAN download, rather 
>> than via fink - the reason I'm doing that is because I will have to hardcode:
> 
>> #!/sw/bin/perl5.8.8
> 
>> in my scripts if I use the perl gd-pm588 package, and these are scripts that 
>> are part of a module I release to CPAN, so I don't want to hardcode it 
>> there.  However, if I install the gd2 package via fink, then try to install 
>> GD.pm from CPAN, when I try to compile it, I get complaints about "file is 
>> not of required architecture" (see below my signature for full output of 
>> 'perl Makefile.PL'.  I tried clean installing fink from scratch, and still 
>> no dice.  I'm selected to default to 32-bit upon configuration.  Does anyone 
>> have any ideas?
> 
>> Thanks,
>> Gavin
> 
>> pliny 293 % fink -V
>> Package manager version: 0.29.10
>> Distribution version: selfupdate-rsync Wed Mar  3 17:36:47 2010, 10.6, i386
> 
>> pliny 295 % sw_vers 
>> ProductName: Mac OS X
>> ProductVersion:  10.6.2
>> BuildVersion:10C540
> 
>> pliny 290 % perl Makefile.PL 
>> Notice: Type perl Makefile.PL -h for command-line option summary.
> 
>> Configuring for libgd version 2.0.35.
>> Checking for stray libgd header files...none found.
> 
>> Included Features:  GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG 
>> GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE 
>> VERSION_33
>> GD library used from:   /sw
>> Checking if your kit is complete...
>> Looks good
>> Writing Makefile for GD
>> pliny 291 % make
>> /usr/bin/perl GD/Image.pm.PLS GD/Image.pm
>> Extracting Image.pm (with variable substitutions)
>> cp GD/Polyline.pm blib/lib/GD/Polyline.pm
>> cp qd.pl blib/lib/qd.pl
>> cp GD/Image.pm blib/lib/GD/Image.pm
>> cp GD.pm blib/lib/GD.pm
>> AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
>> cp GD/Simple.pm blib/lib/GD/Simple.pm
>> cp GD/Polygon.pm blib/lib/GD/Polygon.pm
>> cp GD/Group.pm blib/lib/GD/Group.pm
>> /usr/bin/perl /System/Library/Perl/5.10.0/ExtUtils/xsubpp  -typemap 
>> /System/Library/Perl/5.10.0/ExtUtils/typemap -typemap typemap  GD.xs > 
>> GD.xsc && mv GD.xsc GD.c
>> gcc-4.2 -c  -I/sw/include -Wformat=0 -Os   -DVERSION=\"2.44\" 
>> -DXS_VERSION=\"2.44\"  
>> "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"  -DHAVE_JPEG 
>> -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 
>> -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
>> GD.xs: In function XS_GD__Image_STORABLE_thaw:
>> GD.xs:923: warning: cast from pointer to integer of different size
>> Running Mkbootstrap for GD ()
>> chmod 644 GD.bs
>> rm -f blib/arch/auto/GD/GD.bundle
>> LD_RUN_PATH="/usr/X11R6/lib:/sw/lib:/sw/lib/fontconfig2/lib" gcc-4.2 
>> -mmacosx-version-min=10.6  -arch x86_64 -arch i386 -arch ppc -bundle 
>> -undefined dynamic_lookup -L/usr/local/lib GD.o  -o 
>> blib/arch/auto/GD/GD.bundle\
>> -L/sw/lib -L/sw/lib -L/sw/lib/fontconfig2/lib -L/sw/lib 
>> -L/usr/X11R6/lib -L/sw/lib/fontconfig2/lib -L/sw/lib -lXpm -lX11 -ljpeg 
>> -lfontconfig -lfreetype -lpng12 -lz -liconv -lgd \
> 
>> ld: warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
>> ld: warning: in /sw/lib/libfreetype.dylib, file is not of required 
>> architecture
>> ld: warning: in /sw/lib/libpng12.dylib, file is not of required architecture
>> ld: warning: in /sw/lib/libiconv.dylib, file is not of required architecture
>> ld: warning: in /sw/lib/libgd.dylib, file is not of required architecture
>> ld: warning: in GD.o, file is not of required architecture
>> ld: warning: in GD.o, file is not of required architecture
>> ld: warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
>> ld: warning: in /sw/lib/libfreetype.dylib, file is not of required 
>> architecture
>> ld: warning: in /sw/lib/libpng12.dylib, file is not of required architecture
>> ld: warning: in /sw/lib/libiconv.dylib, file is not of required architecture
>> ld: warning: in /sw/lib/libgd.dylib, file is not of required architecture
> 
> I believe that the issue is that the system's Perl is set up to try to
> build universal binaries--cf. the "-arch x86_64 -arch i386 -arch
> ppc"--but none of Fink's libraries are universal (by design).  We have
> to go to some pains to have things build properly (for our purposes)
> using Snow Leopard's Perl.
> 
> Any reason not just to hardode "#!/usr/bin/env perl" ?
> 

Woops.  Forgot to add "and use fink's perl588 to test this out"?  Also,
have you tried contacting fink's maintainer for gd-pm5* for an update?
(though the lack of a 5100 variant quite possibly means he isn't active
anymore)
- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuPyKcACgkQB8UpO3rKjQ/2XQCgnvScp4B9Tjx

[Fink-devel] Freeciv 2.2.0 Build Problem

2010-03-04 Thread David Lowe
Okeh, i'm somewhat embarrassed in that i've run into a problem with my 
own package.  Here's the story: i successfully built and ran the new package 
last week, and made several minor updates to the description fields.  Today i 
tentatively removed the sdl-mixer dependency and bumped the revision, did 'fink 
remove freeciv', 'fink index', 'fink selfupdate', 'fink update-all', and 
finally 'fink install freeciv'.  The build is now choking where it didn't last 
week, and i've not been able to find the cause.  I put the dependency back, of 
course, but that didn't change things.  Can i get some help?

My experimental info file still looks much like the old one, other than 
updating the md5 and deleting the fetch of Source2 [the soundset is now in the 
main tarball, rather than a separate option].  I have also removed two obsolete 
ConfigureParams.



freeciv.info
Description: Binary data


The problem seems to come in while copying the sounds.  The previous 
[successful] build has this:

> make[2]: Nothing to be done for `install-data-am'.
> /bin/cp -Rv ../data/* 
> /sw/src/fink.build/root-freeciv-2.2.0-1/sw/share/freeciv/
> ../data/stdsounds -> 
> /sw/src/fink.build/root-freeciv-2.2.0-1/sw/share/freeciv/stdsounds
> ../data/stdsounds/foot3.ogg -> 
> /sw/src/fink.build/root-freeciv-2.2.0-1/sw/share/freeciv/stdsounds/foot3.ogg

The new [failed] build has this:

> make[2]: Nothing to be done for `install-data-am'.
> /bin/cp -Rv ../data/* 
> /sw/src/fink.build/root-freeciv-2.2.0-2/sw/share/freeciv/
> cp: ../data/*: No such file or directory
> ### execution of /bin/cp failed, exit code 1

Both /sw/src/fink.build/freeciv-2.2.0-2/freeciv-2.2.0/data/stdsounds 
and /sw/src/fink.build/root-freeciv-2.2.0-2/sw/share/freeciv/stdsounds are 
appropriately populated with sound files.  Where else should i be looking?  I 
didn't attach the logs as they are rather long, but they are here if anybody 
wants me to send them personally.

Advance Thanks,

Sent from my MacBookPro

A seminar on time travel will be held 2 weeks ago.--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Re: [Fink-devel] Freeciv 2.2.0 Build Problem

2010-03-04 Thread Hanspeter Niederstrasser
On 3/4/10 2:56 PM, David Lowe wrote:
>   Okeh, i'm somewhat embarrassed in that i've run into a problem with my 
> own package.  Here's the story: i successfully built and ran the new package 
> last week, and made several minor updates to the description fields.  Today i 
> tentatively removed the sdl-mixer dependency and bumped the revision, did 
> 'fink remove freeciv', 'fink index', 'fink selfupdate', 'fink update-all', 
> and finally 'fink install freeciv'.  The build is now choking where it didn't 
> last week, and i've not been able to find the cause.  I put the dependency 
> back, of course, but that didn't change things.  Can i get some help?
>
>   My experimental info file still looks much like the old one, other than 
> updating the md5 and deleting the fetch of Source2 [the soundset is now in 
> the main tarball, rather than a separate option].  I have also removed two 
> obsolete ConfigureParams.
>
>
>
>
>
>
>   The problem seems to come in while copying the sounds.  The previous 
> [successful] build has this:
>
>> make[2]: Nothing to be done for `install-data-am'.
>> /bin/cp -Rv ../data/* 
>> /sw/src/fink.build/root-freeciv-2.2.0-1/sw/share/freeciv/
>> ../data/stdsounds ->  
>> /sw/src/fink.build/root-freeciv-2.2.0-1/sw/share/freeciv/stdsounds
>> ../data/stdsounds/foot3.ogg ->  
>> /sw/src/fink.build/root-freeciv-2.2.0-1/sw/share/freeciv/stdsounds/foot3.ogg
>
>   The new [failed] build has this:
>
>> make[2]: Nothing to be done for `install-data-am'.
>> /bin/cp -Rv ../data/* 
>> /sw/src/fink.build/root-freeciv-2.2.0-2/sw/share/freeciv/
>> cp: ../data/*: No such file or directory
>> ### execution of /bin/cp failed, exit code 1
>
>   Both /sw/src/fink.build/freeciv-2.2.0-2/freeciv-2.2.0/data/stdsounds 
> and /sw/src/fink.build/root-freeciv-2.2.0-2/sw/share/freeciv/stdsounds are 
> appropriately populated with sound files.  Where else should i be looking?  I 
> didn't attach the logs as they are rather long, but they are here if anybody 
> wants me to send them personally.

David, I think the relevant part is that your InstallScript is now 
pointing to a non-existant directory.

InstallScript: <<
   /usr/bin/make install DESTDIR=%d
   /bin/cp -Rv ../data/* %i/share/%n/
<<

This makes it look in /sw/src/fink.build/freeciv-2.2.0-2/data rather 
than in /sw/src/fink.build/freeciv-2.2.0-2/freeciv-2.2.0/data .  Because 
the data stuff is now included in the same tarball, the data dir is now 
in a new location (probably just need to get rid of ../ in that cp command)

Hanspeter


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] Freeciv 2.2.0 Build Problem

2010-03-04 Thread David Lowe
On 4 Mar, 2010, at 12:49 PM, Hanspeter Niederstrasser wrote:

> David, I think the relevant part is that your InstallScript is now 
> pointing to a non-existant directory.
> 
> InstallScript: <<
>   /usr/bin/make install DESTDIR=%d
>   /bin/cp -Rv ../data/* %i/share/%n/
> <<
> 
> This makes it look in /sw/src/fink.build/freeciv-2.2.0-2/data rather 
> than in /sw/src/fink.build/freeciv-2.2.0-2/freeciv-2.2.0/data .  Because 
> the data stuff is now included in the same tarball, the data dir is now 
> in a new location (probably just need to get rid of ../ in that cp command)

Hanspeter, thanks for catching that.  I see now that revision 1 build 
worked because it was still using the old Source2 tarball for the sounds.  It 
builds fine with the change, and i can go back to trying out which of these 
dependencies are really needed.

Sent from my MacBookPro

Accept that some days you're the pigeon, and some days you're the statue.
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] problem installing perl gd module from outside fink

2010-03-04 Thread Gavin Sherlock
Thanks for the info.

Is there a guide as to how to update a package to perl 5.10?  If it's trivial, 
I could see if I can put together an info file locally and test it out.

Cheers,
Gavin

On Mar 4, 2010, at 6:50 AM, Alexander Hansen wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 3/4/10 9:40 AM, Alexander Hansen wrote:
>> On 3/3/10 10:13 PM, Gavin Sherlock wrote:
>>> Hi,
>> 
>>> I'm trying to install the Perl GD module, by using the CPAN download, 
>>> rather than via fink - the reason I'm doing that is because I will have to 
>>> hardcode:
>> 
>>> #!/sw/bin/perl5.8.8
>> 
>>> in my scripts if I use the perl gd-pm588 package, and these are scripts 
>>> that are part of a module I release to CPAN, so I don't want to hardcode it 
>>> there.  However, if I install the gd2 package via fink, then try to install 
>>> GD.pm from CPAN, when I try to compile it, I get complaints about "file is 
>>> not of required architecture" (see below my signature for full output of 
>>> 'perl Makefile.PL'.  I tried clean installing fink from scratch, and still 
>>> no dice.  I'm selected to default to 32-bit upon configuration.  Does 
>>> anyone have any ideas?
>> 
>>> Thanks,
>>> Gavin
>> 
>>> pliny 293 % fink -V
>>> Package manager version: 0.29.10
>>> Distribution version: selfupdate-rsync Wed Mar  3 17:36:47 2010, 10.6, i386
>> 
>>> pliny 295 % sw_vers 
>>> ProductName:Mac OS X
>>> ProductVersion: 10.6.2
>>> BuildVersion:   10C540
>> 
>>> pliny 290 % perl Makefile.PL 
>>> Notice: Type perl Makefile.PL -h for command-line option summary.
>> 
>>> Configuring for libgd version 2.0.35.
>>> Checking for stray libgd header files...none found.
>> 
>>> Included Features:  GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG 
>>> GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE 
>>> VERSION_33
>>> GD library used from:   /sw
>>> Checking if your kit is complete...
>>> Looks good
>>> Writing Makefile for GD
>>> pliny 291 % make
>>> /usr/bin/perl GD/Image.pm.PLS GD/Image.pm
>>> Extracting Image.pm (with variable substitutions)
>>> cp GD/Polyline.pm blib/lib/GD/Polyline.pm
>>> cp qd.pl blib/lib/qd.pl
>>> cp GD/Image.pm blib/lib/GD/Image.pm
>>> cp GD.pm blib/lib/GD.pm
>>> AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
>>> cp GD/Simple.pm blib/lib/GD/Simple.pm
>>> cp GD/Polygon.pm blib/lib/GD/Polygon.pm
>>> cp GD/Group.pm blib/lib/GD/Group.pm
>>> /usr/bin/perl /System/Library/Perl/5.10.0/ExtUtils/xsubpp  -typemap 
>>> /System/Library/Perl/5.10.0/ExtUtils/typemap -typemap typemap  GD.xs > 
>>> GD.xsc && mv GD.xsc GD.c
>>> gcc-4.2 -c  -I/sw/include -Wformat=0 -Os   -DVERSION=\"2.44\" 
>>> -DXS_VERSION=\"2.44\"  
>>> "-I/System/Library/Perl/5.10.0/darwin-thread-multi-2level/CORE"  
>>> -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF 
>>> -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
>>> GD.xs: In function XS_GD__Image_STORABLE_thaw:
>>> GD.xs:923: warning: cast from pointer to integer of different size
>>> Running Mkbootstrap for GD ()
>>> chmod 644 GD.bs
>>> rm -f blib/arch/auto/GD/GD.bundle
>>> LD_RUN_PATH="/usr/X11R6/lib:/sw/lib:/sw/lib/fontconfig2/lib" gcc-4.2 
>>> -mmacosx-version-min=10.6  -arch x86_64 -arch i386 -arch ppc -bundle 
>>> -undefined dynamic_lookup -L/usr/local/lib GD.o  -o 
>>> blib/arch/auto/GD/GD.bundle   \
>>>-L/sw/lib -L/sw/lib -L/sw/lib/fontconfig2/lib -L/sw/lib 
>>> -L/usr/X11R6/lib -L/sw/lib/fontconfig2/lib -L/sw/lib -lXpm -lX11 -ljpeg 
>>> -lfontconfig -lfreetype -lpng12 -lz -liconv -lgd \
>> 
>>> ld: warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
>>> ld: warning: in /sw/lib/libfreetype.dylib, file is not of required 
>>> architecture
>>> ld: warning: in /sw/lib/libpng12.dylib, file is not of required architecture
>>> ld: warning: in /sw/lib/libiconv.dylib, file is not of required architecture
>>> ld: warning: in /sw/lib/libgd.dylib, file is not of required architecture
>>> ld: warning: in GD.o, file is not of required architecture
>>> ld: warning: in GD.o, file is not of required architecture
>>> ld: warning: in /sw/lib/libjpeg.dylib, file is not of required architecture
>>> ld: warning: in /sw/lib/libfreetype.dylib, file is not of required 
>>> architecture
>>> ld: warning: in /sw/lib/libpng12.dylib, file is not of required architecture
>>> ld: warning: in /sw/lib/libiconv.dylib, file is not of required architecture
>>> ld: warning: in /sw/lib/libgd.dylib, file is not of required architecture
>> 
>> I believe that the issue is that the system's Perl is set up to try to
>> build universal binaries--cf. the "-arch x86_64 -arch i386 -arch
>> ppc"--but none of Fink's libraries are universal (by design).  We have
>> to go to some pains to have things build properly (for our purposes)
>> using Snow Leopard's Perl.
>> 
>> Any reason not just to hardode "#!/usr/bin/env perl" ?
>> 
> 
> Woops.  Forgot to add "and use fink's perl588 to test this out"?  Also,
> have you 

Re: [Fink-devel] problem installing perl gd module from outside fink

2010-03-04 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/4/10 12:26 PM, Gavin Sherlock wrote:
> Thanks for the info.
> 
> Is there a guide as to how to update a package to perl 5.10?  If it's 
> trivial, I could see if I can put together an info file locally and test it 
> out.
> 
> Cheers,
> Gavin
> 

There's not a guide, as such.  The best way I can think of to do that is
to poke around what existing pm5100 packages do--I believe there is a
lot of package-by-package variation.

The following flow with real and pseudo commands may help.

fink list pm5100

fink dumpinfo -finfofile 


- -- 
Alexander Hansen
Fink User Liaison
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuQQqEACgkQB8UpO3rKjQ81kACgoMrAFVii/fZXvTJ0yj0vuS1R
tUoAn3sifUTqCPvf9Xhg/h2VylzC4VIx
=su9L
-END PGP SIGNATURE-

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel