Re: [Fink-users] issues with libiconv.la 10.6

2009-09-12 Thread Charles Lepple
On Sep 12, 2009, at 12:00 AM, Andrew Hartung wrote:

 Should these be/are there 10.5 trees that should be here?

Nope, all of the info files for 10.4, 10.5 and 10.6 are in the same  
10.4 tree (there are different methods used to identify packages which  
only work on a subset of architectures or OS versions).

 I'd like to go 64 bit with fink; is there somehow I can check to see
 what packages are available for 64 bit? There are a couple I must have
 and would have to stick with 32 bit for now if they are not available.

If you just have a few that you want to look up, there is the package  
database:

http://pdb.finkproject.org/pdb/

Look for a version number in the 10.6/x86_64 row.

Someone else might have some magic for parameters to 'fink list' that  
could check all of the packages you have installed, but the link above  
should get you started.

-- 
Charles Lepple

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Problem compiling MySQLdb for Python 2.5

2009-09-12 Thread David Lindquist

Greetings,

I can't seem to compile mysql-python-py25 on Snow Leopard.

With a virgin installation of Fink 0.29.2, I do: fink install mysql- 
python-py25. It seems to compile and install all the dependencies  
correctly, but fails at the end. Looks like there are a few compiler  
errors.


FWIW: I can install mysql-python-py26 with no problems, but I need py25.

Below is the relevant output from the install process:

Any ideas?

##

running build_ext
building '_mysql' extension
creating build/temp.macosx-10.6-i386-2.5
gcc -fno-strict-aliasing -mno-fused-madd -DNDEBUG -g -fwrapv -O3 - 
Wall -Wstrict-prototypes -I/sw/include -Dversion_info=(1,2,2,'final', 
0) -D__version__=1.2.2 -I/sw/include/mysql -I/sw/include/python2.5 -c  
_mysql.c -o build/temp.macosx-10.6-i386-2.5/_mysql.o -Wreturn-type - 
Wtrigraphs -W -Wformat -Wsign-compare -Wunused -fno-omit-frame- 
pointer -g

In file included from /sw/include/python2.5/Python.h:57,
 from pymemcompat.h:10,
 from _mysql.c:29:
/sw/include/python2.5/pyport.h:547: warning: 'struct winsize'  
declared inside parameter list
/sw/include/python2.5/pyport.h:547: warning: its scope is only this  
definition or declaration, which is probably not what you want
/sw/include/python2.5/pyport.h:548: warning: 'struct winsize'  
declared inside parameter list

_mysql.c: In function '_mysql_server_init':
_mysql.c:234: warning: unused parameter 'self'
_mysql.c: In function '_mysql_server_end':
_mysql.c:325: warning: unused parameter 'self'
_mysql.c:326: warning: unused parameter 'args'
_mysql.c: In function '_mysql_thread_safe':
_mysql.c:343: warning: unused parameter 'self'
_mysql.c: In function '_mysql_ConnectionObject_Initialize':
_mysql.c:488: error: 'uint' undeclared (first use in this function)
_mysql.c:488: error: (Each undeclared identifier is reported only once
_mysql.c:488: error: for each function it appears in.)
_mysql.c:488: error: expected ';' before 'port'
_mysql.c:489: error: expected ';' before 'client_flag'
_mysql.c:510: error: 'port' undeclared (first use in this function)
_mysql.c:515: error: 'client_flag' undeclared (first use in this  
function)

_mysql.c: In function '_mysql_connect':
_mysql.c:653: warning: unused parameter 'self'
_mysql.c: In function '_mysql_debug':
_mysql.c:737: warning: unused parameter 'self'
_mysql.c: In function '_mysql_escape_sequence':
_mysql.c:1101: warning: unused parameter 'self'
_mysql.c: In function '_mysql_escape_dict':
_mysql.c:1135: warning: unused parameter 'self'
_mysql.c: In function '_mysql__fetch_row':
_mysql.c:1366: warning: comparison between signed and unsigned
_mysql.c: In function '_mysql_ResultObject_fetch_row':
_mysql.c:1423: warning: comparison of unsigned expression  0 is  
always false

_mysql.c:1432: warning: comparison between signed and unsigned
_mysql.c:1440: warning: comparison between signed and unsigned
_mysql.c:1452: warning: comparison between signed and unsigned
_mysql.c: In function '_mysql_get_client_info':
_mysql.c:1601: warning: unused parameter 'self'
_mysql.c: At top level:
_mysql.c:2329: warning: missing initializer
_mysql.c:2329: warning: (near initialization for  
'_mysql_ConnectionObject_methods[34].ml_flags')

