From stochashtic at yahoo.ca Sat Mar 1 01:58:40 2008 From: stochashtic at yahoo.ca (Suresh Pillai) Date: Sat, 1 Mar 2008 10:58:40 +0100 (CET) Subject: py25-* package building on Leopard In-Reply-To: <502E9E14-D70D-42FA-A3A9-9EE47EE1D7A0@gmail.com> References: <502E9E14-D70D-42FA-A3A9-9EE47EE1D7A0@gmail.com> Message-ID: Thanks very much for mentioning this!!!!!!!!!!! I had the same problem with py25-hashlib and py25-tkinter, and got no responses from anyone on how to fix, and so gave up on macports since if you can't install python libs, what's the point of anything. :) On Fri, 29 Feb 2008, Brian Barnes wrote: > Hello, > > I have recently successfully installed py25-pyx (with texlive), py25- > zlib, and py25-tkinter on Intel Leopard with macports 1.6.0. There is > an outstanding trac ticket regarding py25-zlib: > http://trac.macports.org/projects/macports/ticket/13406 > > In the ticket, an initial build failure is solved by either retrying > the 'port install' command for py25-zlib, or examining the error > message, going into the indicated directory, executing the desired > command (also from the error message), leaving that directory and > retrying the 'port install' command. > > I would like to mention that today, I experienced that identical error > with a different package, py25-tkinter. The solution was exactly the > same, too. I thought it was curious enough to have the same kind of > install error with two different python 2.5 packages that I'd mention > it on the list, so that anyone else affected by this (perhaps with > other packages) is aware of the simple workaround. > > Macports on Leopard is working great. Apple would be wise to promote > this on their website, or throw some serious money behind it (if they > haven't already)! Thanks, maintainers. > > Brian > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > ----- Suresh Pillai | Entrepreneurial Risks <- D-MTEC <- ETH Z?rich | http://www.er.ethz.ch/ From hjfreyer at gmail.com Sat Mar 1 08:41:50 2008 From: hjfreyer at gmail.com (hjfreyer) Date: Sat, 1 Mar 2008 08:41:50 -0800 (PST) Subject: [!SPAM?:XXXII] Re: matplotlib: no interactive backends appear to work In-Reply-To: References: <5DCD6D74-ADF5-47A7-9344-4C84D3D1EAEC@fhi-berlin.mpg.de> <799406d60801271556m1728ff44g94bcae42f7731c5b@mail.gmail.com> <799406d60801280850k6e95cbb8sbe90b49882609297@mail.gmail.com> Message-ID: <15778189.post@talk.nabble.com> John, If it makes you feel any better, I'm going through the same battle right now. Did you get anything working? I've been trying to use Tkinter, and I get segfaults on show(). Hunter -- View this message in context: http://www.nabble.com/matplotlib%3A-no-interactive-backends-appear-to-work-tp15110400p15778189.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From ramercer at gmail.com Sat Mar 1 10:40:14 2008 From: ramercer at gmail.com (Adam Mercer) Date: Sat, 1 Mar 2008 13:40:14 -0500 Subject: [!SPAM?:XXXII] Re: matplotlib: no interactive backends appear to work In-Reply-To: <15778189.post@talk.nabble.com> References: <5DCD6D74-ADF5-47A7-9344-4C84D3D1EAEC@fhi-berlin.mpg.de> <799406d60801271556m1728ff44g94bcae42f7731c5b@mail.gmail.com> <799406d60801280850k6e95cbb8sbe90b49882609297@mail.gmail.com> <15778189.post@talk.nabble.com> Message-ID: <799406d60803011040y9c0f895o9b6e175278bd0f90@mail.gmail.com> On Sat, Mar 1, 2008 at 11:41 AM, hjfreyer wrote: > If it makes you feel any better, I'm going through the same battle right > now. Did you get anything working? I've been trying to use Tkinter, and I > get segfaults on show(). Are you getting the segfault from the same functions? Cheers Adam From hjfreyer at gmail.com Sat Mar 1 12:04:48 2008 From: hjfreyer at gmail.com (hjfreyer) Date: Sat, 1 Mar 2008 12:04:48 -0800 (PST) Subject: [!SPAM?:XXXII] Re: matplotlib: no interactive backends appear to work In-Reply-To: <799406d60803011040y9c0f895o9b6e175278bd0f90@mail.gmail.com> References: <5DCD6D74-ADF5-47A7-9344-4C84D3D1EAEC@fhi-berlin.mpg.de> <799406d60801271556m1728ff44g94bcae42f7731c5b@mail.gmail.com> <799406d60801280850k6e95cbb8sbe90b49882609297@mail.gmail.com> <15778189.post@talk.nabble.com> <799406d60803011040y9c0f895o9b6e175278bd0f90@mail.gmail.com> Message-ID: <15780378.post@talk.nabble.com> Aha! Nevermind. Still not working on Tkinter, but I installed the GTKAgg backend and that works perfectly. Still, it's curious that Tk shouldn't work. It works for regular python but matplotlib doesn't like it. Ah well, a mystery for another day. Thanks, Hunter -- View this message in context: http://www.nabble.com/matplotlib%3A-no-interactive-backends-appear-to-work-tp15110400p15780378.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From mvfranz at gmail.com Sat Mar 1 19:06:20 2008 From: mvfranz at gmail.com (Michael Franz) Date: Sat, 1 Mar 2008 22:06:20 -0500 Subject: Port Verification Message-ID: I am trying to verify the xorg-libXt port. It seems that xorg-libXdmcp has now become dependant on xorg-xproto. I checked the history of the xorg-libXdmcp Portfile, and it hasn't been changed in 6 months. So, the Portfile hasn't changed since I started. I did my original testing less than 2 months ago. The only thing that I can think of that is different is I may have tested on an updated version of OS X 10.4.11. I am currently running a base install of OS X 10.4.6 without running update. Is there an easy way to validate ports? The way I have been doing it is very labor intensive (uninstall macports, remove all ports, re-install macports, test port). It would be nice if there was a way to run in a chroot environment for development testing of ports. Michael From raimue at macports.org Sun Mar 2 03:31:28 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sun, 02 Mar 2008 12:31:28 +0100 Subject: Port Verification In-Reply-To: References: Message-ID: <47CA9010.1070101@macports.org> Michael Franz wrote: > Is there an easy way to validate ports? The way I have been doing it > is very labor intensive (uninstall macports, remove all ports, > re-install macports, test port). It would be nice if there was a way > to run in a chroot environment for development testing of ports. Try port -t which enables tracemode. In this tracemode accesses to non-referenced files are prohibited. But currently it still faces problems if some port is using e.g. /opt/local/bin/grep when it does not contain an explicit reference to it. Rainer From stefan.schwarzer at grid.unep.ch Mon Mar 3 01:42:43 2008 From: stefan.schwarzer at grid.unep.ch (Stefan Schwarzer) Date: Mon, 3 Mar 2008 10:42:43 +0100 Subject: General Leopard Installation Recommendations - with Admin? Postgres, Postgis... Message-ID: Hi there, I am using a Mac in the office for website development, database administration, design etc... Now, as I am not coming from an admin-, but more from a casual-user- side, I did run into some admin/su/etc.-problems or challenges when installing & compiling postgres, postgis, etc. So, I was wondering what you guys do recommend. In the moment, I am the only user and the only admin on the same time on the mac. But, from a admin/security perspective, there should be already a different account for me as a user and another one for the admin, no? And on the next step, there should be another one for the postgres administration, no? Can you give me a recommendation how to "better" (more efficient, more correct, not necessarily more "safe") setup my computer? Thanks for any advice, Stef ____________________________________________________________________ Lean Back and Relax - Enjoy some Nature Photography http://photoblog.la-famille-schwarzer.de Appetite for Global Data? UNEP GEO Data Portal: http://geodata.grid.unep.ch ____________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080303/205b2dd2/attachment.html From randall.h.wood at alexandriasoftware.com Mon Mar 3 02:33:47 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Mon, 3 Mar 2008 05:33:47 -0500 Subject: General Leopard Installation Recommendations - with Admin? Postgres, Postgis... In-Reply-To: References: Message-ID: On 3/3/08, Stefan Schwarzer wrote: > Hi there, > > I am using a Mac in the office for website development, database > administration, design etc... > > Now, as I am not coming from an admin-, but more from a casual-user-side, I > did run into some admin/su/etc.-problems or challenges when installing & > compiling postgres, postgis, etc. > > So, I was wondering what you guys do recommend. In the moment, I am the only > user and the only admin on the same time on the mac. But, from a > admin/security perspective, there should be already a different account for > me as a user and another one for the admin, no? Only in certain specific situations would want to separate your user and admin accounts in any UNIX system (and most of those situations are for policy or legal reasons not operations safety). UNIX (and by extension Linux, *BSD, and Mac OS X) systems can be setup to allow privilege escalation via the "sudo" mechanism (certain more-tightly locked down versions of UNIX (Trusted Solaris and SELinux among others) also allow a user to change roles on the fly for specific purposes. In all cases the privilege escalation or role change must be authenticated. All admin users in Mac OS X are allowed to use the "sudo" command to perform administrative tasks and all sudo operations are logged. Experienced administrators (and Mac OS X Server may provide some easy way to do this) can make the sudo permissions structure far more subtle than Mac OS X desktop supports in the System Preferences. So, no, I do not see any reason to create multiple separate accounts for performing different roles on your computer. BTW, Windows up to XP did not support any mechanisms for privilege escalation so separate accounts have to be created for everything, but your IT folks quickly tire of constantly logging in/logging out and simply begin working in their admin-rights enabled accounts (at a former unit, per policy, every IT person had two accounts, one regular and one admin and it was painful for automated systems to recognize people who were using the "wrong" account to perform activities, but I digress...). > And on the next step, there should be another one for the postgres > administration, no? There should not be a separate account for this either. Now maintaining separate accounts could lead to additional problems (I speak from experience here) where an account is created for a specific task and multiple people use it and suddenly you don't know who did what when. > Can you give me a recommendation how to "better" (more efficient, more > correct, not necessarily more "safe") setup my computer? > > Thanks for any advice, > > Stef > > ____________________________________________________________________ > > > Lean Back and Relax - Enjoy some Nature Photography > http://photoblog.la-famille-schwarzer.de > > Appetite for Global Data? UNEP GEO Data Portal: > http://geodata.grid.unep.ch > > ____________________________________________________________________ > > > > > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > -- Randall Wood randall.h.wood at alexandriasoftware.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy." From L.Wood at surrey.ac.uk Mon Mar 3 02:46:25 2008 From: L.Wood at surrey.ac.uk (L.Wood at surrey.ac.uk) Date: Mon, 3 Mar 2008 10:46:25 -0000 Subject: General Leopard Installation Recommendations - with Admin?Postgres, Postgis... References: Message-ID: <603BF90EB2E7EB46BF8C226539DFC20701316AFA@EVS-EC1-NODE1.surrey.ac.uk> >> So, I was wondering what you guys do recommend. In the moment, I am the only >> user and the only admin on the same time on the mac. But, from a >> admin/security perspective, there should be already a different account for >> me as a user and another one for the admin, no? > > Only in certain specific situations would want to separate your user > and admin accounts in any UNIX system (and most of those situations > are for policy or legal reasons not operations safety). Worth pointing out here that this is an admin account capable of privilege escalation to carry out-root-like functions - not the unix 'root' account, which is a bad idea to log in as unless you need to, since any mistakes there (such as accidentally deleting the entire filesystem) have repercussions. (The root account has to be explicitly enabled on Mac OS X.) > So, no, I do not see any reason to create multiple separate accounts > for performing different roles on your computer. On other unix boxes, you may well need to create something non-root, where you'd do admin tasks by either sudo'ing (if available) or by deliberately logging in as root first. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080303/a611946e/attachment.html From schimaf at boulder.nist.gov Mon Mar 3 08:28:01 2008 From: schimaf at boulder.nist.gov (Frank Schima) Date: Mon, 3 Mar 2008 09:28:01 -0700 Subject: Using blt in MacPorts Message-ID: <24BA32A0-7A26-45BA-82C6-7A4C7FBD072D@boulder.nist.gov> Hi all, I'm attempting to install blt in MacPorts 1.6.0 (on an Intel MacPro) but it is not working. I have filed a bug on it: Apparently Tcl/Tk version 8.5 conflicts with blt. Until this (hopefully) get fixed, does anyone know some kind of workaround so I can get this running - like maybe somehow install the 8.4 version of Tcl/Tk? Cheers! Frank From ryandesign at macports.org Mon Mar 3 10:23:57 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 3 Mar 2008 12:23:57 -0600 Subject: rsync refusal in MacPorts 1.6.0 install: still busted. In-Reply-To: References: Message-ID: <55C54B01-D98F-4128-BA63-D80CC4135704@macports.org> On Mar 3, 2008, at 05:30, Kevin Frost wrote: > Greetings. I thought you might be interested to know that the > problem described here is still present: > > http://lists.macosforge.org/pipermail/macports-users/2008-January/ > 008199.html > > I got exactly the same error, persistently, when running the > installer on a fresh Leopard on a G4 Powerbook 15" (last model made). > > Running from behind a firewall and not behind a firewall both gave > the same error. The network connection itself was fine, a standard > residential DSL with no other problems. > > About 10 minutes after the installer package failed (non-firewall) > with the rsync refusal, `port -d selfupdate` appeared to work (see > below). > > The software is working fine now. However, I think it's a pretty > major bug: I had to look in the install log to get the hint about > selfupdate, and I can easily imagine people never getting that > far. While you could argue that the target audience should know > how to solve this problem, I do think at least some people look to > MacPorts to make the whole "Unix thing" less difficult, and at the > moment the installer makes it pretty difficult. > > Anyhow, I still love MacPorts. Please escalate for the sake of the > noobs. ;-) > > cheers > > -- frosty > > > Quoth port -d selfupdate: > > kfrost at pb15 ~ $ sudo port -d selfupdate > Password: > DEBUG: Rebuilding the MacPorts base system if needed. > DEBUG: Synchronizing ports tree(s) > Synchronizing local ports tree from rsync://rsync.macports.org/ > release/ports/ > DEBUG: /usr/bin/rsync -rtzv --delete-after rsync:// > rsync.macports.org/release/ports/ /opt/local/var/macports/sources/ > rsync.macports.org/release/ports > receiving file list ... done > www/webkit-gtk/ > > sent 74 bytes received 314844 bytes 3297.57 bytes/sec > total size is 16975633 speedup is 53.90 > DEBUG: MacPorts base dir: /opt/local/var/macports/sources/ > rsync.macports.org/release/base > DEBUG: Setting user: root > > MacPorts base version 1.600 installed > DEBUG: Updating using rsync > receiving file list ... done > > sent 73 bytes received 6685 bytes 13516.00 bytes/sec > total size is 3962384 speedup is 586.32 > > Downloaded MacPorts base version 1.600 > > The MacPorts installation is not outdated and so was not updated > DEBUG: Setting ownership to root > selfupdate done! > kfrost at pb15 ~ $ I agree this should be fixed. We definitely want to make MacPorts easier to use. I'm sending this to the macports-users mailing list also so that people see again that it's still a problem in 1.6.0. I don't remember if this has already been fixed in trunk. Our release manager has been busy with other things which is why there hasn't been a new MacPorts release in awhile, though we already have many new things in trunk that should be released. From waterson at maubi.net Mon Mar 3 11:26:23 2008 From: waterson at maubi.net (Chris Waterson) Date: Mon, 3 Mar 2008 11:26:23 -0800 Subject: unixODBC and postgresql83 are incompatible Message-ID: <9CBA8F9B-6E64-4875-ACD9-7DEC801E7D5E@maubi.net> It turns out that postgresql83 can't be installed with unixODBC present, since unixODBC has a file called "sqltypes.h". It seems like the postgresql83 build ought to be fixed to ensure that it looks in build-local directories for include files before looking in /opt/ local/include. (Sorry to be lazy, and not provide a patch -- since I'm not using unixODBC, I just uninstalled it and postgresql83 built fine.) chris From ryandesign at macports.org Mon Mar 3 11:36:50 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 3 Mar 2008 13:36:50 -0600 Subject: Using blt in MacPorts In-Reply-To: <24BA32A0-7A26-45BA-82C6-7A4C7FBD072D@boulder.nist.gov> References: <24BA32A0-7A26-45BA-82C6-7A4C7FBD072D@boulder.nist.gov> Message-ID: <8955D1E5-F6E6-4820-9464-E17FC167953B@macports.org> On Mar 3, 2008, at 10:28, Frank Schima wrote: > Apparently Tcl/Tk version 8.5 conflicts with blt. Until this > (hopefully) get fixed, does anyone know some kind of workaround so I > can get this running - like maybe somehow install the 8.4 version of > Tcl/Tk? This question comes up often enough that I've now written a How-To: http://trac.macosforge.org/projects/macports/wiki/howto/ InstallingOlderPort From ryandesign at macports.org Mon Mar 3 11:42:43 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 3 Mar 2008 13:42:43 -0600 Subject: unixODBC and postgresql83 are incompatible In-Reply-To: <9CBA8F9B-6E64-4875-ACD9-7DEC801E7D5E@maubi.net> References: <9CBA8F9B-6E64-4875-ACD9-7DEC801E7D5E@maubi.net> Message-ID: <1E6C7AA1-098F-4096-B125-BEC0F2308D17@macports.org> On Mar 3, 2008, at 13:26, Chris Waterson wrote: > It turns out that postgresql83 can't be installed with unixODBC > present, since unixODBC has a file called "sqltypes.h". It seems > like the postgresql83 build ought to be fixed to ensure that it looks > in build-local directories for include files before looking in /opt/ > local/include. > > (Sorry to be lazy, and not provide a patch -- since I'm not using > unixODBC, I just uninstalled it and postgresql83 built fine.) This bug has already been filed: http://trac.macosforge.org/projects/macports/ticket/4559 From fred at dushin.net Mon Mar 3 12:33:16 2008 From: fred at dushin.net (Fred Dushin) Date: Mon, 03 Mar 2008 15:33:16 -0500 Subject: macports erlang build disables smp by default Message-ID: <52736761-CA45-4A1A-AEE7-827383115522@dushin.net> I thought I'd mention this to any macerlangers out there. Discovered this testing some concurrency code, and saw the following in the erlang Portfile: configure.args --prefix=${destroot}${prefix} \ --enable-threads \ --enable-kernel-poll \ --enable-hipe \ --disable-smp-support There is an smp variant, though, which you can use to enable smp support. I wonder if we should make this the default, no? Are there some known bugs in the smp code? (I know /my/ code runs 2wice as fast with it on... :) -Fred From schimaf at boulder.nist.gov Mon Mar 3 12:38:10 2008 From: schimaf at boulder.nist.gov (Frank Schima) Date: Mon, 3 Mar 2008 13:38:10 -0700 Subject: Using blt in MacPorts In-Reply-To: <8955D1E5-F6E6-4820-9464-E17FC167953B@macports.org> References: <24BA32A0-7A26-45BA-82C6-7A4C7FBD072D@boulder.nist.gov> <8955D1E5-F6E6-4820-9464-E17FC167953B@macports.org> Message-ID: <0A7AAF1E-B12D-4602-B9C7-C10EBA518BA8@boulder.nist.gov> Hi Ryan, On Mar 3, 2008, at 12:36 PM, Ryan Schmidt wrote: > > On Mar 3, 2008, at 10:28, Frank Schima wrote: > >> Apparently Tcl/Tk version 8.5 conflicts with blt. Until this >> (hopefully) get fixed, does anyone know some kind of workaround so I >> can get this running - like maybe somehow install the 8.4 version of >> Tcl/Tk? > > This question comes up often enough that I've now written a How-To: > > http://trac.macosforge.org/projects/macports/wiki/howto/InstallingOlderPort Thanks for the very useful write up! I managed to get it installed and activated. Perhaps you could add something about deactivating the current version first so that is doesn't fail when trying to activate the older version. But I'm just a MacPorts newbie. :) I neglected to mention that I'm using Python 2.5 also. So I changed my py25-tkinter back to the 8.4 version using the following Portfile @30184: <@30184> That worked fine (and I had to download the setup.py and add it to a 'files' folder). I then noticed that Tk needs to be downgraded to 8.4 also. So I got Portfile @30811 of that: <@30811> But when I tried to 'port install' it, I get the following compile error: frank$ sudo port install ---> Building tk with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/_Users_frank_Downloads_tk84/work/tk8.4.16/ unix" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -c -Os -O2 -pipe -I/opt/local/ include -I/opt/local/var/macports/build/_Users_frank_Downloads_tk84/ work/tcl8.4.16/generic -Wall -Wno-implicit-int -fno-strict-aliasing - fno-common -I/opt/local/var/macports/build/_Users_frank_Downloads_tk84/ work/tk8.4.16/unix -I/opt/local/var/macports/build/ _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../generic -I/opt/local/ var/macports/build/_Users_frank_Downloads_tk84/work/tk8.4.16/unix/../ bitmaps -I/opt/local/var/macports/build/_Users_frank_Downloads_tk84/ work/tk8.4.16/unix/../../tcl8.4.16//generic -I/usr/X11/include - DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_COREFOUNDATION=1 - DMAC_OSX_TCL=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 - DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 - DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /opt/local/ var/macports/build/_Users_frank_Downloads_tk84/work/tk8.4.16/unix/../ generic/tkMain.c In file included from /opt/local/var/macports/build/ _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../generic/tkMain.c:24: /opt/local/include/tk.h:23:3: error: #error Tk 8.5 must be compiled with tcl.h from Tcl 8.5 make: *** [tkMain.o] Error 1 Error: Status 1 encountered during processing. Any suggestions as to what I'm doing wrong? Thanks! Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080303/37a22949/attachment-0001.html From ryandesign at macports.org Mon Mar 3 13:11:00 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 3 Mar 2008 15:11:00 -0600 Subject: Using blt in MacPorts In-Reply-To: <0A7AAF1E-B12D-4602-B9C7-C10EBA518BA8@boulder.nist.gov> References: <24BA32A0-7A26-45BA-82C6-7A4C7FBD072D@boulder.nist.gov> <8955D1E5-F6E6-4820-9464-E17FC167953B@macports.org> <0A7AAF1E-B12D-4602-B9C7-C10EBA518BA8@boulder.nist.gov> Message-ID: <1CB363DC-8A4F-4F50-8CF4-DB4AC8E521CB@macports.org> On Mar 3, 2008, at 14:38, Frank Schima wrote: > On Mar 3, 2008, at 12:36 PM, Ryan Schmidt wrote: > >> On Mar 3, 2008, at 10:28, Frank Schima wrote: >> >>> Apparently Tcl/Tk version 8.5 conflicts with blt. Until this >>> (hopefully) get fixed, does anyone know some kind of workaround so I >>> can get this running - like maybe somehow install the 8.4 version of >>> Tcl/Tk? >> >> This question comes up often enough that I've now written a How-To: >> >> http://trac.macosforge.org/projects/macports/wiki/howto/ >> InstallingOlderPort > > Thanks for the very useful write up! I managed to get it installed > and activated. Perhaps you could add something about deactivating > the current version first so that is doesn't fail when trying to > activate the older version. But I'm just a MacPorts newbie. :) That's fairly general advice about MacPorts, not specific to installing an older version, so I don't know that it belongs in that particular how-to. > I neglected to mention that I'm using Python 2.5 also. So I changed > my py25-tkinter back to the 8.4 version using the following > Portfile @30184: > > <@30184> > > That worked fine (and I had to download the setup.py and add it to > a 'files' folder). I then noticed that Tk needs to be downgraded to > 8.4 also. So I got Portfile @30811 of that: > > <@30811> > > But when I tried to 'port install' it, I get the following compile > error: > > frank$ sudo port install > ---> Building tk with target all > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/_Users_frank_Downloads_tk84/work/tk8.4.16/ > unix" && make all " returned error 2 > Command output: /usr/bin/gcc-4.0 -c -Os -O2 -pipe -I/opt/local/ > include -I/opt/local/var/macports/build/_Users_frank_Downloads_tk84/ > work/tcl8.4.16/generic -Wall -Wno-implicit-int -fno-strict- > aliasing -fno-common -I/opt/local/var/macports/build/ > _Users_frank_Downloads_tk84/work/tk8.4.16/unix -I/opt/local/var/ > macports/build/_Users_frank_Downloads_tk84/work/tk8.4.16/unix/../ > generic -I/opt/local/var/macports/build/_Users_frank_Downloads_tk84/ > work/tk8.4.16/unix/../bitmaps -I/opt/local/var/macports/build/ > _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../../tcl8.4.16// > generic -I/usr/X11/include -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 - > DHAVE_COREFOUNDATION=1 -DMAC_OSX_TCL=1 -DTCL_WIDE_INT_TYPE=long\ > long -DHAVE_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1 - > DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_PW_GECOS=1 - > DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /opt/local/var/macports/build/ > _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../generic/tkMain.c > In file included from /opt/local/var/macports/build/ > _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../generic/tkMain.c:24: > /opt/local/include/tk.h:23:3: error: #error Tk 8.5 must be compiled > with tcl.h from Tcl 8.5 > make: *** [tkMain.o] Error 1 > > Error: Status 1 encountered during processing. > > > Any suggestions as to what I'm doing wrong? That's like this bug: http://trac.macosforge.org/projects/macports/ticket/13678 You must deactivate or uninstall tk 8.5 before you can build tk 8.4. I think this is a peculiarity of tk. This problem was supposedly fixed in the latest version of the portfile, but still exists of course in the old version of the portfile you're using. From schimaf at boulder.nist.gov Mon Mar 3 14:16:20 2008 From: schimaf at boulder.nist.gov (Frank Schima) Date: Mon, 3 Mar 2008 15:16:20 -0700 Subject: Using blt in MacPorts In-Reply-To: <1CB363DC-8A4F-4F50-8CF4-DB4AC8E521CB@macports.org> References: <24BA32A0-7A26-45BA-82C6-7A4C7FBD072D@boulder.nist.gov> <8955D1E5-F6E6-4820-9464-E17FC167953B@macports.org> <0A7AAF1E-B12D-4602-B9C7-C10EBA518BA8@boulder.nist.gov> <1CB363DC-8A4F-4F50-8CF4-DB4AC8E521CB@macports.org> Message-ID: On Mar 3, 2008, at 2:11 PM, Ryan Schmidt wrote: >> I neglected to mention that I'm using Python 2.5 also. So I changed >> my py25-tkinter back to the 8.4 version using the following >> Portfile @30184: >> >> <@30184> >> >> That worked fine (and I had to download the setup.py and add it to >> a 'files' folder). I then noticed that Tk needs to be downgraded to >> 8.4 also. So I got Portfile @30811 of that: >> >> <@30811> >> >> But when I tried to 'port install' it, I get the following compile >> error: >> >> frank$ sudo port install >> ---> Building tk with target all >> Error: Target org.macports.build returned: shell command " cd "/opt/ >> local/var/macports/build/_Users_frank_Downloads_tk84/work/tk8.4.16/ >> unix" && make all " returned error 2 >> Command output: /usr/bin/gcc-4.0 -c -Os -O2 -pipe -I/opt/local/ >> include -I/opt/local/var/macports/build/_Users_frank_Downloads_tk84/ >> work/tcl8.4.16/generic -Wall -Wno-implicit-int -fno-strict- >> aliasing -fno-common -I/opt/local/var/macports/build/ >> _Users_frank_Downloads_tk84/work/tk8.4.16/unix -I/opt/local/var/ >> macports/build/_Users_frank_Downloads_tk84/work/tk8.4.16/unix/../ >> generic -I/opt/local/var/macports/build/_Users_frank_Downloads_tk84/ >> work/tk8.4.16/unix/../bitmaps -I/opt/local/var/macports/build/ >> _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../../tcl8.4.16// >> generic -I/usr/X11/include -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 - >> DHAVE_COREFOUNDATION=1 -DMAC_OSX_TCL=1 -DTCL_WIDE_INT_TYPE=long\ >> long -DHAVE_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1 - >> DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_PW_GECOS=1 - >> DTCL_NO_DEPRECATED -DUSE_TCL_STUBS /opt/local/var/macports/build/ >> _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../generic/tkMain.c >> In file included from /opt/local/var/macports/build/ >> _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../generic/tkMain.c: >> 24: >> /opt/local/include/tk.h:23:3: error: #error Tk 8.5 must be compiled >> with tcl.h from Tcl 8.5 >> make: *** [tkMain.o] Error 1 >> >> Error: Status 1 encountered during processing. >> >> >> Any suggestions as to what I'm doing wrong? > > That's like this bug: > > http://trac.macosforge.org/projects/macports/ticket/13678 > > You must deactivate or uninstall tk 8.5 before you can build tk 8.4. > I think this is a peculiarity of tk. > > This problem was supposedly fixed in the latest version of the > portfile, but still exists of course in the old version of the > portfile you're using. OK, that works. Thanks! But now when I try to run my python program, I get the following runtime error: File "./my_python_program.py", line 158, in parent=Tkinter.Tk() File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1638, in __init__ self._loadtk() File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1658, in _loadtk % (_tkinter.TK_VERSION, tk_version) RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.4) Any more suggestions for me? Here's a reduced look at my "port installed" output. py25-tkinter @2.5.1_0 (active) python25 @2.5.1_4+darwin_9 python25 @2.5.2_0+darwin_9 (active) tcl @8.4.16_0+darwin_9 (active) tcl @8.5.1_0 tk @8.4.16_0 (active) tk @8.5.1_0 Cheers! Frank From ryandesign at macports.org Mon Mar 3 14:38:18 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 3 Mar 2008 16:38:18 -0600 Subject: Using blt in MacPorts In-Reply-To: References: <24BA32A0-7A26-45BA-82C6-7A4C7FBD072D@boulder.nist.gov> <8955D1E5-F6E6-4820-9464-E17FC167953B@macports.org> <0A7AAF1E-B12D-4602-B9C7-C10EBA518BA8@boulder.nist.gov> <1CB363DC-8A4F-4F50-8CF4-DB4AC8E521CB@macports.org> Message-ID: On Mar 3, 2008, at 16:16, Frank Schima wrote: >>> frank$ sudo port install >>> ---> Building tk with target all >>> Error: Target org.macports.build returned: shell command " cd "/ >>> opt/local/var/macports/build/_Users_frank_Downloads_tk84/work/ >>> tk8.4.16/unix" && make all " returned error 2 >>> Command output: /usr/bin/gcc-4.0 -c -Os -O2 -pipe -I/opt/local/ >>> include -I/opt/local/var/macports/build/ >>> _Users_frank_Downloads_tk84/work/tcl8.4.16/generic -Wall -Wno- >>> implicit-int -fno-strict-aliasing -fno-common -I/opt/local/var/ >>> macports/build/_Users_frank_Downloads_tk84/work/tk8.4.16/unix -I/ >>> opt/local/var/macports/build/_Users_frank_Downloads_tk84/work/ >>> tk8.4.16/unix/../generic -I/opt/local/var/macports/build/ >>> _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../bitmaps -I/opt/ >>> local/var/macports/build/_Users_frank_Downloads_tk84/work/ >>> tk8.4.16/unix/../../tcl8.4.16//generic -I/usr/X11/include - >>> DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_COREFOUNDATION=1 - >>> DMAC_OSX_TCL=1 -DTCL_WIDE_INT_TYPE=long\ long - >>> DHAVE_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 - >>> DSTDC_HEADERS=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED - >>> DUSE_TCL_STUBS /opt/local/var/macports/build/ >>> _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../generic/tkMain.c >>> In file included from /opt/local/var/macports/build/ >>> _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../generic/ >>> tkMain.c:24: >>> /opt/local/include/tk.h:23:3: error: #error Tk 8.5 must be >>> compiled with tcl.h from Tcl 8.5 >>> make: *** [tkMain.o] Error 1 >>> >>> Error: Status 1 encountered during processing. >>> >>> >>> Any suggestions as to what I'm doing wrong? >> >> That's like this bug: >> >> http://trac.macosforge.org/projects/macports/ticket/13678 >> >> You must deactivate or uninstall tk 8.5 before you can build tk >> 8.4. I think this is a peculiarity of tk. >> >> This problem was supposedly fixed in the latest version of the >> portfile, but still exists of course in the old version of the >> portfile you're using. > > OK, that works. Thanks! But now when I try to run my python > program, I get the following runtime error: > > File "./my_python_program.py", line 158, in > parent=Tkinter.Tk() > File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1638, in > __init__ > self._loadtk() > File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1658, in > _loadtk > % (_tkinter.TK_VERSION, tk_version) > RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.4) > > Any more suggestions for me? > > Here's a reduced look at my "port installed" output. > > py25-tkinter @2.5.1_0 (active) > python25 @2.5.1_4+darwin_9 > python25 @2.5.2_0+darwin_9 (active) > tcl @8.4.16_0+darwin_9 (active) > tcl @8.5.1_0 > tk @8.4.16_0 (active) > tk @8.5.1_0 Did you install py25-tkinter while tk 8.4.16 was active or while 8.5.1 was active? Maybe you need the latter. Try rebuilding it. (sudo port -ncuf upgrade py25-tkinter) From kw at codebykevin.com Mon Mar 3 14:40:33 2008 From: kw at codebykevin.com (Kevin Walzer) Date: Mon, 03 Mar 2008 17:40:33 -0500 Subject: Using blt in MacPorts In-Reply-To: References: <24BA32A0-7A26-45BA-82C6-7A4C7FBD072D@boulder.nist.gov> <8955D1E5-F6E6-4820-9464-E17FC167953B@macports.org> <0A7AAF1E-B12D-4602-B9C7-C10EBA518BA8@boulder.nist.gov> <1CB363DC-8A4F-4F50-8CF4-DB4AC8E521CB@macports.org> Message-ID: <47CC7E61.3040603@codebykevin.com> Frank Schima wrote: > > OK, that works. Thanks! But now when I try to run my python program, I > get the following runtime error: > > File "./my_python_program.py", line 158, in > parent=Tkinter.Tk() > File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1638, in > __init__ > self._loadtk() > File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1658, in > _loadtk > % (_tkinter.TK_VERSION, tk_version) > RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.4) > > Any more suggestions for me? > > Here's a reduced look at my "port installed" output. > > py25-tkinter @2.5.1_0 (active) > python25 @2.5.1_4+darwin_9 > python25 @2.5.2_0+darwin_9 (active) > tcl @8.4.16_0+darwin_9 (active) > tcl @8.5.1_0 > tk @8.4.16_0 (active) > tk @8.5.1_0 > Python has to be rebuilt to link against Tk 8.5. Try that. -- Kevin Walzer Code by Kevin http://www.codebykevin.com From schimaf at boulder.nist.gov Mon Mar 3 16:20:08 2008 From: schimaf at boulder.nist.gov (Frank Schima) Date: Mon, 3 Mar 2008 17:20:08 -0700 Subject: Using blt in MacPorts In-Reply-To: References: <24BA32A0-7A26-45BA-82C6-7A4C7FBD072D@boulder.nist.gov> <8955D1E5-F6E6-4820-9464-E17FC167953B@macports.org> <0A7AAF1E-B12D-4602-B9C7-C10EBA518BA8@boulder.nist.gov> <1CB363DC-8A4F-4F50-8CF4-DB4AC8E521CB@macports.org> Message-ID: On Mar 3, 2008, at 3:38 PM, Ryan Schmidt wrote: > On Mar 3, 2008, at 16:16, Frank Schima wrote: > >>>> frank$ sudo port install >>>> ---> Building tk with target all >>>> Error: Target org.macports.build returned: shell command " cd "/ >>>> opt/local/var/macports/build/_Users_frank_Downloads_tk84/work/ >>>> tk8.4.16/unix" && make all " returned error 2 >>>> Command output: /usr/bin/gcc-4.0 -c -Os -O2 -pipe -I/opt/local/ >>>> include -I/opt/local/var/macports/build/ >>>> _Users_frank_Downloads_tk84/work/tcl8.4.16/generic -Wall -Wno- >>>> implicit-int -fno-strict-aliasing -fno-common -I/opt/local/var/ >>>> macports/build/_Users_frank_Downloads_tk84/work/tk8.4.16/unix -I/ >>>> opt/local/var/macports/build/_Users_frank_Downloads_tk84/work/ >>>> tk8.4.16/unix/../generic -I/opt/local/var/macports/build/ >>>> _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../bitmaps -I/opt/ >>>> local/var/macports/build/_Users_frank_Downloads_tk84/work/ >>>> tk8.4.16/unix/../../tcl8.4.16//generic -I/usr/X11/include - >>>> DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_COREFOUNDATION=1 - >>>> DMAC_OSX_TCL=1 -DTCL_WIDE_INT_TYPE=long\ long - >>>> DHAVE_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 - >>>> DSTDC_HEADERS=1 -DHAVE_PW_GECOS=1 -DTCL_NO_DEPRECATED - >>>> DUSE_TCL_STUBS /opt/local/var/macports/build/ >>>> _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../generic/tkMain.c >>>> In file included from /opt/local/var/macports/build/ >>>> _Users_frank_Downloads_tk84/work/tk8.4.16/unix/../generic/ >>>> tkMain.c:24: >>>> /opt/local/include/tk.h:23:3: error: #error Tk 8.5 must be >>>> compiled with tcl.h from Tcl 8.5 >>>> make: *** [tkMain.o] Error 1 >>>> >>>> Error: Status 1 encountered during processing. >>>> >>>> >>>> Any suggestions as to what I'm doing wrong? >>> >>> That's like this bug: >>> >>> http://trac.macosforge.org/projects/macports/ticket/13678 >>> >>> You must deactivate or uninstall tk 8.5 before you can build tk >>> 8.4. I think this is a peculiarity of tk. >>> >>> This problem was supposedly fixed in the latest version of the >>> portfile, but still exists of course in the old version of the >>> portfile you're using. >> >> OK, that works. Thanks! But now when I try to run my python >> program, I get the following runtime error: >> >> File "./my_python_program.py", line 158, in >> parent=Tkinter.Tk() >> File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1638, in >> __init__ >> self._loadtk() >> File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1658, in >> _loadtk >> % (_tkinter.TK_VERSION, tk_version) >> RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.4) >> >> Any more suggestions for me? >> >> Here's a reduced look at my "port installed" output. >> >> py25-tkinter @2.5.1_0 (active) >> python25 @2.5.1_4+darwin_9 >> python25 @2.5.2_0+darwin_9 (active) >> tcl @8.4.16_0+darwin_9 (active) >> tcl @8.5.1_0 >> tk @8.4.16_0 (active) >> tk @8.5.1_0 > > Did you install py25-tkinter while tk 8.4.16 was active or while > 8.5.1 was active? Maybe you need the latter. Try rebuilding it. > (sudo port -ncuf upgrade py25-tkinter) On Mar 3, 2008, at 3:40 PM, Kevin Walzer wrote: > Frank Schima wrote: > >> OK, that works. Thanks! But now when I try to run my python >> program, I get the following runtime error: >> File "./my_python_program.py", line 158, in >> parent=Tkinter.Tk() >> File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1638, in >> __init__ >> self._loadtk() >> File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1658, in >> _loadtk >> % (_tkinter.TK_VERSION, tk_version) >> RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.4) >> Any more suggestions for me? >> Here's a reduced look at my "port installed" output. >> py25-tkinter @2.5.1_0 (active) >> python25 @2.5.1_4+darwin_9 >> python25 @2.5.2_0+darwin_9 (active) >> tcl @8.4.16_0+darwin_9 (active) >> tcl @8.5.1_0 >> tk @8.4.16_0 (active) >> tk @8.5.1_0 > > Python has to be rebuilt to link against Tk 8.5. Try that. I think you meant 8.4. :) Guys, thanks very much. After uninstalling all my python add-ons I was able to re-install python25 and py25-tkinter and it appears to work. Cheers! Frank From Barry.J.Mcinnes at noaa.gov Tue Mar 4 11:17:00 2008 From: Barry.J.Mcinnes at noaa.gov (Barry McInnes) Date: Tue, 04 Mar 2008 12:17:00 -0700 Subject: inkscape 0.45.1 fails to build on OS X Leopard (10.5.2) Message-ID: <47CDA02C.4030905@noaa.gov> Following on from #14211, I installed the py25 parts but on 10.5.2 PPC it still fails [mac27:/etc] root# port install inkscape ---> Configuring scrollkeeper Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_scrollkeeper/work/scrollkeeper-0.3.14" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --with-omfdirs=/opt/local/share/omf --with-xml-catalog=/opt/local/etc/xml/catalog " returned error 1 Command output: checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes checking if /usr/bin/gcc-4.0 static flag -static works... no checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes checking if /usr/bin/gcc-4.0 supports -c -o file.lo... yes checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared libraries... yes checking how to hardcode library paths into programs... unsupported checking whether stripping libraries is possible... no checking dynamic linker characteristics... darwin9.2.0 dyld checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... yes creating libtool checking for intltool >= 0.28... 0.28 found checking for perl... (cached) no configure: error: perl not found; required for intltool Error: The following dependencies failed to build: gnome-vfs gconf gtk2 gtk-doc scrollkeeper pango intltool gnome-common orbit2 libidl gnome-mime-data gtkmm cairomm glibmm libsigcxx2 libcroco libgnomeprintui gnome-icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml-simple p5-test-simple p5-test-harness p5-xml-namespacesupport p5-xml-sax libgnomecanvas gail libart_lgpl libglade2 libgnomeprint libgnomecups Error: Status 1 encountered during processing. [mac27:/etc] root# -- --- Barry McInnes 325 Broadway Boulder CO 80304 (303)4976231 barry.j.mcinnes at noaa.gov --- From markd at macports.org Tue Mar 4 13:39:30 2008 From: markd at macports.org (markd at macports.org) Date: Tue, 04 Mar 2008 13:39:30 -0800 Subject: Using blt in MacPorts Message-ID: >> Did you install py25-tkinter while tk 8.4.16 was active or while >> 8.5.1 was active? Maybe you need the latter. Try rebuilding it. >> (sudo port -ncuf upgrade py25-tkinter) > > >On Mar 3, 2008, at 3:40 PM, Kevin Walzer wrote: >> Frank Schima wrote: >> >>> OK, that works. Thanks! But now when I try to run my python >>> program, I get the following runtime error: >>> File "./my_python_program.py", line 158, in >>> parent=Tkinter.Tk() >>> File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1638, in >>> __init__ >>> self._loadtk() >>> File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1658, in >>> _loadtk >>> % (_tkinter.TK_VERSION, tk_version) >>> RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.4) >>> Any more suggestions for me? >>> Here's a reduced look at my "port installed" output. >>> py25-tkinter @2.5.1_0 (active) >>> python25 @2.5.1_4+darwin_9 >>> python25 @2.5.2_0+darwin_9 (active) >>> tcl @8.4.16_0+darwin_9 (active) >>> tcl @8.5.1_0 >>> tk @8.4.16_0 (active) >>> tk @8.5.1_0 >> >> Python has to be rebuilt to link against Tk 8.5. Try that. > >I think you meant 8.4. :) > >Guys, thanks very much. After uninstalling all my python add-ons I was >able to re-install python25 and py25-tkinter and it appears to work. So did tcl and tk 8.4.x fix BLT? Mark From brian at matzon.dk Tue Mar 4 14:03:20 2008 From: brian at matzon.dk (Brian Matzon) Date: Tue, 04 Mar 2008 23:03:20 +0100 Subject: rrdtool breaking Message-ID: <47CDC728.20309@matzon.dk> getting the following output when upgrading (Darwin 8.11.1 Darwin Kernel Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; root:xnu-792.25.20~1/RELEASE_I386 i386 i386): ---> Building rrdtool with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sou rces_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.2.27" && gnumake all " returned error 2 Command output: creating rrdtool if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/opt/local/share/rrdtool/fonts/DejaVuSansMono-Rom an.ttf\" -DNUMVERS=1.2027 -I/opt/local/include -I/opt/local/include/libart-2.0 -I/opt/local/include/freetype2 -I/opt/l ocal/include/libpng -D_THREAD_SAFE -I/usr/include/libart-2.0 -I/usr/include/freetype2 -O2 -fno-strict-aliasing -Wall -s td=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W inline -W -fno-common -DPIC -MT rrdupdate.o -MD -MP -MF ".deps/rrdupdate.Tpo" -c -o rrdupdate.o rrdupdate.c; \ then mv -f ".deps/rrdupdate.Tpo" ".deps/rrdupdate.Po"; else rm -f ".deps/rrdupdate.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow - Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -fno-common -DPIC -L/opt/local/lib -o rrdupdate rrdupdate.o librrdupd.la /usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-pro totypes -Wmissing-declarations -Wnested-externs -Winline -W -fno-common -DPIC -o rrdupdate rrdupdate.o -L/opt/local/lib ./.libs/librrdupd.a if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DRRD_DEFAULT_FONT=\"/opt/local/share/rrdtool/fonts/DejaVuSansMono-Rom an.ttf\" -DNUMVERS=1.2027 -I/opt/local/include -I/opt/local/include/libart-2.0 -I/opt/local/include/freetype2 -I/opt/l ocal/include/libpng -D_THREAD_SAFE -I/usr/include/libart-2.0 -I/usr/include/freetype2 -O2 -fno-strict-aliasing -Wall -s td=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W inline -W -fno-common -DPIC -MT rrd_cgi.o -MD -MP -MF ".deps/rrd_cgi.Tpo" -c -o rrd_cgi.o rrd_cgi.c; \ then mv -f ".deps/rrd_cgi.Tpo" ".deps/rrd_cgi.Po"; else rm -f ".deps/rrd_cgi.Tpo"; exit 1; fi rrd_cgi.c: In function 'main': rrd_cgi.c:422: warning: format '%d' expects type 'int', but argument 2 has type 'size_t' /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow - Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -fno-common -DPIC -L/opt/local/lib -o rrdcgi rrd_cgi.o librrd.la /usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-pro totypes -Wmissing-declarations -Wnested-externs -Winline -W -fno-common -DPIC -o .libs/rrdcgi rrd_cgi.o -L/opt/local/li b ./.libs/librrd.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libpng12.dylib -lz /opt/local/lib/libart_lgpl_2.d ylib -lm creating rrdcgi Making all in doc ln -s ../bindings/perl-shared/RRDs.pm RRDs.pod ln -s ../bindings/perl-piped/RRDp.pm RRDp.pod Making all in examples sed 's,@''exec_prefix@,/opt/local,' cgi-demo.cgi.in > cgi-demo.cgi chmod a+x cgi-demo.cgi Making all in bindings Making all in tcl echo "package ifneeded Rrd 1.2.27 \"load /opt/local/lib/tclrrd1.2.27[info sharedlibextension]\"" > pkgIndex.tcl /usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-pro totypes -Wmissing-declarations -Wnested-externs -Winline -W -fno-common -DPIC -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline - W -fno-common -DPIC -fno-common -I at TCL_INC_DIR@ -I../../src -DUSE_TCL_STUBS -c tclrrd.c -DVERSION=\"1.2.27\" /usr/bin/gcc-4.0 -dynamiclib -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align - Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W -fno-common -DPIC -L/opt/local/lib -Wl,-single_ module -L../../src/.libs -L../../src -L/opt/local/lib tclrrd.o -o tclrrd1.2.27.dylib -lrrd_th -lm -L/opt/local/lib -ltc lstub8.5 -L/opt/local/lib ld: Undefined symbols: _rrd_lastupdate /usr/bin/libtool: internal link edit command failed gnumake[3]: *** [tclrrd1.2.27.dylib] Error 1 gnumake[2]: *** [all-recursive] Error 1 gnumake[1]: *** [all-recursive] Error 1 gnumake: *** [all] Error 2 Error: Unable to upgrade port: 1 From schimaf at boulder.nist.gov Tue Mar 4 14:21:46 2008 From: schimaf at boulder.nist.gov (Frank Schima) Date: Tue, 4 Mar 2008 15:21:46 -0700 Subject: Using blt in MacPorts In-Reply-To: References: Message-ID: <22A114B0-D22C-4281-9018-7E4BA63A3A39@boulder.nist.gov> Hi Mark, On Mar 4, 2008, at 2:39 PM, markd at macports.org wrote: >>> Did you install py25-tkinter while tk 8.4.16 was active or while >>> 8.5.1 was active? Maybe you need the latter. Try rebuilding it. >>> (sudo port -ncuf upgrade py25-tkinter) >> >> >> On Mar 3, 2008, at 3:40 PM, Kevin Walzer wrote: >>> Frank Schima wrote: >>> >>>> OK, that works. Thanks! But now when I try to run my python >>>> program, I get the following runtime error: >>>> File "./my_python_program.py", line 158, in >>>> parent=Tkinter.Tk() >>>> File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1638, in >>>> __init__ >>>> self._loadtk() >>>> File "/opt/local/lib/python2.5/lib-tk/Tkinter.py", line 1658, in >>>> _loadtk >>>> % (_tkinter.TK_VERSION, tk_version) >>>> RuntimeError: tk.h version (8.5) doesn't match libtk.a version >>>> (8.4) >>>> Any more suggestions for me? >>>> Here's a reduced look at my "port installed" output. >>>> py25-tkinter @2.5.1_0 (active) >>>> python25 @2.5.1_4+darwin_9 >>>> python25 @2.5.2_0+darwin_9 (active) >>>> tcl @8.4.16_0+darwin_9 (active) >>>> tcl @8.5.1_0 >>>> tk @8.4.16_0 (active) >>>> tk @8.5.1_0 >>> >>> Python has to be rebuilt to link against Tk 8.5. Try that. >> >> I think you meant 8.4. :) >> >> Guys, thanks very much. After uninstalling all my python add-ons I >> was >> able to re-install python25 and py25-tkinter and it appears to work. > > So did tcl and tk 8.4.x fix BLT? Yes. I was able to install (and use) blt. Cheers! Frank From brian at matzon.dk Tue Mar 4 22:29:18 2008 From: brian at matzon.dk (Brian Matzon) Date: Wed, 05 Mar 2008 07:29:18 +0100 Subject: logrotate deleting conf file Message-ID: <47CE3DBE.4050209@matzon.dk> Hi all I recently upgraded logrotate and in doing so, my logrotate.conf file was deleted. Instead I got a shiny new logrotate-default. Fortunately I had a backup - but this is still a critical bug. I am unable to login to the trac and report the bug - the login process stalls. /matzon From wsiegrist at apple.com Wed Mar 5 00:37:56 2008 From: wsiegrist at apple.com (William Siegrist) Date: Wed, 05 Mar 2008 00:37:56 -0800 Subject: logrotate deleting conf file In-Reply-To: <47CE3DBE.4050209@matzon.dk> References: <47CE3DBE.4050209@matzon.dk> Message-ID: <44B6A340-A43F-4CC7-9FAA-EFBC832E3C22@apple.com> On the login issue... We had some problems with server load around that time, can you try again and email me directly if you still have trouble? Thanks. -Bill On Mar 4, 2008, at 10:29 PM, Brian Matzon wrote: > Hi all > > I recently upgraded logrotate and in doing so, my logrotate.conf file > was deleted. Instead I got a shiny new logrotate-default. > Fortunately I had a backup - but this is still a critical bug. > > I am unable to login to the trac and report the bug - the login > process > stalls. > > /matzon > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users ---- William Siegrist Software Support Engineer Mac OS Forge http://macosforge.org/ wsiegrist at apple.com 408 862 7337 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2421 bytes Desc: not available Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080305/0373334b/attachment.bin From stefmit at gmail.com Wed Mar 5 05:09:13 2008 From: stefmit at gmail.com (Stefmit) Date: Wed, 5 Mar 2008 07:09:13 -0600 Subject: ntop failure to build (where is ticket #13648 and could it help?!?) Message-ID: <200803050709.15362.stefmit@gmail.com> $ sudo port install ntop .... gnumake all-recursive Making all in . /bin/sh ./libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -g -Os -DBUILD=112 -DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/ -F/System/Library/Frameworks/ -pipe -Udarwin9 -Ddarwin9=darwin9 -I. -I/usr/local/include -I/opt/local/include -DDARWIN -I/usr/local/include -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-common -DPIC -MT address.lo -MD -MP -MF .deps/address.Tpo -c -o address.lo address.c /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -g -Os -DBUILD=112 -DMACOSX_DEPLOYMENT_TARGET=10.5 -F/System/Library/PrivateFrameworks/ -F/System/Library/Frameworks/ -pipe -Udarwin9 -Ddarwin9=darwin9 -I. -I/usr/local/include -I/opt/local/include -DDARWIN -I/usr/local/include -g -no-cpp-precomp -O2 -I/opt/local/include -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-common -DPIC -MT address.lo -MD -MP -MF .deps/address.Tpo -c address.c -fno-common -DPIC -o .libs/address.o In file included from ntop.h:484, from address.c:21: globals-structtypes.h:103: error: two or more data types in declaration specifiers globals-structtypes.h:103: warning: useless type name in empty declaration gnumake[2]: *** [address.lo] Error 1 gnumake[1]: *** [all-recursive] Error 1 gnumake: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ntop/work/ntop-3.3" && gnumake all " returned error 2 .... When searching for ntop failure to build I could only find http://trac.macosforge.org/projects/macports/ticket/14308 which does not apply in my case, but whose author mentions a ticket #13648, with - presumably - a fix, which ticket I could not find: http://trac.macosforge.org/projects/macports/search?q=13648&noquickjump=1&ticket=on Any ideas?!? TIA, Stefan From reiffert at macports.org Wed Mar 5 05:19:10 2008 From: reiffert at macports.org (Thomas Reifferscheid) Date: Wed, 05 Mar 2008 14:19:10 +0100 Subject: ntop failure to build (where is ticket #13648 and could it help?!?) In-Reply-To: <200803050709.15362.stefmit@gmail.com> References: <200803050709.15362.stefmit@gmail.com> Message-ID: <47CE9DCE.2070601@macports.org> Just replace 14308 by 13648 in your URL. Kind regards Thomas Stefmit wrote: [...] > http://trac.macosforge.org/projects/macports/ticket/14308 > > which does not apply in my case, but whose author mentions a ticket #13648, > with - presumably - a fix, which ticket I could not find: > > From mark at mwilden.com Wed Mar 5 09:27:26 2008 From: mark at mwilden.com (Wilden Mark) Date: Wed, 5 Mar 2008 09:27:26 -0800 Subject: General question about MacPorts Message-ID: I'm new to Mac OS and to MacPorts and I could use some guidance. A couple of days ago, I posted about the inability to build mod_python. There appears to be a problem building apr-1.2.12, which mod_python and others (like Subversion) depend on. A ticket was added for this (#14470). My questions are these: 1) Would this be considered a non-priority problem? Is it common for MacPorts to be unable to build vitally important tools like mod_python and subversion? Trust me, I'm not being snarky - I'd just like to know. 2) If that's in fact the case, what are the alternatives, if someone (like me) has been using MacPorts for other things? It appears (to this newbie) that you can't tell MacPorts, "hey, you don't need to build this - I built it myself," so it doesn't consider that it has a missing dependency. 3) Is MacPorts really just a convenience, and not something that one should depend on? Mr. Mod_Python (Graham Dumpleton) recommends not using it, for example. Again, I don't know whether that's true or not - I'm just interested in an objective answer. This is NOT a flame. I respect and admire the MacPorts project, and I'm aware that the folks who are working on it are doing so for the good of the community, for no personal gain. The thing is, I'm a database guy - I just need some very basic functionality. If someone could give their opinion on the questions above, I'd very much appreciate it! ///ark From william at gallaf.net Wed Mar 5 09:41:37 2008 From: william at gallaf.net (William Gallafent) Date: Wed, 5 Mar 2008 17:41:37 +0000 Subject: RMagick build failure (10.5) Message-ID: <72C15724-7A79-4D2D-BEEE-1BDBA64F7AC6@gallaf.net> Hi, When I try to install the rb-rmagick port, it fails with the following report: ---> Configuring rb-rmagick Warning: wmf2eps is not installed, some RMagick examples will fail. Warning: gs is not installed, some RMagick examples will fail. Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_ruby_rb-rmagick/work/RMagick-1.15.10" && ./ configure --prefix=/opt/local --with-doc-dir=/opt/local/share/doc/rb- rmagick/userguide --enable-allow-example-errors " returned error 1 Command output: Configuring RMagick 1.15.10 checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/bin/gcc-4.0 accepts -g... yes checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed checking for /usr/bin/gcc-4.0 option to accept ISO C99... -std=gnu99 checking for /usr/bin/gcc-4.0 -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for ruby... /opt/local/bin/ruby checking for Magick-config... Magick-config checking for InitializeMagick in -lMagick... no configure: error: Can't install RMagick. Can't find libMagick or one of the dependent libraries. Check the config.log file for more detailed information. Error: Status 1 encountered during processing. The likely-looking libraries I have in /opt/local/lib are: -rwxr-xr-x 2 root admin 1379 5 Mar 17:27 libMagickCore.la -rw-r--r-- 2 root admin 2801072 5 Mar 17:27 libMagickCore.a -rwxr-xr-x 2 root admin 2049336 5 Mar 17:27 libMagickCore.1.dylib -rwxr-xr-x 2 root admin 1411 5 Mar 17:27 libMagickWand.la -rw-r--r-- 2 root admin 1268160 5 Mar 17:27 libMagickWand.a -rwxr-xr-x 2 root admin 846408 5 Mar 17:27 libMagickWand.1.dylib -rwxr-xr-x 2 root admin 1431 5 Mar 17:27 libMagick++.la -rw-r--r-- 2 root admin 731172 5 Mar 17:27 libMagick++.a -rwxr-xr-x 2 root admin 378796 5 Mar 17:27 libMagick++.1.dylib lrwxr-xr-x 1 root admin 21 5 Mar 17:27 libMagickWand.dylib -> libMagickWand.1.dylib lrwxr-xr-x 1 root admin 21 5 Mar 17:27 libMagickCore.dylib -> libMagickCore.1.dylib lrwxr-xr-x 1 root admin 19 5 Mar 17:27 libMagick++.dylib - > libMagick++.1.dylib drwxr-xr-x 4 root admin 136 5 Mar 17:27 ImageMagick-6.3.9 ... so there's no actual libMagick.dylib, even though the ImageMagick port appeared to install happily. Any guidance? Thanks, -- Bill Gallafent. From dluke at geeklair.net Wed Mar 5 10:53:37 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Wed, 5 Mar 2008 13:53:37 -0500 Subject: General question about MacPorts In-Reply-To: References: Message-ID: On Mar 5, 2008, at 12:27 PM, Wilden Mark wrote: > A couple of days ago, I posted about the inability to build > mod_python. There appears to be a problem building apr-1.2.12, which > mod_python and others (like Subversion) depend on. A ticket was added > for this (#14470). Sorry, I didn't notice this ticket (as it wasn't assigned or CC'd to me), and I'm the maintainer of the apr port. It looks like your issue is a duplicate of #14203 (it's a conflict with ossp-uuid) and you should be able to get things working by temporarily deactivating ossp-uuid, rebuilding apr, and then activating ossp-uuid after you get it installed. [There's more detailed information in the ticket]. > My questions are these: > > 1) Would this be considered a non-priority problem? no. > Is it common for > MacPorts to be unable to build vitally important tools like mod_python > and subversion? 'vitally important' is in the eye of the user ;-) Ports with a maintainer should all build (at least most of the time), but there are many ports without a current maintainer that may or may not have been tested recently. > 2) If that's in fact the case, what are the alternatives, if someone > (like me) has been using MacPorts for other things? It appears (to > this newbie) that you can't tell MacPorts, "hey, you don't need to > build this - I built it myself," so it doesn't consider that it has a > missing dependency. By design, you can't do this. The rational for why is on website. Modifying portfiles isn't hard, however, so it's often easier to fix the macports port (and submit a patch so others can benefit) than building and managing things by hand by yourself. > 3) Is MacPorts really just a convenience, and not something that one > should depend on? That's something you have to determine for yourself. Macports is a volunteer project. I'm sure if you wanted to pay someone to make sure everything that's important to you kept working, you could ;-) > Mr. Mod_Python (Graham Dumpleton) recommends not > using it, for example. That's interesting, and I would be curious as to why that would be the case. -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From markd at macports.org Wed Mar 5 18:26:16 2008 From: markd at macports.org (markd at macports.org) Date: Wed, 05 Mar 2008 18:26:16 -0800 Subject: logrotate deleting conf file Message-ID: >I recently upgraded logrotate and in doing so, my logrotate.conf file >was deleted. Instead I got a shiny new logrotate-default. >Fortunately I had a backup - but this is still a critical bug. > >I am unable to login to the trac and report the bug - the login process >stalls. I thought the developers named the file with "-default" was so it would be renamed. But I renamed the file logrotate.conf.sample anyway. But it must be renamed from that after install or it will be overwritten on the next upgrade too. Mark From markd at macports.org Wed Mar 5 18:29:50 2008 From: markd at macports.org (markd at macports.org) Date: Wed, 05 Mar 2008 18:29:50 -0800 Subject: ntop failure to build (where is ticket #13648 Message-ID: Ntop is very broken and it is beyond my expertise to fix it. Someone needs to contact the developers and it will be a bit before I get to it. But all anyone can do is describe the symptoms and ask them. Mark From skip at pobox.com Wed Mar 5 20:35:53 2008 From: skip at pobox.com (skip at pobox.com) Date: Wed, 5 Mar 2008 22:35:53 -0600 Subject: Installing py25-matplotlib fails Message-ID: <18383.29865.69240.599090@montanaro-dyndns-org.local> I'm unable to install the py25-matplotlib port on my Leopard box. It chunks along for awhile installing various things then barfs on py25-hashlib: ---> Fetching py25-hashlib ---> Verifying checksum(s) for py25-hashlib ---> Extracting py25-hashlib ---> Configuring py25-hashlib ---> Building py25-hashlib with target build Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-hashlib/work/Python-2.5.2/Modules" && /opt/local/bin/python2.5 setup.py build " returned error 1 Command output: running build running build_ext building '_hashlib' extension creating build creating build/temp.macosx-10.3-i386-2.5 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/python2.5 -c _hashopenssl.c -o build/temp.macosx-10.3-i386-2.5/_hashopenssl.o unable to execute -DNDEBUG: No such file or directory error: command '-DNDEBUG' failed with exit status 1 Error: The following dependencies failed to build: py25-numpy py25-hashlib py25-tkinter tcl tk Error: Status 1 encountered during processing. It seems like the system is forgetting to put "gcc" at the front of the command line when building Python extensions. This same problem was reported here not that long ago (maybe a month). I sort of thought it would be sorted out by now but I don't recall seeing anything about a fix. I'm running a "sudo port upgrade outdated" now just in case I missed something, but I'm skeptical much will change. Any thoughs on this problem? -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From ram at macports.org Wed Mar 5 20:48:06 2008 From: ram at macports.org (Adam Mercer) Date: Wed, 5 Mar 2008 23:48:06 -0500 Subject: Installing py25-matplotlib fails In-Reply-To: <18383.29865.69240.599090@montanaro-dyndns-org.local> References: <18383.29865.69240.599090@montanaro-dyndns-org.local> Message-ID: <799406d60803052048t572098d5p6ee6d8790397a072@mail.gmail.com> On Wed, Mar 5, 2008 at 11:35 PM, wrote: > > I'm unable to install the py25-matplotlib port on my Leopard box. It chunks > along for awhile installing various things then barfs on py25-hashlib: > > ---> Fetching py25-hashlib > ---> Verifying checksum(s) for py25-hashlib > ---> Extracting py25-hashlib > ---> Configuring py25-hashlib > ---> Building py25-hashlib with target build > Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-hashlib/work/Python-2.5.2/Modules" && /opt/local/bin/python2.5 setup.py build " returned error 1 > Command output: running build > running build_ext > building '_hashlib' extension > creating build > creating build/temp.macosx-10.3-i386-2.5 > -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/python2.5 -c _hashopenssl.c -o build/temp.macosx-10.3-i386-2.5/_hashopenssl.o > unable to execute -DNDEBUG: No such file or directory > error: command '-DNDEBUG' failed with exit status 1 > > Error: The following dependencies failed to build: py25-numpy py25-hashlib py25-tkinter tcl tk > Error: Status 1 encountered during processing. I've seen this before, although no idea what causes it. Chances are if you try installing again, it'll work. Cheers Adam From tabithamc at gmail.com Wed Mar 5 22:02:54 2008 From: tabithamc at gmail.com (Tabitha McNerney) Date: Wed, 5 Mar 2008 20:02:54 -1000 Subject: TinyCA2 Message-ID: <7fccb3000803052202x1eb96857s3a0a4e934d958a94@mail.gmail.com> Hello all -- I have worked on updating the TinyCA2 source code to include SHA-256 capability (default of the current version is SHA-1 but I think its time the world moves forward a bit). The changes to the source code I have submitted in an email back to the original maintainer (not the MacPorts maintainer -- I want the code to first be made available on the source web site and then we can modify the MacPorts port for TinyCA2) In the mean time, I'm educating myself about OpenSSL and creating a Certificate Authority (such as for self-signed CA) in the PKI context. I have been reading the RFC 3280 about PKI and X.509 ... there are some values that can be entered (using TinyCA2 for example) that are passed to OpenSSL on the command line for certain data structures that are used for creating certificates. For example the X.509 extension: 4.2.1.8 Issuer Alternative Names > > As with 4.2.1.7, this extension is used to associate Internet style > identities with the certificate issuer. Issuer alternative names > MUST be encoded as in 4.2.1.7. > > Where present, this extension SHOULD NOT be marked critical. > > id-ce-issuerAltName OBJECT IDENTIFIER ::= { id-ce 18 } > > IssuerAltName ::= GeneralNames > TinyCA2, when it is first run, fills in some default values, for example for the Issuer Alternative Names extension, these values: issuer:copy > I've been pouring through the RFC and have not been able to find a source of information as to what value space there is for example for the "issuer" as in the text "copy". Is anyone here well versed enough on this topic to know where this information (the value space) is more defined? Thank you for any suggestions. Cheers, Tabitha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080305/c09ce540/attachment-0001.html From ryandesign at macports.org Wed Mar 5 22:15:37 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 6 Mar 2008 00:15:37 -0600 Subject: RMagick build failure (10.5) In-Reply-To: <72C15724-7A79-4D2D-BEEE-1BDBA64F7AC6@gallaf.net> References: <72C15724-7A79-4D2D-BEEE-1BDBA64F7AC6@gallaf.net> Message-ID: <3EF42BB2-39CE-4BE4-9EF7-BE0B3546F594@macports.org> This bug has already been filed in the issue tracker: http://trac.macosforge.org/projects/macports/ticket/14271 Unfortunately this port has no maintainer, and I don't know how to fix it. Suggestions welcome. On Mar 5, 2008, at 11:41, William Gallafent wrote: > Hi, > > When I try to install the rb-rmagick port, it fails with the following > report: > > ---> Configuring rb-rmagick > Warning: wmf2eps is not installed, some RMagick examples will fail. > Warning: gs is not installed, some RMagick examples will fail. > Error: Target org.macports.configure returned: configure failure: > shell command " cd "/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_ruby_rb-rmagick/work/RMagick-1.15.10" > && ./ > configure --prefix=/opt/local --with-doc-dir=/opt/local/share/doc/rb- > rmagick/userguide --enable-allow-example-errors " returned error 1 > Command output: Configuring RMagick 1.15.10 > checking for gcc... /usr/bin/gcc-4.0 > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether /usr/bin/gcc-4.0 accepts -g... yes > checking for /usr/bin/gcc-4.0 option to accept ISO C89... none needed > checking for /usr/bin/gcc-4.0 option to accept ISO C99... -std=gnu99 > checking for /usr/bin/gcc-4.0 -std=gnu99 option to accept ISO Standard > C... (cached) -std=gnu99 > checking for ruby... /opt/local/bin/ruby > checking for Magick-config... Magick-config > checking for InitializeMagick in -lMagick... no > configure: error: Can't install RMagick. Can't find libMagick or one > of the dependent libraries. > Check the config.log file for more detailed > information. > > Error: Status 1 encountered during processing. > > The likely-looking libraries I have in /opt/local/lib are: > > -rwxr-xr-x 2 root admin 1379 5 Mar 17:27 libMagickCore.la > -rw-r--r-- 2 root admin 2801072 5 Mar 17:27 libMagickCore.a > -rwxr-xr-x 2 root admin 2049336 5 Mar 17:27 libMagickCore. > 1.dylib > -rwxr-xr-x 2 root admin 1411 5 Mar 17:27 libMagickWand.la > -rw-r--r-- 2 root admin 1268160 5 Mar 17:27 libMagickWand.a > -rwxr-xr-x 2 root admin 846408 5 Mar 17:27 libMagickWand. > 1.dylib > -rwxr-xr-x 2 root admin 1431 5 Mar 17:27 libMagick++.la > -rw-r--r-- 2 root admin 731172 5 Mar 17:27 libMagick++.a > -rwxr-xr-x 2 root admin 378796 5 Mar 17:27 libMagick++.1.dylib > lrwxr-xr-x 1 root admin 21 5 Mar 17:27 libMagickWand.dylib > -> libMagickWand.1.dylib > lrwxr-xr-x 1 root admin 21 5 Mar 17:27 libMagickCore.dylib > -> libMagickCore.1.dylib > lrwxr-xr-x 1 root admin 19 5 Mar 17:27 libMagick++.dylib - >> libMagick++.1.dylib > drwxr-xr-x 4 root admin 136 5 Mar 17:27 ImageMagick-6.3.9 > > ... so there's no actual libMagick.dylib, even though the ImageMagick > port appeared to install happily. > > Any guidance? From ryandesign at macports.org Wed Mar 5 22:25:16 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 6 Mar 2008 00:25:16 -0600 Subject: inkscape 0.45.1 fails to build on OS X Leopard (10.5.2) In-Reply-To: <47CDA02C.4030905@noaa.gov> References: <47CDA02C.4030905@noaa.gov> Message-ID: <8A26C2AD-29C4-4526-B7D2-C558608C5842@macports.org> On Mar 4, 2008, at 13:17, Barry McInnes wrote: > Following on from #14211, I installed the py25 parts but on 10.5.2 PPC > it still fails #14211 deals with issues building inkscape. You do not appear to be experiencing issues building inkscape, but issues configuring scrollkeeper. > [mac27:/etc] root# port install inkscape > ---> Configuring scrollkeeper > Error: Target org.macports.configure returned: configure failure: > shell > command " cd > "/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_textp > roc_scrollkeeper/work/scrollkeeper-0.3.14" > && ./configure --prefix=/opt/local --mandir=/opt/local/share/man > --with-omfdirs=/opt/local/share/omf > --with-xml-catalog=/opt/local/etc/xml/catalog " returned error 1 > Command output: checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking dlfcn.h usability... yes > checking dlfcn.h presence... yes > checking for dlfcn.h... yes > checking for ranlib... ranlib > checking for strip... strip > checking for objdir... .libs > checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common > checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes > checking if /usr/bin/gcc-4.0 static flag -static works... no > checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes > checking if /usr/bin/gcc-4.0 supports -c -o file.lo... yes > checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... yes > checking whether the linker > (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared > libraries... yes > checking how to hardcode library paths into programs... unsupported > checking whether stripping libraries is possible... no > checking dynamic linker characteristics... darwin9.2.0 dyld > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking whether -lc should be explicitly linked in... yes > creating libtool > checking for intltool >= 0.28... 0.28 found > checking for perl... (cached) no > configure: error: perl not found; required for intltool scrollkeeper does declare a build dependency on perl5.8 so I'm not sure why perl wouldn't be on your system. Is the perl5.8 port installed and activated? Is /opt/local/bin/perl on your system and does it work? From ryandesign at macports.org Wed Mar 5 22:27:05 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 6 Mar 2008 00:27:05 -0600 Subject: rrdtool breaking In-Reply-To: <47CDC728.20309@matzon.dk> References: <47CDC728.20309@matzon.dk> Message-ID: On Mar 4, 2008, at 16:03, Brian Matzon wrote: > getting the following output when upgrading (Darwin 8.11.1 Darwin > Kernel > Version 8.11.1: Wed Oct 10 18:23:28 PDT 2007; > root:xnu-792.25.20~1/RELEASE_I386 i386 i386): > > ---> Building rrdtool with target all > Error: Target org.macports.build returned: shell command " cd > "/opt/local/var/macports/build/_opt_local_var_macports_sou > rces_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.2.27" > && gnumake all " returned error 2 > Command output: creating rrdtool > if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. > -DRRD_DEFAULT_FONT=\"/opt/local/share/rrdtool/fonts/DejaVuSansMono-Rom > an.ttf\" -DNUMVERS=1.2027 -I/opt/local/include > -I/opt/local/include/libart-2.0 -I/opt/local/include/freetype2 -I/ > opt/l > ocal/include/libpng -D_THREAD_SAFE -I/usr/include/libart-2.0 > -I/usr/include/freetype2 -O2 -fno-strict-aliasing -Wall -s > td=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align > -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W > inline -W -fno-common -DPIC -MT rrdupdate.o -MD -MP -MF > ".deps/rrdupdate.Tpo" -c -o rrdupdate.o rrdupdate.c; \ > then mv -f ".deps/rrdupdate.Tpo" ".deps/rrdupdate.Po"; else rm -f > ".deps/rrdupdate.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 > -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow - > Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing- > declarations > -Wnested-externs -Winline -W -fno-common -DPIC > -L/opt/local/lib -o rrdupdate rrdupdate.o librrdupd.la > /usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic > -Wshadow -Wpointer-arith -Wcast-align -Wmissing-pro > totypes -Wmissing-declarations -Wnested-externs -Winline -W -fno- > common > -DPIC -o rrdupdate rrdupdate.o -L/opt/local/lib > ./.libs/librrdupd.a > if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. > -DRRD_DEFAULT_FONT=\"/opt/local/share/rrdtool/fonts/DejaVuSansMono-Rom > an.ttf\" -DNUMVERS=1.2027 -I/opt/local/include > -I/opt/local/include/libart-2.0 -I/opt/local/include/freetype2 -I/ > opt/l > ocal/include/libpng -D_THREAD_SAFE -I/usr/include/libart-2.0 > -I/usr/include/freetype2 -O2 -fno-strict-aliasing -Wall -s > td=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align > -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -W > inline -W -fno-common -DPIC -MT rrd_cgi.o -MD -MP -MF > ".deps/rrd_cgi.Tpo" -c -o rrd_cgi.o rrd_cgi.c; \ > then mv -f ".deps/rrd_cgi.Tpo" ".deps/rrd_cgi.Po"; else rm -f > ".deps/rrd_cgi.Tpo"; exit 1; fi > rrd_cgi.c: In function 'main': > rrd_cgi.c:422: warning: format '%d' expects type 'int', but argument 2 > has type 'size_t' > /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.0 -O2 > -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow - > Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing- > declarations > -Wnested-externs -Winline -W -fno-common -DPIC > -L/opt/local/lib -o rrdcgi rrd_cgi.o librrd.la > /usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic > -Wshadow -Wpointer-arith -Wcast-align -Wmissing-pro > totypes -Wmissing-declarations -Wnested-externs -Winline -W -fno- > common > -DPIC -o .libs/rrdcgi rrd_cgi.o -L/opt/local/li > b ./.libs/librrd.dylib /opt/local/lib/libfreetype.dylib > /opt/local/lib/libpng12.dylib -lz /opt/local/lib/libart_lgpl_2.d > ylib -lm > creating rrdcgi > Making all in doc > ln -s ../bindings/perl-shared/RRDs.pm RRDs.pod > ln -s ../bindings/perl-piped/RRDp.pm RRDp.pod > Making all in examples > sed 's,@''exec_prefix@,/opt/local,' cgi-demo.cgi.in > cgi-demo.cgi > chmod a+x cgi-demo.cgi > Making all in bindings > Making all in tcl > echo "package ifneeded Rrd 1.2.27 \"load > /opt/local/lib/tclrrd1.2.27[info sharedlibextension]\"" > pkgIndex.tcl > /usr/bin/gcc-4.0 -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic > -Wshadow -Wpointer-arith -Wcast-align -Wmissing-pro > totypes -Wmissing-declarations -Wnested-externs -Winline -W -fno- > common > -DPIC -O2 -fno-strict-aliasing -Wall -std=gnu99 > -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes > -Wmissing-declarations -Wnested-externs -Winline - > W -fno-common -DPIC -fno-common -I at TCL_INC_DIR@ -I../../src > -DUSE_TCL_STUBS -c tclrrd.c -DVERSION=\"1.2.27\" > /usr/bin/gcc-4.0 -dynamiclib -O2 -fno-strict-aliasing -Wall -std=gnu99 > -pedantic -Wshadow -Wpointer-arith -Wcast-align - > Wmissing-prototypes -Wmissing-declarations -Wnested-externs - > Winline -W > -fno-common -DPIC -L/opt/local/lib -Wl,-single_ > module -L../../src/.libs -L../../src -L/opt/local/lib tclrrd.o -o > tclrrd1.2.27.dylib -lrrd_th -lm -L/opt/local/lib -ltc > lstub8.5 -L/opt/local/lib > ld: Undefined symbols: > _rrd_lastupdate > /usr/bin/libtool: internal link edit command failed > gnumake[3]: *** [tclrrd1.2.27.dylib] Error 1 > gnumake[2]: *** [all-recursive] Error 1 > gnumake[1]: *** [all-recursive] Error 1 > gnumake: *** [all] Error 2 > > Error: Unable to upgrade port: 1 You may need to uninstall or deactivate your existing rrdtool before installing the new one? If that doesn't work, please file a ticket and assign it to Mark. From brian at matzon.dk Wed Mar 5 22:51:40 2008 From: brian at matzon.dk (Brian Matzon) Date: Thu, 06 Mar 2008 07:51:40 +0100 Subject: rrdtool breaking In-Reply-To: References: <47CDC728.20309@matzon.dk> Message-ID: <47CF947C.5080605@matzon.dk> Ryan Schmidt wrote: > You may need to uninstall or deactivate your existing rrdtool before > installing the new one? If that doesn't work, please file a ticket and > assign it to Mark. yes, this fixed it: [var/root] > uninstall rrdtool ---> Unable to uninstall rrdtool 1.2.15_0, the following ports depend on it: ---> cacti Error: port uninstall failed: Please uninstall the ports that depend on rrdtool first. [var/root] > uninstall -f rrdtool ---> Unable to uninstall rrdtool 1.2.15_0, the following ports depend on it: ---> cacti Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating rrdtool 1.2.15_0 ---> Uninstalling rrdtool 1.2.15_0 [var/root] > install rrdtool ---> Building rrdtool with target all ---> Staging rrdtool into destroot ---> Installing rrdtool 1.2.27_0 See /opt/local/share/doc/rrdtool for example code ---> Activating rrdtool 1.2.27_0 ---> Cleaning rrdtool From lists at sequestered.net Thu Mar 6 03:22:43 2008 From: lists at sequestered.net (Jay Chandler) Date: Thu, 06 Mar 2008 03:22:43 -0800 Subject: aspell Dies on Staging Message-ID: <47CFD403.1030802@sequestered.net> jay at Singularity~$ sudo port install pan2 ---> Fetching aspell ---> Verifying checksum(s) for aspell ---> Extracting aspell ---> Configuring aspell ---> Building aspell with target all ---> Staging aspell into destroot Error: Target org.macports.destroot returned: shell command "install-info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_aspell/work/destroot/opt/local/share/info/aspell.info /opt/local/share/info/dir" returned error 1 Command output: install-info: No such file or directory for /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_aspell/work/destroot/opt/local/share/info/aspell.info Error: The following dependencies failed to build: gtkspell2 aspell Error: Status 1 encountered during processing. jay at Singularity~$ I've done a port clean aspell, same error repeats. Any thoughts? -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Too much radiation coming from the soil From stefmit at gmail.com Thu Mar 6 03:54:55 2008 From: stefmit at gmail.com (Stefan) Date: Thu, 6 Mar 2008 05:54:55 -0600 Subject: aspell Dies on Staging In-Reply-To: <47CFD403.1030802@sequestered.net> References: <47CFD403.1030802@sequestered.net> Message-ID: Similar (aspell issue) here - just acquired a new Macbook, and started again (from scratch) the "macports saga" (I had an old PPC-based macbook which had pretty much everything I needed installed ... in time - so I wanted the same on the new one) - when trying a $sudo port -d install kdepim3 it fails on aspell: ***snip*** Error: Target org.macports.destroot returned: shell command "install-info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_aspell/work/destroot/opt/local/share/info/aspell.info /opt/local/share/info/dir" returned error 1 Command output: install-info: No such file or directory for /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_aspell/work/destroot/opt/local/share/info/aspell.info Warning: the following items did not execute (for aspell): org.macports.activate org.macports.destroot org.macports.install Error: The following dependencies failed to build: kdeaccessibility3 kdebase3 kdelibs3 aspell flex glib2 hicolor-icon-theme jasper jpeg libart_lgpl libidn libpng libxml2 libxslt lua openexr pcre qt3 tiff unsermake py25-zlib python25 libusb opensync py25-gobject py25-numeric sqlite3 gawk swig bison Error: Status 1 encountered during processing. On Thu, Mar 6, 2008 at 5:22 AM, Jay Chandler wrote: > jay at Singularity~$ sudo port install pan2 > ---> Fetching aspell > ---> Verifying checksum(s) for aspell > ---> Extracting aspell > ---> Configuring aspell > ---> Building aspell with target all > ---> Staging aspell into destroot > Error: Target org.macports.destroot returned: shell command > "install-info > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_aspell/work/destroot/opt/local/share/info/aspell.info > /opt/local/share/info/dir" returned error 1 > Command output: install-info: No such file or directory for > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_aspell/work/destroot/opt/local/share/info/aspell.info > > Error: The following dependencies failed to build: gtkspell2 aspell > Error: Status 1 encountered during processing. > jay at Singularity~$ > > I've done a port clean aspell, same error repeats. Any thoughts? > > -- > Jay Chandler / KB1JWQ > Living Legend / Systems Exorcist > Today's Excuse: Too much radiation coming from the soil > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From skip at pobox.com Thu Mar 6 04:11:02 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 06:11:02 -0600 Subject: Installing py25-matplotlib fails In-Reply-To: <799406d60803052048t572098d5p6ee6d8790397a072@mail.gmail.com> References: <18383.29865.69240.599090@montanaro-dyndns-org.local> <799406d60803052048t572098d5p6ee6d8790397a072@mail.gmail.com> Message-ID: <18383.57174.608572.540743@montanaro-dyndns-org.local> Adam> I've seen this before, although no idea what causes it. Chances Adam> are if you try installing again, it'll work. I'm skeptical. I reinstalled from scratch a couple of weeks ago because of build problems. I'm only now getting back to the point where I have a useful set of ports installed. If I decide to reinstall, is there some way I can record what ports I currently have installed then, after the basic install, reinstall those ports with one command? Failing that, is there some way I can debug this problem? On my G4/10.4 system I installed py25-matplotlib with no problem. I'm suspicious that there's some Leopard/MacPorts thing going on here. -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From ram at macports.org Thu Mar 6 05:28:09 2008 From: ram at macports.org (Adam Mercer) Date: Thu, 6 Mar 2008 08:28:09 -0500 Subject: Installing py25-matplotlib fails In-Reply-To: <18383.57174.608572.540743@montanaro-dyndns-org.local> References: <18383.29865.69240.599090@montanaro-dyndns-org.local> <799406d60803052048t572098d5p6ee6d8790397a072@mail.gmail.com> <18383.57174.608572.540743@montanaro-dyndns-org.local> Message-ID: <799406d60803060528u6ecdb603v67f05604b15ebca9@mail.gmail.com> On Thu, Mar 6, 2008 at 7:11 AM, wrote: > > Adam> I've seen this before, although no idea what causes it. Chances > Adam> are if you try installing again, it'll work. > > I'm skeptical. I reinstalled from scratch a couple of weeks ago because of > build problems. I'm only now getting back to the point where I have a > useful set of ports installed. When I say install it again, I don't mean the whole of MacPorts, just the py25-hashlib port. > If I decide to reinstall, is there some way I can record what ports I > currently have installed then, after the basic install, reinstall those > ports with one command? > > Failing that, is there some way I can debug this problem? On my G4/10.4 > system I installed py25-matplotlib with no problem. I'm suspicious that > there's some Leopard/MacPorts thing going on here. Cheers Adam From stochashtic at yahoo.ca Thu Mar 6 05:45:55 2008 From: stochashtic at yahoo.ca (Suresh Pillai) Date: Thu, 6 Mar 2008 14:45:55 +0100 (CET) Subject: Installing py25-matplotlib fails In-Reply-To: <799406d60803052048t572098d5p6ee6d8790397a072@mail.gmail.com> References: <18383.29865.69240.599090@montanaro-dyndns-org.local> <799406d60803052048t572098d5p6ee6d8790397a072@mail.gmail.com> Message-ID: Bizzarely it does work if you make a second attempt to install any of the various py25 libs that all fail with this same error. However, you may be disappointed like me to to then get a segmentation fault for matplotlib when calling pylab.show() Python from macports on leopard just seems to be nothing but trouble. I ended up installing matplotlib manually from their site against the system installation of python and everything works painlessly. Cheers, Suresh On Wed, 5 Mar 2008, Adam Mercer wrote: > On Wed, Mar 5, 2008 at 11:35 PM, wrote: >> >> I'm unable to install the py25-matplotlib port on my Leopard box. It chunks >> along for awhile installing various things then barfs on py25-hashlib: >> >> ---> Fetching py25-hashlib >> ---> Verifying checksum(s) for py25-hashlib >> ---> Extracting py25-hashlib >> ---> Configuring py25-hashlib >> ---> Building py25-hashlib with target build >> Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-hashlib/work/Python-2.5.2/Modules" && /opt/local/bin/python2.5 setup.py build " returned error 1 >> Command output: running build >> running build_ext >> building '_hashlib' extension >> creating build >> creating build/temp.macosx-10.3-i386-2.5 >> -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/python2.5 -c _hashopenssl.c -o build/temp.macosx-10.3-i386-2.5/_hashopenssl.o >> unable to execute -DNDEBUG: No such file or directory >> error: command '-DNDEBUG' failed with exit status 1 >> >> Error: The following dependencies failed to build: py25-numpy py25-hashlib py25-tkinter tcl tk >> Error: Status 1 encountered during processing. > > I've seen this before, although no idea what causes it. Chances are if > you try installing again, it'll work. > > Cheers > > Adam > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > ----- Suresh Pillai | Entrepreneurial Risks <- D-MTEC <- ETH Z?rich | http://www.er.ethz.ch/ From skip at pobox.com Thu Mar 6 05:02:50 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 07:02:50 -0600 Subject: odd port list installed output Message-ID: <18383.60282.986340.189349@montanaro-dyndns-org.local> In my previous email I wrote: If I decide to reinstall, is there some way I can record what ports I currently have installed then, after the basic install, reinstall those ports with one command? So port list installed seems to spit out something almost like what I need, but I noticed that I seem to have two copies of several ports installed. It looks like fftw-3, oss-uuid, python24 and python25 are all installed twice: % port list installed bison @2.3 devel/bison bzip2 @1.0.4 archivers/bzip2 db44 @4.4.20 databases/db44 expat @2.0.1 textproc/expat fftw-3 @3.1.2 math/fftw-3 fftw-3 @3.1.2 math/fftw-3 freetype @2.3.5 print/freetype g95 @0.90 lang/g95 gdbm @1.8.3 databases/gdbm gettext @0.17 devel/gettext jasper @1.701.0 graphics/jasper jpeg @6b graphics/jpeg libiconv @1.12 textproc/libiconv libpng @1.2.25 graphics/libpng libxml2 @2.6.31 textproc/libxml2 libxslt @1.1.22 textproc/libxslt m4 @1.4.10 devel/m4 mercurial @0.9.5 devel/mercurial ncurses @5.6 devel/ncurses ncursesw @5.6 devel/ncursesw netpbm @10.26.50 graphics/netpbm openssl @0.9.8g devel/openssl ossp-uuid @1.6.0 devel/ossp-uuid ossp-uuid @1.6.0 devel/ossp-uuid postgresql83 @8.3.0 databases/postgresql83 py25-dateutil @1.4 python/py25-dateutil py25-tz @2007k python/py25-tz python24 @2.4.4 lang/python24 python24 @2.4.4 lang/python24 python25 @2.5.2 lang/python25 python25 @2.5.2 lang/python25 readline @5.2.007 devel/readline tiff @3.8.2 graphics/tiff unzip @5.52 archivers/unzip wget @1.11 net/wget zlib @1.2.3 archivers/zlib What's up with that? I suppose I should be able to do something like this: port list installed | awk '{print $1}' > currentports sudo rm -rf /opt/local sudo port install $(cat currentports) but isn't there some other directory I need to remove? Some sort of MacPorts frameworks directory? -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From jberry at macports.org Thu Mar 6 06:41:05 2008 From: jberry at macports.org (James Berry) Date: Thu, 6 Mar 2008 06:41:05 -0800 Subject: odd port list installed output In-Reply-To: <18383.60282.986340.189349@montanaro-dyndns-org.local> References: <18383.60282.986340.189349@montanaro-dyndns-org.local> Message-ID: On Mar 6, 2008, at 5:02 AM, skip at pobox.com wrote: > In my previous email I wrote: > > If I decide to reinstall, is there some way I can record what > ports I > currently have installed then, after the basic install, reinstall > those > ports with one command? > > So port list installed seems to spit out something almost like what > I need, > but I noticed that I seem to have two copies of several ports > installed. It > looks like fftw-3, oss-uuid, python24 and python25 are all installed > twice: You'll get more joy, I believe, from: port installed Note that "port list installed" will "list" each port that is installed. The list command simply tells you the latest version of the particular port. So that combination is not particularly useful. A more useful combination might be "port echo installed", which will provide much the same information as "port installed". In either case, you're seeing multiple entries for some ports because you have installed, but inactive, versions of those ports. To find only the active versions, you might try: port echo active Combine that with a pipe through cut and you'd have a list of all ports that are currently active. You could save that list away and then later pass the list to "port install" when you want to reinstall. Note that this would lose any particular variants you have installed. port echo active | cut -d ' ' -f 1 Hmm. I think the output of "port echo active" without the cut, would conveniently give you exactly what you need to replicate your setup _with_ variants. Almost as if I designed it that way! The only issue might be if the specified versions were no longer available. James > > > % port list installed > bison @2.3 devel/bison > bzip2 @1.0.4 archivers/bzip2 > db44 @4.4.20 databases/db44 > expat @2.0.1 textproc/expat > fftw-3 @3.1.2 math/fftw-3 > fftw-3 @3.1.2 math/fftw-3 > freetype @2.3.5 print/freetype > g95 @0.90 lang/g95 > gdbm @1.8.3 databases/gdbm > gettext @0.17 devel/gettext > jasper @1.701.0 graphics/jasper > jpeg @6b graphics/jpeg > libiconv @1.12 textproc/libiconv > libpng @1.2.25 graphics/libpng > libxml2 @2.6.31 textproc/libxml2 > libxslt @1.1.22 textproc/libxslt > m4 @1.4.10 devel/m4 > mercurial @0.9.5 devel/mercurial > ncurses @5.6 devel/ncurses > ncursesw @5.6 devel/ncursesw > netpbm @10.26.50 graphics/netpbm > openssl @0.9.8g devel/openssl > ossp-uuid @1.6.0 devel/ossp-uuid > ossp-uuid @1.6.0 devel/ossp-uuid > postgresql83 @8.3.0 databases/ > postgresql83 > py25-dateutil @1.4 python/py25-dateutil > py25-tz @2007k python/py25-tz > python24 @2.4.4 lang/python24 > python24 @2.4.4 lang/python24 > python25 @2.5.2 lang/python25 > python25 @2.5.2 lang/python25 > readline @5.2.007 devel/readline > tiff @3.8.2 graphics/tiff > unzip @5.52 archivers/unzip > wget @1.11 net/wget > zlib @1.2.3 archivers/zlib > > What's up with that? I suppose I should be able to do something > like this: > > port list installed | awk '{print $1}' > currentports > sudo rm -rf /opt/local > sudo port install $(cat currentports) > > but isn't there some other directory I need to remove? Some sort of > MacPorts frameworks directory? > > -- > Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From skip at pobox.com Thu Mar 6 06:56:21 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 08:56:21 -0600 Subject: odd port list installed output In-Reply-To: References: <18383.60282.986340.189349@montanaro-dyndns-org.local> Message-ID: <18384.1557.263412.501474@montanaro-dyndns-org.local> >> ... I noticed that I seem to have two copies of several ports >> installed. It looks like fftw-3, oss-uuid, python24 and python25 are >> all installed twice: James> You'll get more joy, I believe, from: James> port installed Thanks for that. There seem to be way too many similar commands for my feeble brain to keep straight. James> In either case, you're seeing multiple entries for some ports James> because you have installed, but inactive, versions of those James> ports. Ah, I see. I missed that the version numbers were slightly different. Consider this: % port installed | egrep python python24 @2.4.4_2+darwin_9 python24 @2.4.4_4+darwin_9 (active) python25 @2.5.2_0+darwin_9 python25 @2.5.2_1+darwin_9 (active) One would think I should be able to uninstall the inactive ports, but I can't: % sudo port uninstall python25 at 2.5.2_0+darwin_9 ---> Unable to uninstall python25 2.5.2_0+darwin_9, the following ports depend on it: ---> py25-tz ---> py25-dateutil ---> py25-hashlib ---> py25-tkinter Error: port uninstall failed: Please uninstall the ports that depend on python25 first. It doesn't appear that the port command is smart enough to realize that the active version of the python25 port should be able to satisfy the stated dependencies. Skip From skip at pobox.com Thu Mar 6 06:57:06 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 08:57:06 -0600 Subject: Installing py25-matplotlib fails In-Reply-To: <799406d60803060528u6ecdb603v67f05604b15ebca9@mail.gmail.com> References: <18383.29865.69240.599090@montanaro-dyndns-org.local> <799406d60803052048t572098d5p6ee6d8790397a072@mail.gmail.com> <18383.57174.608572.540743@montanaro-dyndns-org.local> <799406d60803060528u6ecdb603v67f05604b15ebca9@mail.gmail.com> Message-ID: <18384.1602.214207.802599@montanaro-dyndns-org.local> Adam> When I say install it again, I don't mean the whole of MacPorts, Adam> just the py25-hashlib port. Thanks. That does indeed work. Kind of makes it hard to debug if the problem disappears on the second try... Skip From william at gallaf.net Thu Mar 6 07:43:43 2008 From: william at gallaf.net (William Gallafent) Date: Thu, 6 Mar 2008 15:43:43 +0000 Subject: RMagick build failure (10.5) In-Reply-To: <3EF42BB2-39CE-4BE4-9EF7-BE0B3546F594@macports.org> References: <72C15724-7A79-4D2D-BEEE-1BDBA64F7AC6@gallaf.net> <3EF42BB2-39CE-4BE4-9EF7-BE0B3546F594@macports.org> Message-ID: On 6 Mar 2008, at 06:15, Ryan Schmidt wrote: > This bug has already been filed in the issue tracker: > > http://trac.macosforge.org/projects/macports/ticket/14271 > > Unfortunately this port has no maintainer, and I don't know how to > fix it. Suggestions welcome. Hmm, I tweaked the configure.ac to search for libraries in a more sensible way, but at the moment autoreconf -fiv fails for me with the following, so I can't test my fix. I know very little about autoheader, so does anyone have any idea how to fix autoheader failures of this type? The AC_CONFIG_HEADERS seems to be called with an appropriate header file including '#undef BLAH' for these defines, and there are AC_DEFINE macros in configure.ac which look OK to my untrained eye. ----- autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /opt/local/bin/autoconf --force autoreconf: running: /opt/local/bin/autoheader --force autoheader: warning: missing template: GRAPHICSMAGICK autoheader: Use AC_DEFINE([GRAPHICSMAGICK], [], [Description]) autoheader: warning: missing template: HAVE_ACQUIRESTRINGINFO autoheader: warning: missing template: HAVE_ALLCHANNELS autoheader: warning: missing template: HAVE_CINEONLOGRGBCOLORSPACE autoheader: warning: missing template: HAVE_COALESCELAYER autoheader: warning: missing template: HAVE_COLORDODGECOMPOSITEOP autoheader: warning: missing template: HAVE_DSTCOMPOSITEOP autoheader: warning: missing template: HAVE_GETCOLORINFOLIST autoheader: warning: missing template: HAVE_GETIMAGEQUANTUMDEPTH autoheader: warning: missing template: HAVE_GETMAGICKINFOLIST autoheader: warning: missing template: HAVE_GETMAGICKPIXELPACKET autoheader: warning: missing template: HAVE_GETTYPEINFOLIST autoheader: warning: missing template: HAVE_GRAYCHANNEL autoheader: warning: missing template: HAVE_HSBCOLORSPACE autoheader: warning: missing template: HAVE_IMAGE_EXTRACT_INFO autoheader: warning: missing template: HAVE_INDEXCHANNEL autoheader: warning: missing template: HAVE_JPEG2000COMPRESSION autoheader: warning: missing template: HAVE_LABCOLORSPACE autoheader: warning: missing template: HAVE_LOGCOLORSPACE autoheader: warning: missing template: HAVE_MAGICKBOOLEANTYPE autoheader: warning: missing template: HAVE_MAXEVALUATEOPERATOR autoheader: warning: missing template: HAVE_NEW_COLORINFO autoheader: warning: missing template: HAVE_NEW_REMOVEIMAGEPROFILE autoheader: warning: missing template: HAVE_OLD_GETCOLORINFOLIST autoheader: warning: missing template: HAVE_OLD_GETIMAGEQUANTUMDEPTH autoheader: warning: missing template: HAVE_OLD_GETMAGICKINFOLIST autoheader: warning: missing template: HAVE_OLD_GETTYPEINFOLIST autoheader: warning: missing template: HAVE_PALETTEBILEVELMATTETYPE autoheader: warning: missing template: HAVE_QUANTUMPIXEL autoheader: warning: missing template: HAVE_REC601LUMACOLORSPACE autoheader: warning: missing template: HAVE_REC601YCBCRCOLORSPACE autoheader: warning: missing template: HAVE_REC709LUMACOLORSPACE autoheader: warning: missing template: HAVE_REC709YCBCRCOLORSPACE autoheader: warning: missing template: HAVE_REPLACECOMPOSITEOP autoheader: warning: missing template: HAVE_TRANSPARENTVIRTUALPIXELMETHOD autoheader: warning: missing template: HAVE_UNDEFINEDGRAVITY autoheader: warning: missing template: MAGICKNAME autoheader: warning: missing template: RUBY_VERSION_STRING autoreconf: /opt/local/bin/autoheader failed with exit status: 1 ----- There is a trivial workaround to get rmagick installed, though: sudo port install rb-rubygems sudo gem install rmagick I'm tempted to suggest that the rb-rmagick port be altered to simply do this instead of building rmagick from source, but there may be connotations of which I'm not aware which make that a bad idea. From stephen.ng at planetnutek.com Thu Mar 6 08:18:45 2008 From: stephen.ng at planetnutek.com (Stephen Ng) Date: Fri, 7 Mar 2008 00:18:45 +0800 Subject: Problem Installing transcode Message-ID: <20D403F8-E848-4851-86BC-A311A086BF8F@planetnutek.com> Hi! I tried installing transcode on Leopard and it did not complete because of problems with some libraries. Can anyone please help? The error message is similar to the following (this is a second try at installing) - ---> Staging ffmpeg into destroot . missing (directory not created: File exists) ./Applications missing (directory not created: File exists) ./Developer missing (directory not created: File exists) ./Library missing (directory not created: File exists) install -d "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/ share/man/man1" install -m 644 doc/ffmpeg.1 doc/ffserver.1 "/opt/local/var/macports/ build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/ share/man/man1" make -C libavutil all make[1]: Nothing to be done for `all'. make -C libavcodec all make[1]: Nothing to be done for `all'. make -C libavformat all make[1]: Nothing to be done for `all'. touch .libs gcc -L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavformat - L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavcodec - L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavutil - Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -o ffmpeg_g ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lz cp -p ffmpeg_g ffmpeg strip -x ffmpeg gcc -L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavformat - L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavcodec - L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavutil - Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -Wl,-bind_at_load - o ffserver ffserver.o -lavformat -lavcodec -lavutil -lz make -C libavutil install-libs install -d "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/ lib" install -m 755 "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/ lib/libavutil.49.4.0.dylib" usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... make[1]: *** [install-lib-shared] Error 64 make: *** [install-libs] Error 2 Error: Target org.macports.destroot returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk" && make install DESTDIR=/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/destroot " returned error 2 Command output: install -d "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/ share/man/man1" install -m 644 doc/ffmpeg.1 doc/ffserver.1 "/opt/local/var/macports/ build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/ share/man/man1" make -C libavutil all make[1]: Nothing to be done for `all'. make -C libavcodec all make[1]: Nothing to be done for `all'. make -C libavformat all make[1]: Nothing to be done for `all'. touch .libs gcc -L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavformat - L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavcodec - L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavutil - Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -o ffmpeg_g ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lz cp -p ffmpeg_g ffmpeg strip -x ffmpeg gcc -L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavformat - L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavcodec - L"/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavutil - Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -Wl,-bind_at_load - o ffserver ffserver.o -lavformat -lavcodec -lavutil -lz make -C libavutil install-libs install -d "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/ lib" install -m 755 "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/ lib/libavutil.49.4.0.dylib" usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... make[1]: *** [install-lib-shared] Error 64 make: *** [install-libs] Error 2 Warning: the following items did not execute (for ffmpeg): org.macports.activate org.macports.destroot org.macports.install Error: The following dependencies failed to build: ffmpeg lame libdvdread libdvdcss libmpeg2 libsdl Error: Status 1 encountered during processing. Regards. Stephen From ram at macports.org Thu Mar 6 08:31:49 2008 From: ram at macports.org (Adam Mercer) Date: Thu, 6 Mar 2008 11:31:49 -0500 Subject: Installing py25-matplotlib fails In-Reply-To: References: <18383.29865.69240.599090@montanaro-dyndns-org.local> <799406d60803052048t572098d5p6ee6d8790397a072@mail.gmail.com> Message-ID: <799406d60803060831m6e180c07v914ec7375d4b3446@mail.gmail.com> On Thu, Mar 6, 2008 at 8:45 AM, Suresh Pillai wrote: > However, you may be disappointed like me to to then get a segmentation > fault for matplotlib when calling pylab.show() Other people have reported this, unfortunately I can't reproduce them at all. matplotlib works fine for me on Intel Leopard. > Python from macports on leopard just seems to be nothing but trouble. I > ended up installing matplotlib manually from their site against the system > installation of python and everything works painlessly. I know, I'm trying to track down a socket issue at the moment that doesn't exist with the system python. Cheers Adam From bcbarnes at gmail.com Thu Mar 6 08:52:58 2008 From: bcbarnes at gmail.com (Brian) Date: Thu, 6 Mar 2008 16:52:58 +0000 (UTC) Subject: Installing py25-matplotlib fails References: <18383.29865.69240.599090@montanaro-dyndns-org.local> <799406d60803052048t572098d5p6ee6d8790397a072@mail.gmail.com> <18383.57174.608572.540743@montanaro-dyndns-org.local> <799406d60803060528u6ecdb603v67f05604b15ebca9@mail.gmail.com> <18384.1602.214207.802599@montanaro-dyndns-org.local> Message-ID: pobox.com> writes: > Adam> When I say install it again, I don't mean the whole of MacPorts, > Adam> just the py25-hashlib port. > > Thanks. That does indeed work. Kind of makes it hard to debug if the > problem disappears on the second try... > > Skip Skip, Unfortunately, this problem is common to many py25- ports. See my report here: http://lists.macosforge.org/pipermail/macports-users/2008-February/009238.html Or a trac entry for py25-zlib here: http://trac.macports.org/projects/macports/ticket/13406 Glad you got it working. -Brian From skip at pobox.com Thu Mar 6 09:28:03 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 11:28:03 -0600 Subject: matplotlib segfault Message-ID: <18384.10659.748714.736469@montanaro-dyndns-org.local> I finally got py25-matplotlib installed. Like an earlier poster though I get a segfault with the TkAgg backend. Running under gdb gives me the barest of information though since nothing appears to be built with debug symbols enabled: #0 0x01f0bf40 in TclpFree () #1 0x01f0807e in ResetObjResult () #2 0x01fc08c6 in Tk_MainWindow () #3 0x01e832e0 in PyAggImagePhoto () #4 0x01eb5aeb in TclInvokeStringCommand () #5 0x0a010518 in TclEvalObjvInternal () #6 0x0a0108fb in Tcl_EvalObjv () #7 0x01aed848 in Tkapp_Call () #8 0x00234e5f in PyEval_EvalFrameEx () #9 0x00236baa in PyEval_EvalCodeEx () #10 0x002349c3 in PyEval_EvalFrameEx () #11 0x00236baa in PyEval_EvalCodeEx () #12 0x002349c3 in PyEval_EvalFrameEx () #13 0x00236baa in PyEval_EvalCodeEx () #14 0x001c41ea in function_call () #15 0x0019f922 in PyObject_Call () #16 0x00233021 in PyEval_EvalFrameEx () #17 0x00236baa in PyEval_EvalCodeEx () #18 0x001c41ea in function_call () #19 0x0019f922 in PyObject_Call () #20 0x001a8676 in instancemethod_call () #21 0x0019f922 in PyObject_Call () #22 0x0022e196 in PyEval_CallObjectWithKeywords () #23 0x01aebd4c in PythonCmd () #24 0x0a00d7cf in TclInvokeStringCommand () #25 0x0a010518 in TclEvalObjvInternal () #26 0x0a05839c in TclExecuteByteCode () #27 0x0a061088 in Tcl_ExprObj () #28 0x0a010de5 in Tcl_ExprBooleanObj () #29 0x0a01beb5 in Tcl_IfObjCmd () #30 0x0a010518 in TclEvalObjvInternal () #31 0x0a011645 in TclEvalEx () #32 0x0a011f3e in Tcl_EvalEx () #33 0x0b007f01 in Tk_BindEvent () #34 0x0b00de59 in TkBindEventProc () #35 0x0b0162fa in Tk_HandleEvent () #36 0x0b033c3a in TkDoConfigureNotify () #37 0x0b033da9 in Tk_MakeWindowExist () #38 0x0b033ee8 in Tk_MapWindow () #39 0x0b02a4b2 in ArrangePacking () #40 0x0a0ac658 in TclServiceIdle () #41 0x0a08e2ea in Tcl_DoOneEvent () #42 0x01aeb4f6 in Tkapp_MainLoop () #43 0x00234e5f in PyEval_EvalFrameEx () #44 0x00236baa in PyEval_EvalCodeEx () #45 0x002349c3 in PyEval_EvalFrameEx () #46 0x00236baa in PyEval_EvalCodeEx () #47 0x002349c3 in PyEval_EvalFrameEx () #48 0x00236baa in PyEval_EvalCodeEx () #49 0x00236cb7 in PyEval_EvalCode () #50 0x0025a8e4 in PyRun_InteractiveOneFlags () #51 0x0025ab23 in PyRun_InteractiveLoopFlags () #52 0x0025b329 in PyRun_AnyFileExFlags () #53 0x00269848 in Py_Main () #54 0x00001f7c in _start () #55 0x00001ea9 in start () Is this enough for someone to debug with? If not, how do I go about installing debug versions of the various packages? Is another interactive backend supported for matplotlib? Thx, -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From Barry.J.Mcinnes at noaa.gov Thu Mar 6 09:33:49 2008 From: Barry.J.Mcinnes at noaa.gov (Barry McInnes) Date: Thu, 06 Mar 2008 10:33:49 -0700 Subject: inkscape 0.45.1 fails to build on OS X Leopard (10.5.2) In-Reply-To: <8A26C2AD-29C4-4526-B7D2-C558608C5842@macports.org> References: <47CDA02C.4030905@noaa.gov> <8A26C2AD-29C4-4526-B7D2-C558608C5842@macports.org> Message-ID: <47D02AFD.5060201@noaa.gov> Perl looks OK [mac27:/var/spool/lp] bmcinnes% cd /opt/local/bin/ [mac27:/opt/local/bin] bmcinnes% ls -l perl* -rwxr-xr-x 2 admin admin 1193624 Dec 18 18:05 perl -rwxr-xr-x 2 admin admin 1193624 Dec 18 18:05 perl5.8.8 -rwxr-xr-x 2 admin admin 37285 Dec 18 18:05 perlbug -rwxr-xr-x 2 admin admin 17965 Dec 18 18:05 perlcc -rwxr-xr-x 2 admin admin 236 Dec 18 18:05 perldoc -rwxr-xr-x 2 admin admin 11949 Dec 18 18:05 perlivp -rwxr-xr-x 2 admin admin 11650 Feb 7 08:29 perltex [mac27:/opt/local/bin] bmcinnes% ./perl --version This is perl, v5.8.8 built for darwin-2level Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. [mac27:/opt/local/bin] bmcinnes% On 3/5/08 11:25 PM, Ryan Schmidt wrote: > On Mar 4, 2008, at 13:17, Barry McInnes wrote: > >> Following on from #14211, I installed the py25 parts but on 10.5.2 PPC >> it still fails > > #14211 deals with issues building inkscape. You do not appear to be > experiencing issues building inkscape, but issues configuring > scrollkeeper. > >> [mac27:/etc] root# port install inkscape >> ---> Configuring scrollkeeper >> Error: Target org.macports.configure returned: configure failure: >> shell >> command " cd >> "/opt/local/var/macports/build/ >> _opt_local_var_macports_sources_rsync.macports.org_release_ports_textp >> roc_scrollkeeper/work/scrollkeeper-0.3.14" >> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man >> --with-omfdirs=/opt/local/share/omf >> --with-xml-catalog=/opt/local/etc/xml/catalog " returned error 1 >> Command output: checking for string.h... yes >> checking for memory.h... yes >> checking for strings.h... yes >> checking for inttypes.h... yes >> checking for stdint.h... yes >> checking for unistd.h... yes >> checking dlfcn.h usability... yes >> checking dlfcn.h presence... yes >> checking for dlfcn.h... yes >> checking for ranlib... ranlib >> checking for strip... strip >> checking for objdir... .libs >> checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common >> checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes >> checking if /usr/bin/gcc-4.0 static flag -static works... no >> checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes >> checking if /usr/bin/gcc-4.0 supports -c -o file.lo... yes >> checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... yes >> checking whether the linker >> (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared >> libraries... yes >> checking how to hardcode library paths into programs... unsupported >> checking whether stripping libraries is possible... no >> checking dynamic linker characteristics... darwin9.2.0 dyld >> checking if libtool supports shared libraries... yes >> checking whether to build shared libraries... yes >> checking whether to build static libraries... yes >> checking whether -lc should be explicitly linked in... yes >> creating libtool >> checking for intltool >= 0.28... 0.28 found >> checking for perl... (cached) no >> configure: error: perl not found; required for intltool > > scrollkeeper does declare a build dependency on perl5.8 so I'm not > sure why perl wouldn't be on your system. > > Is the perl5.8 port installed and activated? Is /opt/local/bin/perl > on your system and does it work? > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- --- Barry McInnes 325 Broadway Boulder CO 80304 (303)4976231 barry.j.mcinnes at noaa.gov --- From tsw5 at duke.edu Thu Mar 6 09:41:11 2008 From: tsw5 at duke.edu (Todd Wasson) Date: Thu, 06 Mar 2008 12:41:11 -0500 Subject: where did GVim.app go? Message-ID: <47D02CB7.70007@duke.edu> I haven't updated in quite a while, as I was waiting for things to calm down after Leopard, but I just updated vim-app and notice there there's no longer a GVim.app. This was particularly useful as I could drag text files onto it and have it spawn off a Vim.app for each one. If I drag them onto Vim.app, they replace the currently-edited document, which is not quite as useful for me. I don't see any new ports or variants, and I couldn't find anything in the archives. Any ideas? Thanks. Todd From raimue at macports.org Thu Mar 6 09:50:11 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Thu, 06 Mar 2008 18:50:11 +0100 Subject: where did GVim.app go? In-Reply-To: <47D02CB7.70007@duke.edu> References: <47D02CB7.70007@duke.edu> Message-ID: <47D02ED3.9040001@macports.org> Todd Wasson wrote: > I haven't updated in quite a while, as I was waiting for things to calm down > after Leopard, but I just updated vim-app and notice there there's no longer a > GVim.app. This was particularly useful as I could drag text files onto it and > have it spawn off a Vim.app for each one. If I drag them onto Vim.app, they > replace the currently-edited document, which is not quite as useful for me. I > don't see any new ports or variants, and I couldn't find anything in the > archives. Any ideas? GVim.app is some binary which is working on PowerPC only. Unfortunately, I don't know whoever created it and how. I don't like including binaries into ports at all, but I kept it available on PowerPC; but it is not installed on Intel. If you are able to provide a GVim.app for Intel (best in source form, so it can be maintained), I would be glad to include it into the port again. Rainer From ram at macports.org Thu Mar 6 09:53:21 2008 From: ram at macports.org (Adam Mercer) Date: Thu, 6 Mar 2008 12:53:21 -0500 Subject: matplotlib segfault In-Reply-To: <18384.10659.748714.736469@montanaro-dyndns-org.local> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> Message-ID: <799406d60803060953t143f83c5udfa4c214c109fa68@mail.gmail.com> On Thu,