_mysql.c:2368: warning: missing initializer
_mysql.c:2368: warning: (near initialization for  
'_mysql_ConnectionObject_memberlist[5].type')

_mysql.c:2420: warning: missing initializer
_mysql.c:2420: warning: (near initialization for  
'_mysql_ResultObject_methods[8].ml_flags')

_mysql.c:2431: warning: missing initializer
_mysql.c:2431: warning: (near initialization for  
'_mysql_ResultObject_memberlist[1].type')

_mysql.c:2620: warning: missing initializer
_mysql.c:2620: warning: (near initialization for  
'_mysql_ConnectionObject_Type.tp_cache')

_mysql.c:2705: warning: missing initializer
_mysql.c:2705: warning: (near initialization for  
'_mysql_ResultObject_Type.tp_cache')

_mysql.c:2777: warning: missing initializer
_mysql.c:2777: warning: (near initialization for '_mysql_methods 
[11].ml_flags')

error: command 'gcc' failed with exit status 1
### execution of /sw/bin/python2.5 failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-mysql-python-py25-1.2.2-1001
(Reading database ... 14089 files and directories currently installed.)
Removing fink-buildlock-mysql-python-py25-1.2.2-1001 ...
Failed: phase compiling: mysql-python-py25-1.2.2-1001 failed

Before reporting any errors, please run fink selfupdate and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

Beat Birkhofer birkho...@users.sourceforge.net

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software 

Re: [Fink-users] issues with libiconv.la 10.6

2009-09-12 Thread Daniel Macks
On Sat, Sep 12, 2009 at 09:10:54AM -0400, Charles Lepple wrote:
 On Sep 12, 2009, at 12:00 AM, Andrew Hartung wrote:
 
  Should these be/are there 10.5 trees that should be here?
 
 Nope, all of the info files for 10.4, 10.5 and 10.6 are in the same  
 10.4 tree (there are different methods used to identify packages which  
 only work on a subset of architectures or OS versions).
 
  I'd like to go 64 bit with fink; is there somehow I can check to see
  what packages are available for 64 bit? There are a couple I must have
  and would have to stick with 32 bit for now if they are not available.
 
 If you just have a few that you want to look up, there is the package  
 database:
 
 http://pdb.finkproject.org/pdb/
 
 Look for a version number in the 10.6/x86_64 row.
 
 Someone else might have some magic for parameters to 'fink list' that  
 could check all of the packages you have installed, but the link above  
 should get you started.

Not sure which kind of magic you want: 'fink list -it' lists what you
have installed but there is no 'fink list' flag to look at a different
distribution (osx version or architecture type) than that for which
your fink is configured. There are hackerish ways if you want them...

dan

-- 
Daniel Macks
dma...@netspace.org
http://www.netspace.org/~dmacks


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] issues with libiconv.la 10.6

2009-09-12 Thread Charles Lepple

On Sep 12, 2009, at 12:20 PM, Daniel Macks wrote:

 On Sat, Sep 12, 2009 at 09:10:54AM -0400, Charles Lepple wrote:
 On Sep 12, 2009, at 12:00 AM, Andrew Hartung wrote:

 Should these be/are there 10.5 trees that should be here?

 Nope, all of the info files for 10.4, 10.5 and 10.6 are in the same
 10.4 tree (there are different methods used to identify packages  
 which
 only work on a subset of architectures or OS versions).

 I'd like to go 64 bit with fink; is there somehow I can check to see
 what packages are available for 64 bit? There are a couple I must  
 have
 and would have to stick with 32 bit for now if they are not  
 available.

 If you just have a few that you want to look up, there is the package
 database:

 http://pdb.finkproject.org/pdb/

 Look for a version number in the 10.6/x86_64 row.

 Someone else might have some magic for parameters to 'fink list' that
 could check all of the packages you have installed, but the link  
 above
 should get you started.

 Not sure which kind of magic you want: 'fink list -it' lists what you
 have installed but there is no 'fink list' flag to look at a different
 distribution (osx version or architecture type) than that for which
 your fink is configured. There are hackerish ways if you want them...

By check all of the packages I meant check to see if they exist in  
10.6/x86_64, rather than simply listing them.

If Andrew only wants to look up a handful of packages, then the PDB  
search is probably the easiest way.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] issues with libiconv.la 10.6

2009-09-12 Thread Alexander Hansen
Andrew Hartung wrote:
 I'm getting multiple build failures from packages such as pycairo- 
 py26-1.8.8-2 and gtk+2 that end with something like the following:
 
 grep: /usr/lib/libiconv.la: No such file or directory
 sed: /usr/lib/libiconv.la: No such file or directory
 libtool: link: `/usr/lib/libiconv.la' is not a valid libtool archive
 make[2]: *** [_cairo.la] Error 1
 make[1]: *** [all] Error 2
 make: *** [all-recursive] Error 1
 ### execution of make failed, exit code 2
 Removing runtime build-lock...
 Removing build-lock package...
 /sw/bin/dpkg-lockwait -r fink-buildlock-pycairo-py26-1.8.8-2
 (Reading database ... 108576 files and directories currently installed.)
 Removing fink-buildlock-pycairo-py26-1.8.8-2 ...
 Failed: phase compiling: pycairo-py26-1.8.8-2 failed
 
 
 The common point being the libiconv.la reference.
 
 I'm running 10.6.1 on a Mac pro.
 
 I followed the instructions to upgrade to 10.6 on the main page, but  
 before I did it in the way it listed(and had even seen the  
 instructions), I had run a self-update which seem to do a big upgrade.  
 When I then did the upgrade as suggested the process seemed to do  
 nothing new. I don' t know if this matters or not.
 
 Package manager version: 0.29.9
 Distribution version: selfupdate-rsync Fri Sep 11 22:23:26 2009, 10.6,  
 i386
 
 Also, when I run a self-update, all of the trees say:
 
 rsync -rtz --delete-after --delete -q   --include='10.4/' -- 
 include='10.4/stable/' --include='10.4/stable/main/' --include='10.4/ 
 stable/main/finkinfo/' --include='10.4/stable/main/finkinfo/*/' -- 
 include='10.4/stable/main/finkinfo/*' --include='10.4/stable/main/ 
 finkinfo/**/*' --include='10.4/' --include='10.4/stable/' -- 
 include='10.4/stable/crypto/' --include='10.4/stable/crypto/finkinfo/'  
 --include='10.4/stable/crypto/finkinfo/*/' --include='10.4/stable/ 
 crypto/finkinfo/*' --include='10.4/stable/crypto/finkinfo/**/*' -- 
 include='10.4/' --include='10.4/unstable/' --include='10.4/unstable/ 
 main/' --include='10.4/unstable/main/finkinfo/' --include='10.4/ 
 unstable/main/finkinfo/*/' --include='10.4/unstable/main/finkinfo/*' -- 
 include='10.4/unstable/main/finkinfo/**/*' --include='10.4/' -- 
 include='10.4/unstable/' --include='10.4/unstable/crypto/' -- 
 include='10.4/unstable/crypto/finkinfo/' --include='10.4/unstable/ 
 crypto/finkinfo/*/' --include='10.4/unstable/crypto/finkinfo/*' -- 
 include='10.4/unstable/crypto/finkinfo/**/*' --include='VERSION' -- 
 include='DISTRIBUTION' --include='README' --exclude='**' 'rsync:// 
 distfiles.master.finkmirrors.net/finkinfo' '/sw/fink/'
 
 
 Should these be/are there 10.5 trees that should be here?
 
 I've gone from a 500 Mhz G4 to a 8 core Mac Pro just this year(just a  
 bit of an upgrade), so I haven't been following the latest fink news  
 and was running 10.4.x on the old G4. I didn't copy /sw from the old  
 computer and rebuilt everything(was a mite bit faster on the Pro vs  
 the G4), but as I used Apple's migration utility when I got the Pro, I  
 wonder if there is an old configuration file somewhere outside the /sw  
 directory that might be causing an issue too.
 
 
 A final question:
 
 I'd like to go 64 bit with fink; is there somehow I can check to see  
 what packages are available for 64 bit? There are a couple I must have  
 and would have to stick with 32 bit for now if they are not available.
 
 

What's going on here is that something in the build chain for the
packages you're trying to install was built against the system's
libiconv instead of ours--ideally we'd like packages not to do that, but
they don't always get caught.  In doing so, it encoded the location of a
libtool archive file for that library.  Unfortunately, Apple decided to
get rid of the .la file in question for 10.6.

Try the following:

find /sw/lib -name *.la | xargs grep -l /usr/lib/libiconv.la

to locate any references to /usr/lib/libiconv.la

Looking at my own system, it appears that a good number of cases will
have both /usr/lib/libiconv.la and /sw/lib/libiconv.la on the
dependency_libs line.  I'll see if I can work up a handy-dandy regex for
such a case, but I've gotta run.

-- 
Alexander Hansen
Fink User Liaison


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] Manual compilation and dependencies in fink

2009-09-12 Thread Jonathan Greenberg
Finkers:

I'd like to work with g95, and use netcdf-g95, this week, but I have 
a Snow Leopard system and g95 hasn't been upgraded yet to work with 10.6 
in the fink repository.  I'm sure it'll be upgraded soon enough, but I 
have a more generic question that relates to this specific issue.  There 
are binaries for MacOS X available directly from g95.org that appear to 
work -- what  I'm wondering is, so I don't have unix binaries all over 
my system, is whether or not I'll run into problems moving the binary 
and the libs in /sw/bin and /sw/lib.  On a related note, netcdf-g95, of 
course, requires g95 (there appears to be 10.6 version available via 
fink install), so how do I either bypass the dependency check, or 
point it to my g95 binary I grabbed from elsewhere?

Thanks!

--j

-- 

Jonathan A. Greenberg, PhD
Postdoctoral Scholar
Center for Spatial Technologies and Remote Sensing (CSTARS)
University of California, Davis
One Shields Avenue
The Barn, Room 250N
Davis, CA 95616
Cell: 415-794-5043
AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307 


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Manual compilation and dependencies in fink

2009-09-12 Thread David R. Morrison
That may be true, but we have no way of building a binary for g95 on  
10.6 at the moment.  Using a binary built on an earlier 10.x  might be  
a stopgap solution, but in the long run, it is not good news for g95  
on OS X.

I'm not a fortran guy, myself, but I was under the impression that  
most folks had migrated from g95 to gfortran; is this not correct?

   -- Dave


On Sep 12, 2009, at 3:58 PM, Jonathan Greenberg wrote:

 Hmm, the binary SEEMS to work, but then again I'm not sure how to  
 test it:

 http://ftp.g95.org/g95-x86-osx.tgz

 (its a dependency for a climate model I'm trying to compile) -- I  
 noticed it seemed to be compiling some of the code correctly, but  
 can't be sure its working across the board.

 --j

 David R. Morrison wrote:
 Perhaps you know more about g95 than the current fink developer/ 
 maintainer team does.  I am under the impression that bringing g95  
 to 10.6 is going to be very difficult, if not impossible.

  -- Dave


 On Sep 12, 2009, at 3:32 PM, Jonathan Greenberg wrote:

 Finkers:

   I'd like to work with g95, and use netcdf-g95, this week, but I  
 have
 a Snow Leopard system and g95 hasn't been upgraded yet to work  
 with 10.6
 in the fink repository.  I'm sure it'll be upgraded soon enough,  
 but I
 have a more generic question that relates to this specific issue.   
 There
 are binaries for MacOS X available directly from g95.org that  
 appear to
 work -- what  I'm wondering is, so I don't have unix binaries all  
 over
 my system, is whether or not I'll run into problems moving the  
 binary
 and the libs in /sw/bin and /sw/lib.  On a related note, netcdf- 
 g95, of
 course, requires g95 (there appears to be 10.6 version available via
 fink install), so how do I either bypass the dependency check, or
 point it to my g95 binary I grabbed from elsewhere?

   Thanks!

 --j

 -- 

 Jonathan A. Greenberg, PhD
 Postdoctoral Scholar
 Center for Spatial Technologies and Remote Sensing (CSTARS)
 University of California, Davis
 One Shields Avenue
 The Barn, Room 250N
 Davis, CA 95616
 Cell: 415-794-5043
 AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports  
 2008 30-Day
 trial. Simplify your report design, integration and deployment -  
 and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Fink-users mailing list
 Fink-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/fink-users


 -- 

 Jonathan A. Greenberg, PhD
 Postdoctoral Scholar
 Center for Spatial Technologies and Remote Sensing (CSTARS)
 University of California, Davis
 One Shields Avenue
 The Barn, Room 250N
 Davis, CA 95616
 Cell: 415-794-5043
 AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] issues with libiconv.la 10.6

2009-09-12 Thread Andrew Hartung

On Sep 12, 2009, at 12:14 PM, Alexander Hansen wrote:

   find /sw/lib -name *.la | xargs grep -l /usr/lib/libiconv.la

So this will show which packages are using the one from /usr, or will  
it say which libiconv.la it is depending on?

Nothing in the list shows any mention to /usr. Here is a sample from  
the output:

/sw/lib/goffice/0.6.6/plugins/plot_radar/radar.la
/sw/lib/goffice/0.6.6/plugins/plot_surface/surface.la
/sw/lib/goffice/0.6.6/plugins/plot_xy/xy.la
/sw/lib/goffice/0.6.6/plugins/reg_linear/linreg.la
/sw/lib/goffice/0.6.6/plugins/reg_logfit/logfit.la
/sw/lib/goffice/0.6.6/plugins/smoothing/smoothing.la
/sw/lib/gtk-2.0/2.10.0/engines/libpixmap.la
/sw/lib/gtk-2.0/2.10.0/engines/libsvg.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-am-et.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-cedilla.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-ipa.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-multipress.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-thai.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-ti-er.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-ti-et.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-viqr.la
/sw/lib/gtk-2.0/2.10.0/immodules/im-xim.la
/sw/lib/gtk-2.0/2.10.0/loaders/svg_loader.la
/sw/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.la
/sw/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-file.la
/sw/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.la
/sw/lib/gtk-2.0/modules/libferret.la
/sw/lib/gtk-2.0/modules/libgail.la




But there are many more. If this list is just the ones that used the / 
usr version will rebuilding all of the packages listed cause them to  
use the correct /sw version?

Or as a more drastic but simpler measure, will deleting the /sw  
directory and reinstalling fink from scratch do it? I just had to do  
that with the move to the new computer a few months ago, and still  
haven't installed everything back to what I was used to, so it  
wouldn't be that huge of an issue. As it seems that I may have to do  
something like that anyway to go 64bit (I wasn't quite sure from the  
fink homepage if it meant that or not), maybe I should just wait.  
Really, the only thing I can't exist without for a few months is  
gnucash2 (I'm in a slow spell like a lot of people) so if/when that is  
64 bit I can do it now/then.

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] issues with libiconv.la 10.6

2009-09-12 Thread Andrew Hartung


On Sep 12, 2009, at 8:10 AM, Charles Lepple wrote:


I'd like to go 64 bit with fink; is there somehow I can check to see
what packages are available for 64 bit? There are a couple I must  
have
and would have to stick with 32 bit for now if they are not  
available.


If you just have a few that you want to look up, there is the  
package database:


http://pdb.finkproject.org/pdb/

Look for a version number in the 10.6/x86_64 row.


I might be missing something, but where is the x86-64 row?  For  
example, here is some of the output:


Matched 3 packages (Name = 'gnucash', Distribution = '10.6',  
Architecture = 'i386', Tree = 'any')


NameLatest Version  Description
gnucash22.2.9-160   Financial-accounting software
gnucash2-docs   2.2.0-3 Help files/documentation for gnucash2
gnucash2-shlibs 2.2.9-160   Financial-accounting software
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] issues with libiconv.la 10.6

2009-09-12 Thread monipol
On 12/09/2009, at 20:02, Andrew Hartung wrote:
 On Sep 12, 2009, at 8:10 AM, Charles Lepple wrote:

 I'd like to go 64 bit with fink; is there somehow I can check to see
 what packages are available for 64 bit? There are a couple I must  
 have
 and would have to stick with 32 bit for now if they are not  
 available.

 If you just have a few that you want to look up, there is the  
 package database:

 http://pdb.finkproject.org/pdb/

 Look for a version number in the 10.6/x86_64 row.

 I might be missing something, but where is the x86-64 row?  For  
 example, here is some of the output:

 Matched 3 packages (Name = 'gnucash', Distribution = '10.6',  
 Architecture = 'i386', Tree = 'any')

 Name  Latest Version  Description
 gnucash2  2.2.9-160   Financial-accounting software
 gnucash2-docs 2.2.0-3 Help files/documentation for gnucash2
 gnucash2-shlibs   2.2.9-160   Financial-accounting software


If you go to

http://pdb.finkproject.org/pdb/package.php/gnucash2

and search for the gnucash2 package, you'll be redirected to

http://pdb.finkproject.org/pdb/package.php/gnucash2

which will show you the the various combinations of OS X version,  
'architecture', and stable vs. unstable.

Please note that:

* The stable tree, whose packages tend to be older than those in the  
unstable tree, has been verified with regard to successful builds on  
10.6. Therefore if in the PDB there's no version number in the stable  
column for 10.6/i386 or 10.6/x86_64 then the package is known not to  
build on 10.6/i386 or 10.6/x86_64.

* The unstable tree hasn't been completely verified. This means that  
the fact that a version number is shown on the unstable column and  
10.6 rows doesn't imply that the package actually builds on 10.6.

For the next weeks, only packages in stable that are available on 10.6/ 
i386 or 10.6/x86_64 can be expected to build. This doesn't mean that  
packages in unstable won't build, only that they might not. There are  
some cases where a package in stable doesn't build but it builds in  
unstable because unstable tends to have more recent versions.

As for gnucash2 in particular, there is a report from a user that  
managed to build it on 10.6/x86_64 after some adversities with the  
fontconfig library:

http://article.gmane.org/gmane.os.apple.fink.beginners/23547


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] issues with libiconv.la 10.6

2009-09-12 Thread monipol
On 12/09/2009, at 20:08, Andrew Hartung wrote:
 On Sep 12, 2009, at 12:14 PM, Alexander Hansen wrote:

  find /sw/lib -name *.la | xargs grep -l /usr/lib/libiconv.la

 So this will show which packages are using the one from /usr, or will
 it say which libiconv.la it is depending on?

 Nothing in the list shows any mention to /usr. Here is a sample from
 the output:

 /sw/lib/goffice/0.6.6/plugins/plot_radar/radar.la
 /sw/lib/goffice/0.6.6/plugins/plot_surface/surface.la
 /sw/lib/goffice/0.6.6/plugins/plot_xy/xy.la
 /sw/lib/goffice/0.6.6/plugins/reg_linear/linreg.la
 /sw/lib/goffice/0.6.6/plugins/reg_logfit/logfit.la
 /sw/lib/goffice/0.6.6/plugins/smoothing/smoothing.la
 /sw/lib/gtk-2.0/2.10.0/engines/libpixmap.la
 /sw/lib/gtk-2.0/2.10.0/engines/libsvg.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-am-et.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-cedilla.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-cyrillic-translit.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-inuktitut.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-ipa.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-multipress.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-thai.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-ti-er.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-ti-et.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-viqr.la
 /sw/lib/gtk-2.0/2.10.0/immodules/im-xim.la
 /sw/lib/gtk-2.0/2.10.0/loaders/svg_loader.la
 /sw/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.la
 /sw/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-file.la
 /sw/lib/gtk-2.0/2.10.0/printbackends/libprintbackend-lpr.la
 /sw/lib/gtk-2.0/modules/libferret.la
 /sw/lib/gtk-2.0/modules/libgail.la

 But there are many more. If this list is just the ones that used the /
 usr version will rebuilding all of the packages listed cause them to
 use the correct /sw version?

I'm not sure about that. If it were to work I *think* you would have  
to rebuild from bottom up in the tree of library dependencies.

 Or as a more drastic but simpler measure, will deleting the /sw
 directory and reinstalling fink from scratch do it? I just had to do
 that with the move to the new computer a few months ago, and still
 haven't installed everything back to what I was used to, so it
 wouldn't be that huge of an issue. As it seems that I may have to do
 something like that anyway to go 64bit (I wasn't quite sure from the
 fink homepage if it meant that or not), maybe I should just wait.
 Really, the only thing I can't exist without for a few months is
 gnucash2 (I'm in a slow spell like a lot of people) so if/when that is
 64 bit I can do it now/then.

Reinstallation should fix this libiconv.la issue. In OS X 10.5 there  
exist both Fink's /sw/lib/libiconv.la and Apple's /usr/lib/ 
libiconv.la, and some packages ended up using /usr/lib/libiconv.la  
instead of Fink's. As /usr/lib/libiconv.la doesn't exist on 10.6,  
packages built on a new Fink installation should only find /sw/lib/ 
libiconv.la.


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Manual compilation and dependencies in fink

2009-09-12 Thread monipol
On 12/09/2009, at 19:32, Jonathan Greenberg wrote:
I'd like to work with g95, and use netcdf-g95, this week, but I  
 have
 a Snow Leopard system and g95 hasn't been upgraded yet to work with  
 10.6
 in the fink repository.  I'm sure it'll be upgraded soon enough, but I
 have a more generic question that relates to this specific issue.   
 There
 are binaries for MacOS X available directly from g95.org that appear  
 to
 work -- what  I'm wondering is, so I don't have unix binaries all over
 my system, is whether or not I'll run into problems moving the binary
 and the libs in /sw/bin and /sw/lib.  On a related note, netcdf-g95,  
 of
 course, requires g95 (there appears to be 10.6 version available via
 fink install), so how do I either bypass the dependency check, or
 point it to my g95 binary I grabbed from elsewhere?


Hello, Jonathan.

If I understood correctly you're thinking of installing a non-Fink g95  
and copying its files to Fink's folder, /sw. That's potential for  
trouble because you'd be installing files that are supposed to be  
installed by Fink, potentially messing with Fink's (dpkg's) internal  
list of installed files, as well as leaving dangling files if you  
attempt to undo this 'installation'. There's also the issue that  
library full paths are hardcoded into programs linked against them, so  
you might have to create appropriate symbolic links whenever needed. I  
wouldn't recommend it at all and Fink wouldn't be able to provide you  
any further support.

In summary, don't do it. :)

As for netcdf-g95 using a non-Fink g95 in a different location (/usr/ 
local, /opt, etc), one possibility is to create a local netcdf-g95  
package and modify its package description so that it doesn't depend  
on Fink's g95 and uses a non-Fink g95 for compilation. You may find  
information on local packages in the following pages:

http://finkers.wordpress.com/2009/06/08/local-packages/
http://finkers.wordpress.com/2009/07/24/creating-local-packages/

I've never used Fortran and I don't know netcdf-g95 so I wouldn't be  
able to tell you how much work it would be to adapt it so that it uses  
a non-Fink g95 compiler.


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] lilypond-devel-2.11.63-1001

2009-09-12 Thread Robert Wyatt
Matthias Neeracher wrote:
 
 On Sep 10, 2009, at 18:19 , Martin Costabel wrote:
 
 Alexander Hansen wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 Robert Wyatt wrote:
 On 10.5 PPC unstable tree with Xquartz 2.4.0, lilypond-devel is 
 failing with:

 /usr/include/c++/4.0.0/bits/vector.tcc:407: error: expected 
 unqualified-id before '' token
 ./include/std-vector.hh:74: error: expected class-name before 
 '__attribute__'
 []

 This is a conflict between a variable declared by lilypond and a 
 built-in macro of the ppc cpp.

 The bug was discussed and fixed for lilypond a couple of months ago. 
 It looks like lilypond-devel has ceased to be maintained before the 
 fix for that error came to lilypond. The same patch will probably 
 work. But then, what is the interest of the -devel package when it is 
 older than the lilypond package itself? The fix was a patchscript 
 containing

  perl -pi -e 's|__vector|lily_vector|g' flower/include/std-vector.hh
 
 Ah yes, thanks for jogging my memory. That does indeed seem correct on 
 all accounts: That was the fix we used then, and lilypond-devel was not 
 updated because it was not interesting at the time anyway (2.13 builds 
 have started to be available, so this should be changing).
 
 Matthias


Thank you! It has built and installed now.  --Robert

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] error building kdelibs3-unified

2009-09-12 Thread Robert Wyatt
Robert Wyatt wrote:
 Benjamin Reed wrote:
 On 9/11/09 2:22 PM, Australopithecus scobis wrote:

 g++ --version
 powerpc-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 
 5370)

 Lame outdated box, perhaps?
 I believe that's current for xcode 2.5, so it shouldn't be an issue.

 The more interesting bit is I'm pretty sure I didn't change this
 particular bit of code, although it's possible something went wacky.  :)

 - -- 
 Benjamin Reed a.k.a. Ranger Rick
 Fink, KDE, and Mac OS X development
 
 I have gcc 4.0.1 build 5493 with Xcode 3.1.3 on a PPC and am
 attempting the build now (it may take a while with all the dependencies).
 
 --Robert

Well, it worked for me, so maybe upgrading Xcode makes a difference?
  i   kdelibs3-unified  3.5.10-2

Now I'm gonna try kdelibs4-x11 (on 10.5).

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users