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, Mar 6, 2008 at 12:28 PM, wrote: > 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? There are the wxpython and gtk2 variants. Give those a try, this is a strange problem as I am unable to reproduce these segfaults on Intel Leopard. Cheers Adam From skip at pobox.com Thu Mar 6 10:09:48 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 12:09:48 -0600 Subject: matplotlib segfault In-Reply-To: <799406d60803060953t143f83c5udfa4c214c109fa68@mail.gmail.com> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <799406d60803060953t143f83c5udfa4c214c109fa68@mail.gmail.com> Message-ID: <18384.13164.382307.166258@montanaro-dyndns-org.local> Adam> There are the wxpython and gtk2 variants. Give those a try, this Adam> is a strange problem as I am unable to reproduce these segfaults Adam> on Intel Leopard. I'll give the WXAgg backend a try. If you would like some help debugging the Tcl problems drop me a note (skip at pobox.com). Skip From mark at mwilden.com Thu Mar 6 11:11:44 2008 From: mark at mwilden.com (Wilden Mark) Date: Thu, 6 Mar 2008 11:11:44 -0800 Subject: General question about MacPorts In-Reply-To: References: Message-ID: On Mar 5, 2008, at 10:53 AM, Daniel J. Luke wrote: > 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. Ah, cool. How does a ticket get assigned? Was there something I could have done? > 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]. I had in fact installed postgresql83 by mistake, and that seems to relate. However, after uninstalling ossp-uuid and building apr, I received the error: misc/unix/rand.c:39:18: error: uuid.h: No such file or directory. The places on my system where that file exists are /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ Kernel.framework/Versions/A/Headers/uuid/uuid.h /Developer/SDKs/MacOSX10.4u.sdk/usr/include/uuid/uuid.h /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ Kernel.framework/Versions/A/Headers/uuid/uuid.h /Developer/SDKs/MacOSX10.5.sdk/usr/include/uuid/uuid.h /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/uuid/ uuid.h /usr/include/uuid/uuid.h and the output from sudo port install apr is Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_devel_apr/work/apr-1.2.12" && make all " returned error 2 Command output: /bin/sh /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_devel_apr/work/apr-1.2.12/libtool --silent --mode=compile /usr/bin/gcc-4.0 -O2 -DHAVE_CONFIG_H -DDARWIN - DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include - I./include -I/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_devel_apr/work/apr-1.2.12/include/arch/ unix -I./include/arch/unix -I/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_devel_apr/work/apr-1.2.12/include -o misc/ unix/rand.lo -c misc/unix/rand.c && touch misc/unix/rand.lo misc/unix/rand.c:39:18: error: uuid.h: No such file or directory make[1]: *** [misc/unix/rand.lo] Error 1 make: *** [all-recursive] Error 1 Error: Status 1 encountered during processing. >> 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 ;-) I don't think I -can- determine this for myself. I don't even know how I would do such a thing without much, much more experience with MacPorts. That's why I was asking the community at large. >> 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. It's annoying, I agree. Thanks very much for your comments, not only on how to solve my problem, but also on MacPorts in general! ///ark From raimue at macports.org Thu Mar 6 11:43:38 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Thu, 06 Mar 2008 20:43:38 +0100 Subject: General question about MacPorts In-Reply-To: References: Message-ID: <47D0496A.90603@macports.org> Wilden Mark wrote: >> 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. > > Ah, cool. How does a ticket get assigned? Was there something I could > have done? I think this happens for a lot of tickets. Really good would be someone volunteering as a ticket wrangler to assign all new tickets to the according maintainer. Could be done by anyone and it is definitely a way of contributing to MacPorts in order to "give somthing back". I don't know if assigning tickets can be done by the reporter only/committers/anyone. Rainer From kuepper.jochen at googlemail.com Thu Mar 6 03:42:29 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Thu, 6 Mar 2008 12:42:29 +0100 Subject: aspell Dies on Staging In-Reply-To: <47CFD403.1030802@sequestered.net> References: <47CFD403.1030802@sequestered.net> Message-ID: <581B1562-6E56-46AC-96C9-E656BF9F87FE@googlemail.com> On 06.03.2008, at 12:22, 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? See http://trac.macosforge.org/projects/macports/ticket/14552#comment:2 Does the latest aspell work for you? If not, please attach the output of sudo port -dv install aspell to the ticket. Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert?, ?galit?, Fraternit? GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080306/1d0519a0/attachment.bin From kuepper.jochen at googlemail.com Thu Mar 6 09:39:26 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Thu, 6 Mar 2008 18:39:26 +0100 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: <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> On 06.03.2008, at 18:28, skip at pobox.com wrote: > Is another interactive backend supported for matplotlib? I am happily using GTKagg with MacPort's python25 on Leopard. Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert?, ?galit?, Fraternit? GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080306/a317dad7/attachment.bin From lists at sequestered.net Thu Mar 6 12:28:43 2008 From: lists at sequestered.net (Jay Chandler) Date: Thu, 06 Mar 2008 12:28:43 -0800 Subject: aspell Dies on Staging In-Reply-To: <581B1562-6E56-46AC-96C9-E656BF9F87FE@googlemail.com> References: <47CFD403.1030802@sequestered.net> <581B1562-6E56-46AC-96C9-E656BF9F87FE@googlemail.com> Message-ID: <47D053FB.6080107@sequestered.net> Jochen K?pper wrote: > On 06.03.2008, at 12:22, 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? > > See > http://trac.macosforge.org/projects/macports/ticket/14552#comment:2 > Does the latest aspell work for you? > > If not, please attach the output of > sudo port -dv install aspell > to the ticket. It doesn't. Furthermore, I've symlinked the built in install-info (the result of which install-info) to the one that aspell is calling, and gotten the same error. -- Jay Chandler / KB1JWQ Living Legend / Systems Exorcist Today's Excuse: Too much radiation coming from the soil From pgon at ecn.ulaval.ca Thu Mar 6 14:30:27 2008 From: pgon at ecn.ulaval.ca (=?ISO-8859-1?Q?Patrick_Gonz=E1lez?=) Date: Thu, 6 Mar 2008 17:30:27 -0500 Subject: Get me out of this list! Message-ID: Please get me out of this list. Thanks. Patrick Gonz?lez, D?partement d'?conomique, Universit? Laval, Qu?bec, G1K 7P4 (418) 656-2131 poste 7735 pgon at ecn.ulaval.ca *** http://132.203.59.99 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080306/2d9cdb21/attachment.html From stefmit at gmail.com Thu Mar 6 14:50:40 2008 From: stefmit at gmail.com (Stefmit) Date: Thu, 6 Mar 2008 16:50:40 -0600 Subject: Get me out of this list! In-Reply-To: References: Message-ID: <200803061650.40645.stefmit@gmail.com> Done! We - members of this list - would also like to sincerely apologize for the inconvenience this may have caused you. *** Stefan-removes-anybody-from-any-mailing-list-chef On Thursday 06 March 2008 16:30:27 Patrick Gonz?lez wrote: > Please get me out of this list. > > Thanks. > > Patrick Gonz?lez, > D?partement d'?conomique, > Universit? Laval, Qu?bec, G1K 7P4 (418) 656-2131 poste 7735 > pgon at ecn.ulaval.ca *** http://132.203.59.99 From skip at pobox.com Thu Mar 6 14:19:52 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 16:19:52 -0600 Subject: matplotlib segfault In-Reply-To: <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> Message-ID: <18384.28168.570628.578035@montanaro-dyndns-org.local> >> Is another interactive backend supported for matplotlib? Jochen> I am happily using GTKagg with MacPort's python25 on Leopard. I tried that but get this traceback: % /opt/local/bin/python2.5 Python 2.5.2 (r252:60911, Mar 5 2008, 22:37:23) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from pylab import * Traceback (most recent call last): File "", line 1, in File "/opt/local/lib/python2.5/site-packages/pylab.py", line 1, in from matplotlib.pylab import * File "/opt/local/lib/python2.5/site-packages/matplotlib/pylab.py", line 292, in from matplotlib.pyplot import * File "/opt/local/lib/python2.5/site-packages/matplotlib/pyplot.py", line 37, in new_figure_manager, draw_if_interactive, show = pylab_setup() File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/__init__.py", line 24, in pylab_setup globals(),locals(),[backend_name]) File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/backend_gtkagg.py", line 10, in from matplotlib.backends.backend_gtk import gtk, FigureManagerGTK, FigureCanvasGTK,\ File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py", line 21, in from matplotlib.backends.backend_gdk import RendererGDK, FigureCanvasGDK File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/backend_gdk.py", line 29, in from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array ImportError: No module named _backend_gdk Given that py25-matplotlib didn't depend on py25-gtk, my guess is that it wasn't built with Gtk support. How do I do that? Thx, -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From skip at pobox.com Thu Mar 6 15:00:29 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 17:00:29 -0600 Subject: matplotlib segfault In-Reply-To: <18384.28168.570628.578035@montanaro-dyndns-org.local> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> <18384.28168.570628.578035@montanaro-dyndns-org.local> Message-ID: <18384.30605.688452.502784@montanaro-dyndns-org.local> skip> File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/backend_gdk.py", line 29, in skip> from matplotlib.backends._backend_gdk import pixbuf_get_pixels_array skip> ImportError: No module named _backend_gdk skip> Given that py25-matplotlib didn't depend on py25-gtk, my guess is skip> that it wasn't built with Gtk support. How do I do that? Nevermind, I think. As it turns out if py25-gtk is already installed the matplotlib build process will recognize its availability. This is a bit confusing, especially since the installed port lists as py25-matplotlib @0.91.2_0+tkinter It would be kinda nice if it could somehow relay the fact that it also supports gtk. -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From bcbarnes at gmail.com Thu Mar 6 15:37:25 2008 From: bcbarnes at gmail.com (Brian Barnes) Date: Thu, 6 Mar 2008 17:37:25 -0600 Subject: macports, gprof and leopard? Message-ID: <8CDAF288-9BBC-4796-8214-FE7785D2A608@gmail.com> Hello, Last week, I changed from Tiger (10.4.11, Xcode 2.4.1, MP 1.6.0) to a fresh install of Leopard (10.5.2 and Xcode 3.0). I'm now finding that /usr/bin/gprof does not profile a program compiled with gfortran- mp-4.2 and its -pg flag. I'm pretty sure this worked in the past (am I wrong?). I thought perhaps it had to do with the system's gprof not being compatible with macports-supplied compilers, so I installed the binutils port (as gprof is provided by binutils on my Fedora box), but no auxiliary gprof was installed in /opt/local/bin. Does anyone have gprof working with port gcc42's gfortran in Leopard? How can I make this work? In the meantime, I started using Xcode's Shark, which is an incredible tool (honestly: much better than gprof. I will probably continue using it). But I am still kind of curious as to what's going on with gprof. sincerely, Brian From matrixm at gmail.com Thu Mar 6 15:39:36 2008 From: matrixm at gmail.com (Matrix Mole) Date: Thu, 6 Mar 2008 16:39:36 -0700 Subject: General question about MacPorts In-Reply-To: <47D0496A.90603@macports.org> References: <47D0496A.90603@macports.org> Message-ID: On Thu, Mar 6, 2008 at 12:43 PM, Rainer M?ller wrote: > Wilden Mark wrote: > >> 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. > > > > Ah, cool. How does a ticket get assigned? Was there something I could > > have done? > > I don't know if assigning tickets can be done by the reporter > only/committers/anyone. When a ticket is opened, there is a CC field. By putting the maintainer of the port's email address (obtained with the port info command) into that box, then the maintainer will be informed of the ticket. From liontooth at cogweb.net Thu Mar 6 16:25:26 2008 From: liontooth at cogweb.net (David Liontooth) Date: Thu, 06 Mar 2008 16:25:26 -0800 Subject: Problem Installing transcode In-Reply-To: <20D403F8-E848-4851-86BC-A311A086BF8F@planetnutek.com> References: <20D403F8-E848-4851-86BC-A311A086BF8F@planetnutek.com> Message-ID: <47D08B76.6030508@cogweb.net> Hi Stephen, You do need an updated version of the transcode portfile for leopard; it's ready and making its way into the repository. However, the problems you're documenting here regard ffmpeg. Try installing it separately first. The transcode portfile is appended. Dave # $Id: Portfile 25735 2007-05-30 07:57:21Z ryandesign at macports.org $ PortSystem 1.0 name transcode #version 1.1.0-pre-05 version 1.1.0alpha7 categories multimedia maintainers cremes at mac.com, liontooth at cogweb.net description Video and audio processing tools long_description transcode is a suite of tools, all of which are \ command line utilities, for transcoding various \ video, audio, and container formats, running on a \ platform that supports shared libraries and threads.\ \ Decoding and encoding is done by modules that are \ responsible for feeding transcode with raw video/ \ audio streams (import modules) and encoding the frames \ (export modules). \ \ It includes a variety of video and audio filters, \ including (but not limited to) video de-interlacing, \ audio resampling, framerate conversion, different \ resizing algorithms, smoothing, sharpening, denoisifying, \ and cutting. homepage http://www.transcoding.org master_sites http://fromani.exit1.org/ distname ${name}-${version} use_bzip2 yes checksums ${distname}${extract.suffix} \ md5 1f2f2df059c801038743f2a8210c2fb5 \ sha1 0f329d33cf1fcf5d16ea727087740c25a7664ed2 #fetch.type cvs #cvs.root :pserver:cvs at cvs.exit1.org:/cvstc #cvs.tag HEAD #cvs.date 20070516 #cvs.module ${name} #worksrcdir ${name} depends_lib port:automake \ port:autoconf \ port:libtool \ port:ffmpeg \ port:libmpeg2 \ port:libdvdread \ port:jpeg \ port:lame pre-configure { cd ${worksrcpath} system "LIBTOOLIZE=glibtoolize autoreconf -i -f" } platforms darwin configure.args --disable-mmx \ --disable-altivec \ --with-libavcodec-prefix=${prefix} \ --with-libmpeg2-prefix=${prefix} \ --with-libdvdread-prefix=${prefix} \ --with-libjpeg-prefix=${prefix} \ --with-lame-prefix=${prefix} # Optional components variant a52dec { depends_lib-append port:a52dec configure.args-append --enable-a52 --enable-a52-default-decoder --with-a52-prefix=${prefix} } variant faac { depends_lib-append port:faac configure.args-append --enable-faac --with-faac-prefix=${prefix} } variant faad2 { depends_lib-append port:faad2 configure.args-append --enable-faad --with-faad-prefix=${prefix} } variant freetype { depends_lib-append port:freetype configure.args-append --enable-freetype2 --with-freetype2-prefix=${prefix} } variant imagemagick { depends_lib-append port:ImageMagick configure.args-append --enable-imagemagick --with-imagemagick-prefix=${prefix} } variant libdv { depends_lib-append port:libdv configure.args-append --enable-libdv --with-libdv-prefix=${prefix} } variant libogg { depends_lib-append port:libogg configure.args-append --enable-ogg --with-ogg-prefix=${prefix} } variant libsdl { depends_lib-append port:libsdl configure.args-append --enable-sdl --with-sdl-prefix=${prefix} } variant libtheora { depends_lib-append port:libtheora configure.args-append --enable-theora --with-theora-prefix=${prefix} } variant libvorbis { depends_lib-append port:libvorbis configure.args-append --enable-vorbis --with-vorbis-prefix=${prefix} } variant libxml2 { depends_lib-append port:libxml2 configure.args-append --enable-libxml2 --with-libxml2-prefix=${prefix} } variant x264 { depends_lib-append port:x264 configure.args-append --enable-x264 --with-x264-prefix=${prefix} } variant xvid { depends_lib-append port:XviD configure.args-append --enable-xvid --with-xvid-prefix=${prefix} } Stephen Ng wrote: > 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 > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From raimue at macports.org Thu Mar 6 16:32:35 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Fri, 07 Mar 2008 01:32:35 +0100 Subject: Problem Installing transcode In-Reply-To: <47D08B76.6030508@cogweb.net> References: <20D403F8-E848-4851-86BC-A311A086BF8F@planetnutek.com> <47D08B76.6030508@cogweb.net> Message-ID: <47D08D23.5010202@macports.org> David Liontooth wrote: > You do need an updated version of the transcode portfile for leopard; > it's ready and making its way into the repository. > However, the problems you're documenting here regard ffmpeg. Try > installing it separately first. The transcode portfile is appended. Did you already open a ticket in Trac for this? I can't find one. Or is this your initial submission of the update? Rainer From ramercer at gmail.com Thu Mar 6 16:47:09 2008 From: ramercer at gmail.com (Adam Mercer) Date: Thu, 6 Mar 2008 19:47:09 -0500 Subject: matplotlib segfault In-Reply-To: <18384.30605.688452.502784@montanaro-dyndns-org.local> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> <18384.28168.570628.578035@montanaro-dyndns-org.local> <18384.30605.688452.502784@montanaro-dyndns-org.local> Message-ID: <799406d60803061647r35af67b9h603a0b0fb221e14@mail.gmail.com> On Thu, Mar 6, 2008 at 6:00 PM, wrote: > Nevermind, I think. As it turns out if py25-gtk is already installed the > matplotlib build process will recognize its availability. This is a bit > confusing, especially since the installed port lists as > > py25-matplotlib @0.91.2_0+tkinter > > It would be kinda nice if it could somehow relay the fact that it also > supports gtk. Due to the way that matplotlib build system works it would be very difficult to do what you suggest. The tkinter, wxpython and gtk variants setup up the default backends and ensure that the appropriate dependencies are installed. However, if you already have the py25-gtk installed, for example, then the matplotlib build system will find this and build the required backend even if you didn't specify the gtk variant. I'm open to suggestions if you can come up with a better way of doing this. Cheers Adam From stephen.ng at planetnutek.com Thu Mar 6 17:32:14 2008 From: stephen.ng at planetnutek.com (Stephen Ng) Date: Fri, 7 Mar 2008 09:32:14 +0800 Subject: Problem Installing transcode In-Reply-To: <47D08B76.6030508@cogweb.net> References: <20D403F8-E848-4851-86BC-A311A086BF8F@planetnutek.com> <47D08B76.6030508@cogweb.net> Message-ID: <7EC957BD-BEA5-4B32-B367-25D5036BB14D@planetnutek.com> David, Thanks for your help. I tried installing ffmpeg first as you suggested and received the following error - ---> Staging ffmpeg into destroot 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 Error: Status 1 encountered during processing. ================= I checked the ..../trunk and ..../destroot directories and they are there. Does this mean that the ffmpeg portfile also needs to be updated? Regards. Stephen On 07/03/2008, at 8:25 AM, David Liontooth wrote: > > Hi Stephen, > > You do need an updated version of the transcode portfile for leopard; > it's ready and making its way into the repository. > However, the problems you're documenting here regard ffmpeg. Try > installing it separately first. The transcode portfile is appended. > > Dave > > # $Id: Portfile 25735 2007-05-30 07:57:21Z ryandesign at macports.org $ > > PortSystem 1.0 > > name transcode > #version 1.1.0-pre-05 > version 1.1.0alpha7 > categories multimedia > maintainers cremes at mac.com, liontooth at cogweb.net > description Video and audio processing tools > long_description transcode is a suite of tools, all of which are \ > command line utilities, for transcoding various \ > video, audio, and container formats, running on a \ > platform that supports shared libraries and threads.\ > \ > Decoding and encoding is done by modules that are \ > responsible for feeding transcode with raw video/ \ > audio streams (import modules) and encoding the frames \ > (export modules). \ > \ > It includes a variety of video and audio filters, \ > including (but not limited to) video de-interlacing, \ > audio resampling, framerate conversion, different \ > resizing algorithms, smoothing, sharpening, denoisifying, \ > and cutting. > > homepage http://www.transcoding.org > > master_sites http://fromani.exit1.org/ > distname ${name}-${version} > use_bzip2 yes > > checksums ${distname}${extract.suffix} \ > md5 1f2f2df059c801038743f2a8210c2fb5 \ > sha1 0f329d33cf1fcf5d16ea727087740c25a7664ed2 > > #fetch.type cvs > #cvs.root :pserver:cvs at cvs.exit1.org:/cvstc > #cvs.tag HEAD > #cvs.date 20070516 > #cvs.module ${name} > #worksrcdir ${name} > > depends_lib port:automake \ > port:autoconf \ > port:libtool \ > port:ffmpeg \ > port:libmpeg2 \ > port:libdvdread \ > port:jpeg \ > port:lame > > pre-configure { cd ${worksrcpath} > system "LIBTOOLIZE=glibtoolize autoreconf -i -f" > } > > platforms darwin > > configure.args --disable-mmx \ > --disable-altivec \ > --with-libavcodec-prefix=${prefix} \ > --with-libmpeg2-prefix=${prefix} \ > --with-libdvdread-prefix=${prefix} \ > --with-libjpeg-prefix=${prefix} \ > --with-lame-prefix=${prefix} > > # Optional components > > variant a52dec { > depends_lib-append port:a52dec > configure.args-append --enable-a52 --enable-a52-default-decoder > --with-a52-prefix=${prefix} > } > > variant faac { > depends_lib-append port:faac > configure.args-append --enable-faac --with-faac-prefix=${prefix} > } > > variant faad2 { > depends_lib-append port:faad2 > configure.args-append --enable-faad --with-faad-prefix=${prefix} > } > > variant freetype { > depends_lib-append port:freetype > configure.args-append --enable-freetype2 > --with-freetype2-prefix=${prefix} > } > > variant imagemagick { > depends_lib-append port:ImageMagick > configure.args-append --enable-imagemagick > --with-imagemagick-prefix=${prefix} > } > > variant libdv { > depends_lib-append port:libdv > configure.args-append --enable-libdv --with-libdv-prefix=${prefix} > } > > variant libogg { > depends_lib-append port:libogg > configure.args-append --enable-ogg --with-ogg-prefix=${prefix} > } > > variant libsdl { > depends_lib-append port:libsdl > configure.args-append --enable-sdl --with-sdl-prefix=${prefix} > } > > variant libtheora { > depends_lib-append port:libtheora > configure.args-append --enable-theora --with-theora-prefix=$ > {prefix} > } > > variant libvorbis { > depends_lib-append port:libvorbis > configure.args-append --enable-vorbis --with-vorbis-prefix=$ > {prefix} > } > > variant libxml2 { > depends_lib-append port:libxml2 > configure.args-append --enable-libxml2 --with-libxml2-prefix=$ > {prefix} > } > > variant x264 { > depends_lib-append port:x264 > configure.args-append --enable-x264 --with-x264-prefix=${prefix} > } > > variant xvid { > depends_lib-append port:XviD > configure.args-append --enable-xvid --with-xvid-prefix=${prefix} > } > > > > Stephen Ng wrote: >> 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 >> _______________________________________________ >> 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 17:52:59 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 19:52:59 -0600 Subject: matplotlib segfault In-Reply-To: <799406d60803061647r35af67b9h603a0b0fb221e14@mail.gmail.com> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> <18384.28168.570628.578035@montanaro-dyndns-org.local> <18384.30605.688452.502784@montanaro-dyndns-org.local> <799406d60803061647r35af67b9h603a0b0fb221e14@mail.gmail.com> Message-ID: <18384.40955.810684.555475@montanaro-dyndns-org.local> Adam> The tkinter, wxpython and gtk variants ... This is the first I heard of different variants. I'm giving it a try now. Adam> I'm open to suggestions if you can come up with a better way of Adam> doing this. None. I'm just constantly amazed at the complexity of MacPorts (not always in a good way). -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From skip at pobox.com Thu Mar 6 17:54:37 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 19:54:37 -0600 Subject: matplotlib segfault In-Reply-To: <799406d60803061647r35af67b9h603a0b0fb221e14@mail.gmail.com> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> <18384.28168.570628.578035@montanaro-dyndns-org.local> <18384.30605.688452.502784@montanaro-dyndns-org.local> <799406d60803061647r35af67b9h603a0b0fb221e14@mail.gmail.com> Message-ID: <18384.41053.829730.148749@montanaro-dyndns-org.local> > I'm just constantly amazed at the complexity of MacPorts (not always in > a good way). *sigh*... Here's one example: % sudo port uninstall py25-matplotlib ---> Deactivating py25-matplotlib 0.91.2_0+tkinter ---> Uninstalling py25-matplotlib 0.91.2_0+tkinter % sudo port install py25-matplotlib +gtk ---> Fetching py25-matplotlib ---> Verifying checksum(s) for py25-matplotlib ---> Extracting py25-matplotlib ---> Applying patches to py25-matplotlib ---> Configuring py25-matplotlib ---> Building py25-matplotlib with target build ---> Staging py25-matplotlib into destroot ---> Installing py25-matplotlib 0.91.2_0+tkinter ---> Activating py25-matplotlib 0.91.2_0+tkinter ---> Cleaning py25-matplotlib I asked for the gtk variant. Why was the tkinter variant installed? -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From dluke at geeklair.net Thu Mar 6 18:01:58 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Thu, 6 Mar 2008 21:01:58 -0500 Subject: matplotlib segfault In-Reply-To: <18384.41053.829730.148749@montanaro-dyndns-org.local> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> <18384.28168.570628.578035@montanaro-dyndns-org.local> <18384.30605.688452.502784@montanaro-dyndns-org.local> <799406d60803061647r35af67b9h603a0b0fb221e14@mail.gmail.com> <18384.41053.829730.148749@montanaro-dyndns-org.local> Message-ID: On Mar 6, 2008, at 8:54 PM, skip at pobox.com wrote: >> I'm just constantly amazed at the complexity of MacPorts (not >> always in >> a good way). > > *sigh*... Here's one example: > > % sudo port uninstall py25-matplotlib > ---> Deactivating py25-matplotlib 0.91.2_0+tkinter > ---> Uninstalling py25-matplotlib 0.91.2_0+tkinter > % sudo port install py25-matplotlib +gtk > ---> Fetching py25-matplotlib > ---> Verifying checksum(s) for py25-matplotlib > ---> Extracting py25-matplotlib > ---> Applying patches to py25-matplotlib > ---> Configuring py25-matplotlib > ---> Building py25-matplotlib with target build > ---> Staging py25-matplotlib into destroot > ---> Installing py25-matplotlib 0.91.2_0+tkinter > ---> Activating py25-matplotlib 0.91.2_0+tkinter > ---> Cleaning py25-matplotlib > > I asked for the gtk variant. Why was the tkinter variant installed? There is no gtk variant (there is a gtk2 one, which may be what you wanted). That port is setup to automatically add +tkinter if a conflicting variant isn't set. -- 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 skip at pobox.com Thu Mar 6 18:12:40 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 20:12:40 -0600 Subject: matplotlib segfault In-Reply-To: <770D387B-3751-4655-A6FD-C652E9D3C332@stwing.upenn.edu> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> <18384.28168.570628.578035@montanaro-dyndns-org.local> <18384.30605.688452.502784@montanaro-dyndns-org.local> <799406d60803061647r35af67b9h603a0b0fb221e14@mail.gmail.com> <18384.41053.829730.148749@montanaro-dyndns-org.local> <770D387B-3751-4655-A6FD-C652E9D3C332@stwing.upenn.edu> Message-ID: <18384.42136.752801.503182@montanaro-dyndns-org.local> >> % sudo port install py25-matplotlib +gtk ... >> I asked for the gtk variant. Why was the tkinter variant installed? Chris> py25-matplotlib does not provide a variant gtk (it provides a Chris> variant gtk2) and +tkinter is the default if no other variant is Chris> specified. Yet, amazingly, it didn't complain. Thanks, Skip From dluke at geeklair.net Thu Mar 6 18:18:04 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Thu, 6 Mar 2008 21:18:04 -0500 Subject: matplotlib segfault In-Reply-To: <18384.42136.752801.503182@montanaro-dyndns-org.local> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> <18384.28168.570628.578035@montanaro-dyndns-org.local> <18384.30605.688452.502784@montanaro-dyndns-org.local> <799406d60803061647r35af67b9h603a0b0fb221e14@mail.gmail.com> <18384.41053.829730.148749@montanaro-dyndns-org.local> <770D387B-3751-4655-A6FD-C652E9D3C332@stwing.upenn.edu> <18384.42136.752801.503182@montanaro-dyndns-org.local> Message-ID: On Mar 6, 2008, at 9:12 PM, skip at pobox.com wrote: >>> % sudo port install py25-matplotlib +gtk > ... >>> I asked for the gtk variant. Why was the tkinter variant installed? > > Chris> py25-matplotlib does not provide a variant gtk (it > provides a > Chris> variant gtk2) and +tkinter is the default if no other > variant is > Chris> specified. > > Yet, amazingly, it didn't complain. That's by design, one reason why is so that you can set variants that you always want selected (say +no_x11 or +ipv6) in your macports.conf file and it won't cause install failures for ports that don't have that variant defined. -- 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 skip at pobox.com Thu Mar 6 18:28:40 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 6 Mar 2008 20:28:40 -0600 Subject: matplotlib segfault In-Reply-To: References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> <18384.28168.570628.578035@montanaro-dyndns-org.local> <18384.30605.688452.502784@montanaro-dyndns-org.local> <799406d60803061647r35af67b9h603a0b0fb221e14@mail.gmail.com> <18384.41053.829730.148749@montanaro-dyndns-org.local> <770D387B-3751-4655-A6FD-C652E9D3C332@stwing.upenn.edu> <18384.42136.752801.503182@montanaro-dyndns-org.local> Message-ID: <18384.43096.244683.902616@montanaro-dyndns-org.local> Daniel> That's by design, one reason why is so that you can set variants Daniel> that you always want selected (say +no_x11 or +ipv6) in your Daniel> macports.conf file and it won't cause install failures for ports Daniel> that don't have that variant defined. Hmmm... That leads to a follow-on question. Can this macports.conf file be used to globally get all C/C++ code to be compiled with -g? If not, is there some way to do it once (not editing every portfile)? Thx, Skip From sfiera at macports.org Thu Mar 6 18:21:01 2008 From: sfiera at macports.org (Chris Pickel) Date: Thu, 6 Mar 2008 21:21:01 -0500 Subject: matplotlib segfault In-Reply-To: <18384.42136.752801.503182@montanaro-dyndns-org.local> References: <18384.10659.748714.736469@montanaro-dyndns-org.local> <237E2D27-8FD6-46EE-885B-7877BFE0825C@googlemail.com> <18384.28168.570628.578035@montanaro-dyndns-org.local> <18384.30605.688452.502784@montanaro-dyndns-org.local> <799406d60803061647r35af67b9h603a0b0fb221e14@mail.gmail.com> <18384.41053.829730.148749@montanaro-dyndns-org.local> <770D387B-3751-4655-A6FD-C652E9D3C332@stwing.upenn.edu> <18384.42136.752801.503182@montanaro-dyndns-org.local> Message-ID: On 06 Mar, 2008, at 21:12, skip at pobox.com wrote: >>> % sudo port install py25-matplotlib +gtk > ... >>> I asked for the gtk variant. Why was the tkinter variant installed? > > Chris> py25-matplotlib does not provide a variant gtk (it > provides a > Chris> variant gtk2) and +tkinter is the default if no other > variant is > Chris> specified. > > Yet, amazingly, it didn't complain. It doesn't complain because MacPorts allows variants to cascade to dependencies--for example, if you had nothing installed and specified "py25-matplotlib +gtk2 +quartz", then despite the lack of a "quartz" variant for py25-matplotlib, all other ports (e.g. gtk2) would be installed with it. From bjarne.backstrom at hjomail.se Thu Mar 6 20:27:46 2008 From: bjarne.backstrom at hjomail.se (=?ISO-8859-1?Q?Bjarne_B=E4ckstr=F6m?=) Date: Fri, 7 Mar 2008 05:27:46 +0100 Subject: Where is patch-fonts.c? (gtkwave) Message-ID: <9D716058-6D6A-45D2-B0AB-E1E164DC4B59@hjomail.se> Have been trying to install gtkwave, but get these error messages: ---> Fetching gtkwave ---> patch-fonts.c doesn't seem to exist in /opt/local/var/macports/ distfiles/gtkwave ---> Attempting to fetch patch-fonts.c from http://svn.macports.org/ repository/macports/distfiles/gtkwave % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch patch-fonts.c from http://svn.macports.org/ repository/macports/distfiles/general/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch patch-fonts.c from http://svn.macports.org/ repository/macports/downloads/gtkwave % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 Error: Target org.macports.fetch returned: fetch failed Warning: the following items did not execute (for gtkwave): org.macports.activate org.macports.fetch org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. From stephen.ng at planetnutek.com Thu Mar 6 21:14:08 2008 From: stephen.ng at planetnutek.com (Stephen Ng) Date: Fri, 7 Mar 2008 13:14:08 +0800 Subject: Problem Installing transcode In-Reply-To: <47D08B76.6030508@cogweb.net> References: <20D403F8-E848-4851-86BC-A311A086BF8F@planetnutek.com> <47D08B76.6030508@cogweb.net> Message-ID: Hi! I did a "port clean ffmpeg" and then an install and got the following error - ................ 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.6.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: 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.6.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: Status 1 encountered during processing. ============ So what's the problem? More inconsistencies in the portfiles? Thanks. Stephen On 07/03/2008, at 8:25 AM, David Liontooth wrote: > > Hi Stephen, > > You do need an updated version of the transcode portfile for leopard; > it's ready and making its way into the repository. > However, the problems you're documenting here regard ffmpeg. Try > installing it separately first. The transcode portfile is appended. > > Dave > > # $Id: Portfile 25735 2007-05-30 07:57:21Z ryandesign at macports.org $ > > PortSystem 1.0 > > name transcode > #version 1.1.0-pre-05 > version 1.1.0alpha7 > categories multimedia > maintainers cremes at mac.com, liontooth at cogweb.net > description Video and audio processing tools > long_description transcode is a suite of tools, all of which are \ > command line utilities, for transcoding various \ > video, audio, and container formats, running on a \ > platform that supports shared libraries and threads.\ > \ > Decoding and encoding is done by modules that are \ > responsible for feeding transcode with raw video/ \ > audio streams (import modules) and encoding the frames \ > (export modules). \ > \ > It includes a variety of video and audio filters, \ > including (but not limited to) video de-interlacing, \ > audio resampling, framerate conversion, different \ > resizing algorithms, smoothing, sharpening, denoisifying, \ > and cutting. > > homepage http://www.transcoding.org > > master_sites http://fromani.exit1.org/ > distname ${name}-${version} > use_bzip2 yes > > checksums ${distname}${extract.suffix} \ > md5 1f2f2df059c801038743f2a8210c2fb5 \ > sha1 0f329d33cf1fcf5d16ea727087740c25a7664ed2 > > #fetch.type cvs > #cvs.root :pserver:cvs at cvs.exit1.org:/cvstc > #cvs.tag HEAD > #cvs.date 20070516 > #cvs.module ${name} > #worksrcdir ${name} > > depends_lib port:automake \ > port:autoconf \ > port:libtool \ > port:ffmpeg \ > port:libmpeg2 \ > port:libdvdread \ > port:jpeg \ > port:lame > > pre-configure { cd ${worksrcpath} > system "LIBTOOLIZE=glibtoolize autoreconf -i -f" > } > > platforms darwin > > configure.args --disable-mmx \ > --disable-altivec \ > --with-libavcodec-prefix=${prefix} \ > --with-libmpeg2-prefix=${prefix} \ > --with-libdvdread-prefix=${prefix} \ > --with-libjpeg-prefix=${prefix} \ > --with-lame-prefix=${prefix} > > # Optional components > > variant a52dec { > depends_lib-append port:a52dec > configure.args-append --enable-a52 --enable-a52-default-decoder > --with-a52-prefix=${prefix} > } > > variant faac { > depends_lib-append port:faac > configure.args-append --enable-faac --with-faac-prefix=${prefix} > } > > variant faad2 { > depends_lib-append port:faad2 > configure.args-append --enable-faad --with-faad-prefix=${prefix} > } > > variant freetype { > depends_lib-append port:freetype > configure.args-append --enable-freetype2 > --with-freetype2-prefix=${prefix} > } > > variant imagemagick { > depends_lib-append port:ImageMagick > configure.args-append --enable-imagemagick > --with-imagemagick-prefix=${prefix} > } > > variant libdv { > depends_lib-append port:libdv > configure.args-append --enable-libdv --with-libdv-prefix=${prefix} > } > > variant libogg { > depends_lib-append port:libogg > configure.args-append --enable-ogg --with-ogg-prefix=${prefix} > } > > variant libsdl { > depends_lib-append port:libsdl > configure.args-append --enable-sdl --with-sdl-prefix=${prefix} > } > > variant libtheora { > depends_lib-append port:libtheora > configure.args-append --enable-theora --with-theora-prefix=$ > {prefix} > } > > variant libvorbis { > depends_lib-append port:libvorbis > configure.args-append --enable-vorbis --with-vorbis-prefix=$ > {prefix} > } > > variant libxml2 { > depends_lib-append port:libxml2 > configure.args-append --enable-libxml2 --with-libxml2-prefix=$ > {prefix} > } > > variant x264 { > depends_lib-append port:x264 > configure.args-append --enable-x264 --with-x264-prefix=${prefix} > } > > variant xvid { > depends_lib-append port:XviD > configure.args-append --enable-xvid --with-xvid-prefix=${prefix} > } > > > > Stephen Ng wrote: >> 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 >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> > > From ryandesign at macports.org Thu Mar 6 22:30:58 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 7 Mar 2008 00:30:58 -0600 Subject: Where is patch-fonts.c? (gtkwave) In-Reply-To: <9D716058-6D6A-45D2-B0AB-E1E164DC4B59@hjomail.se> References: <9D716058-6D6A-45D2-B0AB-E1E164DC4B59@hjomail.se> Message-ID: <7929C129-E267-4E83-BFDC-093E451D9D7B@macports.org> On Mar 6, 2008, at 22:27, Bjarne B?ckstr?m wrote: > Have been trying to install gtkwave, but get these error messages: > > ---> Fetching gtkwave > ---> patch-fonts.c doesn't seem to exist in /opt/local/var/macports/ > distfiles/gtkwave > ---> Attempting to fetch patch-fonts.c from http://svn.macports.org/ > repository/macports/distfiles/gtkwave > % Total % Received % Xferd Average Speed Time Time > Time Current > Dload Upload Total Spent > Left Speed > 0 0 0 0 0 0 0 0 --:--:-- --:--:-- > --:--:-- 0 [snip] I filed a bug for you: http://trac.macosforge.org/projects/macports/ticket/14577 In the future please file issues in the issue tracker yourself: http://guide.macports.org/#project.tickets Thanks. From ryandesign at macports.org Thu Mar 6 22:33:49 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 7 Mar 2008 00:33:49 -0600 Subject: Problem Installing transcode In-Reply-To: References: <20D403F8-E848-4851-86BC-A311A086BF8F@planetnutek.com> <47D08B76.6030508@cogweb.net> Message-ID: <7E4B4074-A428-4FD5-B637-9D56A10EED4A@macports.org> On Mar 6, 2008, at 23:14, Stephen Ng wrote: > I did a "port clean ffmpeg" and then an install and got the following > error - > 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.6.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 ... > So what's the problem? More inconsistencies in the portfiles? The problem is the port or the software is apparently broken. This issue has already been reported: http://trac.macosforge.org/projects/macports/ticket/14571 From ryandesign at macports.org Thu Mar 6 22:52:47 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 7 Mar 2008 00:52:47 -0600 Subject: General question about MacPorts In-Reply-To: References: Message-ID: On Mar 6, 2008, at 13:11, Wilden Mark wrote: > On Mar 5, 2008, at 10:53 AM, Daniel J. Luke wrote: > >> 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. > > Ah, cool. How does a ticket get assigned? Was there something I could > have done? Regular users cannot assign tickets. I don't know why we don't allow this. Regular users can set the Cc field when tickets are created, but not after. I don't know why we restrict this either. >> 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]. > > I had in fact installed postgresql83 by mistake, and that seems to > relate. However, after uninstalling ossp-uuid and building apr, I > received the error: misc/unix/rand.c:39:18: error: uuid.h: No such > file or directory. The places on my system where that file exists are > > /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/ > Kernel.framework/Versions/A/Headers/uuid/uuid.h > /Developer/SDKs/MacOSX10.4u.sdk/usr/include/uuid/uuid.h > /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ > Kernel.framework/Versions/A/Headers/uuid/uuid.h > /Developer/SDKs/MacOSX10.5.sdk/usr/include/uuid/uuid.h > /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/uuid/ > uuid.h > /usr/include/uuid/uuid.h > > and the output from sudo port install apr is > > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_devel_apr/work/apr-1.2.12" && make all " > returned error 2 > Command output: /bin/sh /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_devel_apr/work/apr-1.2.12/libtool --silent > --mode=compile /usr/bin/gcc-4.0 -O2 -DHAVE_CONFIG_H -DDARWIN - > DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include - > I./include -I/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_devel_apr/work/apr-1.2.12/include/arch/ > unix -I./include/arch/unix -I/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_devel_apr/work/apr-1.2.12/include -o > misc/ > unix/rand.lo -c misc/unix/rand.c && touch misc/unix/rand.lo > misc/unix/rand.c:39:18: error: uuid.h: No such file or directory > make[1]: *** [misc/unix/rand.lo] Error 1 > make: *** [all-recursive] Error 1 > > Error: Status 1 encountered during processing. Did you clean first? sudo port clean --work apr sudo port install apr From stephen.ng at planetnutek.com Thu Mar 6 22:53:34 2008 From: stephen.ng at planetnutek.com (Stephen Ng) Date: Fri, 7 Mar 2008 14:53:34 +0800 Subject: Problem Installing transcode In-Reply-To: <7E4B4074-A428-4FD5-B637-9D56A10EED4A@macports.org> References: <20D403F8-E848-4851-86BC-A311A086BF8F@planetnutek.com> <47D08B76.6030508@cogweb.net> <7E4B4074-A428-4FD5-B637-9D56A10EED4A@macports.org> Message-ID: <83C80DDE-B445-4F74-BE40-47290CBAA2DD@planetnutek.com> Thanks for the update. On 07/03/2008, at 2:33 PM, Ryan Schmidt wrote: > On Mar 6, 2008, at 23:14, Stephen Ng wrote: > >> I did a "port clean ffmpeg" and then an install and got the following >> error - > >> 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.6.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 ... > >> So what's the problem? More inconsistencies in the portfiles? > > The problem is the port or the software is apparently broken. This > issue has already been reported: > > http://trac.macosforge.org/projects/macports/ticket/14571 > > > From ryandesign at macports.org Thu Mar 6 22:56:44 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 7 Mar 2008 00:56:44 -0600 Subject: odd port list installed output In-Reply-To: <18384.1557.263412.501474@montanaro-dyndns-org.local> References: <18383.60282.986340.189349@montanaro-dyndns-org.local> <18384.1557.263412.501474@montanaro-dyndns-org.local> Message-ID: On Mar 6, 2008, at 08:56, skip at pobox.com wrote: > 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. That is correct. The port command is non-smart in this regard. You have to force it. sudo port -f uninstall python25 at 2.5.2_0+darwin_9 From ryandesign at macports.org Thu Mar 6 23:13:31 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 7 Mar 2008 01:13:31 -0600 Subject: where did GVim.app go? In-Reply-To: <47D02ED3.9040001@macports.org> References: <47D02CB7.70007@duke.edu> <47D02ED3.9040001@macports.org> Message-ID: <886162CE-0F5C-42AA-9E58-C427F304AD44@macports.org> On Mar 6, 2008, at 11:50, Rainer M?ller wrote: > 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. Shouldn't the existing PowerPC binary work on Intel Macs through Rosetta? "sudo port install graphviz +gui" installs a PowerPC app even on Intels. No problem. From mark at mwilden.com Fri Mar 7 09:33:39 2008 From: mark at mwilden.com (Mark Wilden) Date: Fri, 7 Mar 2008 09:33:39 -0800 Subject: mod_python-3.3.1 build fails In-Reply-To: References: Message-ID: <7421EA9E-68DA-4079-879E-89FA34389BD7@mwilden.com> On Mar 6, 2008, at 10:52 PM, Ryan Schmidt wrote: > > Did you clean first? > > sudo port clean --work apr > sudo port install apr That worked! apr builds fine and so do the dependencies. However, mod_python itself does not build. http://trac.macosforge.org/projects/macports/ticket/14582 ///ark From ms at mac-specialist.com Fri Mar 7 12:31:34 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Fri, 07 Mar 2008 14:31:34 -0600 Subject: Upgrade to Leopard mostly smooth, but has small glitch Message-ID: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> I just installed Leopard on iMacG5 and everything went off very well. However when I restarted and looked at all the usual preferences, I launched the terminal and tried : [2008.07.03](02:06PM) -> [username] ~ $ ps aux | grep httpd username 305 0.0 0.0 599740 388 s001 S+ 2:07PM 0:00.00 grep httpd --> which showed that Apache was not running, so I tried : 2008.07.03](01:59PM) -> [username] ~ $ sudo launchctl load -w /Library/ LaunchDaemons/org.macports.apache2.plist Password: launchctl: Dubious ownership on file (skipping): /Library/ LaunchDaemons/org.macports.apache2.plist nothing found to load --> And that didn't work so well, so I tried : [2008.07.03](02:07PM) -> [username] ~ $ sudo /opt/local/apache2/bin/ apachectl -k start Password: /opt/local/apache2/bin/apachectl: line 70: ulimit: open files: cannot modify limit: Invalid argument --> which showed an error on line 70 of apachectl --> but it tried to see if it launched anyway, and it did as it shows below [2008.07.03](02:07PM) -> [username] ~ $ ps aux | grep httpd username 320 0.0 0.1 97264 1204 ?? S 2:07PM 0:00.00 /opt/local/apache2/bin/httpd -k start username 319 0.0 0.1 97264 1204 ?? S 2:07PM 0:00.00 /opt/local/apache2/bin/httpd -k start username 318 0.0 0.1 97264 1204 ?? S 2:07PM 0:00.00 /opt/local/apache2/bin/httpd -k start username 317 0.0 0.1 97264 1204 ?? S 2:07PM 0:00.00 /opt/local/apache2/bin/httpd -k start username 316 0.0 0.1 97264 1204 ?? S 2:07PM 0:00.00 /opt/local/apache2/bin/httpd -k start root 315 0.0 0.0 97164 888 ?? S 2:07PM 0:00.00 /opt/local/apache2/bin/httpd -k start root 312 0.0 0.3 97264 7232 ?? Ss 2:07PM 0:00.34 /opt/local/apache2/bin/httpd -k start username 322 0.0 0.0 599740 384 s001 R+ 2:08PM 0:00.00 grep httpd [2008.07.03](02:08PM) -> [username] ~ $ Any ideas why I got : ( 1 ) launchctl: Dubious ownership on file (skipping): /Library/ LaunchDaemons/org.macports.apache2.plist nothing found to load ( 2 ) /opt/local/apache2/bin/apachectl: line 70: ulimit: open files: cannot modify limit: Invalid argument --> Here's what I found : [2008.07.03](02:08PM) -> [username] ~ $ open -a ~/Applications/ BBEdit.app /opt/local/apache2/bin/apachectl # LINE 59 # Set this variable to a command that increases the maximum # number of file descriptors allowed per child process. This is # critical for configurations that use many file descriptors, # such as mass vhosting, or a multithreaded server. ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`" # -------------------- -------------------- # |||||||||||||||||||| END CONFIGURATION SECTION |||||||||||||||||||| # Set the maximum number of file descriptors allowed per child process. if [ "x$ULIMIT_MAX_FILES" != "x" ] ; then $ULIMIT_MAX_FILES fi # LINE 72 Bill Hernandez Plano, Texas From ryandesign at macports.org Fri Mar 7 19:11:42 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 7 Mar 2008 21:11:42 -0600 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> Message-ID: <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> On Mar 7, 2008, at 14:31, Bill Hernandez wrote: > I just installed Leopard on iMacG5 and everything went off very well. > > However when I restarted and looked at all the usual preferences, I > launched the terminal and tried : Did I understand correctly that you had Tiger, installed MacPorts and several ports, and now upgraded to Leopard and are trying to continue using the ports that were already installed? If so, I can't recommend that. I suggest reinstalling MacPorts and your ports from scratch. Ports may need to build differently on each version of Mac OS X. From waterson at maubi.net Fri Mar 7 21:41:19 2008 From: waterson at maubi.net (Chris Waterson) Date: Fri, 7 Mar 2008 21:41:19 -0800 Subject: g++-mp-4.2 executables bad on leopard? Message-ID: I was poking around at the octave build on Leopard (bug 13686), and I'm suspicious that g++-mp-4.2 is generating bad executables. The first snipped below is a simple program that fails in the same way that "munge-texi" fails in the octave build. It's simply populating a std::map from a file with key=value pairs. Save this as "bug.cc", them compile with: /opt/local/bin/g++-mp-4.2 -g -o bug bug.cc and then give it a whirl... madchenwagen:/tmp$ ./bug foo=bar baz=bop bim=bam Segmentation fault madchenwagen:/tmp$ Has anyone else seen problems like this? My weak attempts at googling turned up nothing that seemed relevant to me. Just wanted to check before filing a new bug... thanks! chris ---8<----------------------------------------------------------------- #include #include #include static std::map my_map; int main(int argc, char* argv[]) { while (!std::cin.eof()) { char buf[256]; std::cin.getline(buf, sizeof buf); for (char *c = buf; *c; ++c) { if (*c == '=') { *c = '\0'; my_map[buf] = c + 1; break; } } } return 0; } From waterson at maubi.net Fri Mar 7 21:59:14 2008 From: waterson at maubi.net (Chris Waterson) Date: Fri, 7 Mar 2008 21:59:14 -0800 Subject: g++-mp-4.2 executables bad on leopard? In-Reply-To: References: Message-ID: On Mar 7, 2008, at 9:41 PM, Chris Waterson wrote: > I was poking around at the octave build on Leopard (bug 13686), and > I'm suspicious that g++-mp-4.2 is generating bad executables. A couple additional data points: * gdb doesn't really seem to grok executables built with g++-mp-4.2 * This problem doesn't happen with Apple's "pre-release" g++-4.2 chris From paulbeard at gmail.com Fri Mar 7 23:35:52 2008 From: paulbeard at gmail.com (paul beard) Date: Fri, 7 Mar 2008 23:35:52 -0800 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> Message-ID: On Fri, Mar 7, 2008 at 7:11 PM, Ryan Schmidt wrote: > > On Mar 7, 2008, at 14:31, Bill Hernandez wrote: > > > I just installed Leopard on iMacG5 and everything went off very well. > > > > However when I restarted and looked at all the usual preferences, I > > launched the terminal and tried : > > > Did I understand correctly that you had Tiger, installed MacPorts and > several ports, and now upgraded to Leopard and are trying to continue > using the ports that were already installed? If so, I can't recommend > that. I suggest reinstalling MacPorts and your ports from scratch. > Ports may need to build differently on each version of Mac OS X. > That seems really cumbersome. If it is necessary, any way that the MacPorts team could whip up a script to migrate ports to a new OS release? or will a simple for loop (for i in `port installed`; do . . . ) do it? But on to the OP's question, httpd is running? What do those lines do if you run them in the Terminal? % export ULIMIT_MAX_FILES="ulimit -S -n `ulimit -H -n`" % echo $ULIMIT_MAX_FILES and as a hint, if you install BBedit's command line tools, you can simply type "edit " instead of all that other stuff. Or use TextWrangler, for those who are short of coin. It has the same facility. -- Paul Beard / www.paulbeard.org/ From ryandesign at macports.org Sat Mar 8 00:06:51 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 8 Mar 2008 02:06:51 -0600 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> Message-ID: <3C424861-618B-4461-B8F3-A6DD575C0575@macports.org> On Mar 8, 2008, at 01:35, paul beard wrote: > On Fri, Mar 7, 2008 at 7:11 PM, Ryan Schmidt wrote: > >> On Mar 7, 2008, at 14:31, Bill Hernandez wrote: >> >>> I just installed Leopard on iMacG5 and everything went off very >>> well. >>> >>> However when I restarted and looked at all the usual preferences, I >>> launched the terminal and tried : >> >> Did I understand correctly that you had Tiger, installed MacPorts >> and >> several ports, and now upgraded to Leopard and are trying to >> continue >> using the ports that were already installed? If so, I can't >> recommend >> that. I suggest reinstalling MacPorts and your ports from scratch. >> Ports may need to build differently on each version of Mac OS X. > > That seems really cumbersome. If it is necessary, any way that the > MacPorts team could whip up a script to migrate ports to a new OS > release? > > or will a simple for loop (for i in `port installed`; do . . . ) do > it? I feel it's necessary. Consider all the ports you currently have installed that have a "+darwin_8" variant. If you upgrade to Leopard, your OS is now Darwin 9, but you still have +darwin_8 variants. If you upgrade those ports, they'll still keep the +darwin_8 variants as long as those ports still define those variants. Also, if those ports define a +darwin_9 variant, during upgrade, you'll acquire that as well, so now your port will be installed with "+darwin_8+darwin_9" which is not correct and could cause unexpected behavior. Consider also the case of the php5 port. The +apache variant, as it is currently written, uses the Apache 1.3 server Apple has in Mac OS X 10.4 and earlier. If you upgrade to Leopard, in which Apple's Apache is now version 2, php5 won't work anymore, because Apache modules need to be recompiled to work with a different Apache version. To generalize, there may be variants that can only be used on certain OS versions, or that work differently on different OS versions, so ports should be recompiled when you upgrade to a new major OS release. MacPorts itself may behave differently. For example, there was talk about using new facilities in Leopard for modifying the user's PATH. That specific example won't apply since it was ultimately decided not to use those facilities. But consider the case of upgrading from Panther to Tiger. If you had any ports installed that need startupitems, you should rebuild those ports so they'll be turned into launchd plists instead. One could probably script such a reinstall, but I'm not going to right now. The steps would be: get the name and variants of each installed port, and whether or not it's active. Uninstall each port (optional?). Move aside all directories where MacPorts has installed things (/opt/local, /Library/Tcl/macports1.0, /Applications/ MacPorts). Install MacPorts from the appropriate disk image for your new OS. Install each of your previous ports with the right variants, deactivating those ports that were originally inactive. > and as a hint, if you install BBedit's command line tools, you can > simply type "edit " instead of all that other stuff. Or use > TextWrangler, for those who are short of coin. It has the same > facility. BBEdit's command line tools are called "bbedit" and "bbdiff". TextWrangler's equivalent command line tools are called "edit" and "twdiff". From afb at macports.org Sat Mar 8 00:34:24 2008 From: afb at macports.org (=?ISO-8859-1?Q?Anders_F_Bj=F6rklund?=) Date: Sat, 8 Mar 2008 09:34:24 +0100 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: <3C424861-618B-4461-B8F3-A6DD575C0575@macports.org> References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> <3C424861-618B-4461-B8F3-A6DD575C0575@macports.org> Message-ID: <2F4442F1-E34B-404E-989A-CAB274F0BB04@macports.org> Ryan Schmidt wrote: >> and as a hint, if you install BBedit's command line tools, you can >> simply type "edit " instead of all that other stuff. Or use >> TextWrangler, for those who are short of coin. It has the same >> facility. > > BBEdit's command line tools are called "bbedit" and "bbdiff". > > TextWrangler's equivalent command line tools are called "edit" and > "twdiff". These also works with the EDITOR variable, with .e.g. MacPorts. export EDITOR=edit port edit MacPorts --anders From raimue at macports.org Sat Mar 8 00:48:30 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sat, 08 Mar 2008 09:48:30 +0100 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> Message-ID: <47D252DE.6000707@macports.org> paul beard wrote: > That seems really cumbersome. If it is necessary, any way that the > MacPorts team could whip up a script to migrate ports to a new OS > release? The easiest way would be if `port upgrade' removes the installed platform variant and replaces it with the current one. Or will that have any other consequences? Rainer From ryandesign at macports.org Sat Mar 8 01:30:44 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 8 Mar 2008 03:30:44 -0600 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: <47D252DE.6000707@macports.org> References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> <47D252DE.6000707@macports.org> Message-ID: On Mar 8, 2008, at 02:48, Rainer M?ller wrote: > paul beard wrote: > >> That seems really cumbersome. If it is necessary, any way that the >> MacPorts team could whip up a script to migrate ports to a new OS >> release? > > The easiest way would be if `port upgrade' removes the installed > platform variant and replaces it with the current one. Or will that > have > any other consequences? That would be an improvement. From gnurser at googlemail.com Sat Mar 8 04:56:32 2008 From: gnurser at googlemail.com (George Nurser) Date: Sat, 8 Mar 2008 12:56:32 +0000 Subject: g++-mp-4.2 executables bad on leopard? In-Reply-To: References: Message-ID: <1d1e6ea70803080456u6f5de832g4e2f703e67736ec1@mail.gmail.com> On 08/03/2008, Chris Waterson wrote: > I was poking around at the octave build on Leopard (bug 13686), and > I'm suspicious that g++-mp-4.2 is generating bad executables. > > The first snipped below is a simple program that fails in the same way > that "munge-texi" fails in the octave build. It's simply populating a > std::map from a file with key=value pairs. Save this as "bug.cc", > them compile with: > > /opt/local/bin/g++-mp-4.2 -g -o bug bug.cc > > and then give it a whirl... > > madchenwagen:/tmp$ ./bug > foo=bar > baz=bop > bim=bam > Segmentation fault > madchenwagen:/tmp$ The latest gcc43 [gcc-4.3-20080306] doesn't seem to have this problem. agn% /opt/local/bin/g++-mp-4.3 -g -o bug bug.cc agn% ./bug foo=bar baz=bop bim=bam foo=bar ^C From frstan at bellsouth.net Sat Mar 8 07:14:26 2008 From: frstan at bellsouth.net (William Davis) Date: Sat, 8 Mar 2008 10:14:26 -0500 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> <47D252DE.6000707@macports.org> Message-ID: On Mar 8, 2008, at 4:30 AM, Ryan Schmidt wrote: > On Mar 8, 2008, at 02:48, Rainer M?ller wrote: > >> paul beard wrote: >> >>> That seems really cumbersome. If it is necessary, any way that the >>> MacPorts team could whip up a script to migrate ports to a new OS >>> release? >> >> The easiest way would be if `port upgrade' removes the installed >> platform variant and replaces it with the current one. Or will that >> have >> any other consequences? > > That would be an improvement. > sudo port -u upgrade foo does exactly that doesnt it? William Davis frstanATbellsouthDOTnet Mac OS X.5.2 Darwin 9.2.0 XQuartz 2.1.4 - (xorg-server 1.3.0-apple10) Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non From raimue at macports.org Sat Mar 8 07:21:25 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sat, 08 Mar 2008 16:21:25 +0100 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> <47D252DE.6000707@macports.org> Message-ID: <47D2AEF5.3050302@macports.org> William Davis wrote: >>> The easiest way would be if `port upgrade' removes the installed >>> platform variant and replaces it with the current one. Or will that >>> have >>> any other consequences? >> >> That would be an improvement. >> > > sudo port -u upgrade foo > > does exactly that doesnt it? No. It tries to reinstall the same variant set as installed. So if +darwin_8 was chosen automatically on the initial install, upgrade chooses +darwin_8 again, even if you are now on darwin_9. Rainer From raimue at macports.org Sat Mar 8 11:33:45 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sat, 08 Mar 2008 20:33:45 +0100 Subject: where did GVim.app go? In-Reply-To: <886162CE-0F5C-42AA-9E58-C427F304AD44@macports.org> References: <47D02CB7.70007@duke.edu> <47D02ED3.9040001@macports.org> <886162CE-0F5C-42AA-9E58-C427F304AD44@macports.org> Message-ID: <47D2EA19.2010000@macports.org> Ryan Schmidt wrote: > Shouldn't the existing PowerPC binary work on Intel Macs through > Rosetta? It kept crashing for me as I tried it. So I decided to disable it. > "sudo port install graphviz +gui" installs a PowerPC app even on > Intels. No problem. Even if it works, I think we should stop shipping binaries in MacPorts. After all, this is a source distribution. Rainer From ms at mac-specialist.com Sat Mar 8 19:48:40 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Sat, 08 Mar 2008 21:48:40 -0600 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> Message-ID: On Mar 8, 2008, at 1:35 AM, paul beard wrote: > and as a hint, if you install BBedit's command line tools, you can > simply type "edit " instead of all that other stuff. Or use > TextWrangler, for those who are short of coin. It has the same > facility. I included two very handy scripts for Leopard at the bottom, if you don't like them, please ignore them. "edit " didn't work for me using a shell worksheet port installed > ~/installed_ports.txt edit ~/installed_ports.txt -bash: line 4: edit: command not found instead of using : open -a /Applications/BBEdit.app ~/installed_ports.txt I should have used an existing shell script # shell script : bh_open # ------------------------------------------------ #!/bin/bash if [ -a /Applications/BBEdit.app ]; then open -a /Applications/BBEdit.app $1 elif [ -a ~/Applications/BBEdit.app ]; then open -a ~/Applications/BBEdit.app $1 else open -a /Applications/TextEdit.app $1 fi # ------------------------------------------------ and just call it from the Terminal : bh_open ~/installed_ports.txt The following ports are currently installed: apache2 @2.2.4_1 (active) apr @1.2.9_0 (active) apr-util @1.2.8_2 (active) bison @2.3_0 (active) bzip2 @1.0.4_1 (active) curl @7.16.4_0+darwin_8 (active) cyrus-sasl2 @2.1.21_0+kerberos (active) db44 @4.4.20_1+darwin_8 (active) expat @2.0.1_0 (active) fontconfig @2.4.2_0+macosx (active) freetype @2.3.5_0 (active) gd2 @2.0.35_0 (active) gettext @0.16.1_0 (active) jpeg @6b_2 (active) libiconv @1.11_4+darwin_8 (active) libmcrypt @2.5.8_0+darwin_8 (active) libpng @1.2.18_0+darwin_8 (active) libtool @1.5.24_0 (active) libxml2 @2.6.28_1 (active) libxslt @1.1.20_0 (active) m4 @1.4.9_0 (active) mhash @0.9.9_0+darwin_8 (active) mysql5 @5.0.45_0+darwin_8+server (active) ncurses @5.6_0+darwin_8 (active) ncursesw @5.6_0+darwin_8 (active) openldap @2.3.35_0 (active) openssl @0.9.8e_0+darwin_8 (active) pcre @7.2_0+utf8 (active) perl5.8 @5.8.8_0+darwin_8 (active) php5 @5.2.3_0+apache2+darwin_8+fastcgi+ipc+macosx+mysql5+pcntl+pear +postgresql+sqlite+tidy (active) pkgconfig @0.22_0 (active) postgresql82 @8.2.4_0+darwin_8 (active) postgresql82-server @8.2.4_0 (active) readline @5.2.001_0 (active) rpl @1.4.0_0 (active) sqlite3 @3.4.2_0+darwin_8 (active) tidy @20051026_0+darwin_8 (active) tiff @3.8.2_0+darwin_8 (active) zlib @1.2.3_1 (active) Even though this did not launch Apache : 2008.07.03](01:59PM) -> [username] ~ $ sudo launchctl load -w /Library/ LaunchDaemons/org.macports.apache2.plist Password: launchctl: Dubious ownership on file (skipping): /Library/ LaunchDaemons/org.macports.apache2.plist nothing found to load --> And that didn't work so well, so I tried : [2008.07.03](02:07PM) -> [username] ~ $ sudo /opt/local/apache2/bin/ apachectl -k start Password: /opt/local/apache2/bin/apachectl: line 70: ulimit: open files: cannot modify limit: Invalid argument Even though there was an error on line 70, it launched Apache and php seemed to be working fine, I am sure you are absolutely correct, and at some point I will begin having problems, so you are right, I will bite the bullet and delete the /opt directory, and start over again. Thanks very much to all who responded. There were a few of things I did not like about Leopard : ( 1 ) Blue/White background stripes in the Finder window (fixed in script finder_utility.scpt) ( 2 ) Translucent Menu Bar (fixed in script finder_utility.scpt) ( 3 ) Borderless Windows ( 4 ) Inability to close the Sidebar without closing the Toolbar (fixed in script stack_windows.scpt) ( 5 ) Lost hierarchical menus on {folders. disks} on the Dock (fixed in OS X upgrade 10.5.2) I know I will probably be criticized for posting these but they have turned out very helpful for me, and hopefully they will help someone else on the board. The problem with the sidebar causes the windows to take up too much room, causing a lot of clutter if you are working with several open windows. The second script somewhat addresses the problem. I hope this doesn't make anyone angry that I contributed these, even though it is not the right board... This script takes care of items ( 1 ) and ( 2 ) -- +---------+---------+---------+---------+---------+--------- +---------+---------+ on bh_a_script_title() (* Author : Bill Hernandez ProjectNo : 407 ProjectName : finder_utility (Leopard) FileName : finder_utility.scpt FilePath : ~/user_scripts/user/projects/finder/finder_utility.scpt Version : 1.0.0 VersionDate : [ 2008_03_08 ] Standardized : [ 2008_03_08 ] Created : 3/8/08 ( 9:14 PM ) Updated : Saturday, March 8, 2008 ( 9:15 PM ) *) end bh_a_script_title -- +---------+---------+---------+---------+---------+--------- +---------+---------+---------+---------+ property user_name : "" -- +---------+---------+---------+---------+---------+--------- +---------+---------+---------+---------+ on run set aList to {} copy "( 1 ) Show Stripes in List View ?" to the end of aList copy "( 2 ) Make the menu bar solid white, or solid gray, instead of translucent ?" to the end of aList set aDefault to item 2 of aList set aResult to choose from list aList default items aDefault if (aResult is not equal to false) then set which_choice to item 1 of aResult end if if which_choice is (item 1 of aList) then toggle_list_view_stripes() else if which_choice is (item 2 of aList) then toggle_menubar_background() end if end run -- +---------+---------+---------+---------+---------+--------- +---------+---------+---------+---------+ on toggle_list_view_stripes() set user_pwd to "" set b1 to "Cancel" set b2 to "Show Stripes" set b3 to "Don't Show Stripes" try set aResult to display dialog "OS X - Leopard" & return & "Show Stripes in List View ?" buttons {b1, b2, b3} default button {b3} on error -- DO NOTHING, USER CANCELLED end try set which_choice to button returned of aResult if which_choice is b3 then do shell script "defaults write com.apple.finder FXListViewStripes - bool FALSE; killall Finder" else do shell script "defaults write com.apple.finder FXListViewStripes - bool TRUE; killall Finder" end if end toggle_list_view_stripes -- +---------+---------+---------+---------+---------+--------- +---------+---------+---------+---------+ on toggle_menubar_background() set user_pwd to "" set aList to {} copy "( 1 ) Make the menu bar solid white ?" to the end of aList copy "( 2 ) Make the menu bar solid gray ?" to the end of aList copy "( 3 ) Make the menu translucent ?" to the end of aList set aDefault to item 1 of aList set aResult to choose from list aList default items aDefault if (aResult is not equal to false) then set which_choice to item 1 of aResult end if try set the_result to display dialog "Please enter your short login name ?" default answer user_name set user_name to text returned of the_result as string try set the_result to display dialog "Please enter your admin password ?" default answer user_pwd with hidden answer set user_pwd to text returned of the_result as string on error set user_pwd to "" end try on error set user_name to "" end try if ((user_name is not equal to "") and (user_name is not equal to "") as string) then if which_choice is (item 1 of aList) then --> White Menubar BackGround set RunCmd to "sudo defaults write /System/Library/LaunchDaemons/ com.apple.WindowServer 'EnvironmentVariables' -dict-add 'CI_NO_BACKGROUND_IMAGE' 1" else if which_choice is (item 2 of aList) then --> Gray Menubar BackGround set RunCmd to "sudo defaults write /System/Library/LaunchDaemons/ com.apple.WindowServer 'EnvironmentVariables' -dict-add 'CI_NO_BACKGROUND_IMAGE' 0" else --> Translucent Menubar BackGround set RunCmd to "sudo defaults delete /System/Library/LaunchDaemons/ com.apple.WindowServer 'EnvironmentVariables'" end if try do shell script RunCmd user name user_name password user_pwd with administrator privileges display dialog "You need to restart the computer for the change in the MenuBar background color to take effect..." on error display dialog "There was an error setting the MenuBar background color..." end try end if end toggle_menubar_background -- +---------+---------+---------+---------+---------+--------- +---------+---------+---------+---------+ This script takes care of items ( 1 ) and ( 2 ) -- +---------+---------+---------+---------+---------+--------- +---------+---------+ on bh_a_script_title() (* Author : Bill Hernandez ProjectNo : 408 ProjectName : stack_windows (Leopard) FileName : stack_windows.scpt FilePath : ~/user_scripts/user/projects/finder/stack_windows.scpt Version : 1.0.0 VersionDate : [ 2008_03_08 ] Standardized : [ 2008_03_08 ] Created : 3/6/08 ( 9:06 AM ) Updated : Saturday, March 8, 2008 ( 9:34 PM ) Note : Assign a Quickey to launch this script anytime the desktop get cluttered *) end bh_a_script_title -- +---------+---------+---------+---------+---------+--------- +---------+---------+ on run tell application "Finder" set windows_per_row to 4 set max_window_width to 330 set show_toobar to false if (show_toobar) then set w_header_height to 80 else set w_header_height to 24 end if set menubar_height to 46 set dock_height to 60 set left_spacer to 20 set right_spacer to 80 set col_spacer to 4 set screen_bounds to bounds of window of desktop set screen_width to item 3 of screen_bounds set screen_height to item 4 of screen_bounds set aWindows to get every window set no_of_windows to count of aWindows set no_of_rows to no_of_windows / windows_per_row set nor_mod to (no_of_rows mod windows_per_row) mod 1 set no_of_rows to no_of_windows div windows_per_row if (nor_mod > 0) then set no_of_rows to no_of_rows + 1 end if set w_height to (screen_height - menubar_height - dock_height) - (w_header_height * no_of_rows) as integer set w_width to ((screen_width - left_spacer - right_spacer) / windows_per_row) as integer if (w_width > max_window_width) then set w_width to max_window_width end if set col_no to 0 set row_no to 0 repeat with w_ref in aWindows set col_no to col_no + 1 if (col_no > windows_per_row) then set col_no to 1 set row_no to row_no + 1 end if set w_left to left_spacer + ((col_no - 1) * w_width) set w_top to (menubar_height + (row_no * w_header_height)) set w_right to w_left + w_width - col_spacer set w_bottom to w_top + w_height set w_props to properties of w_ref -- set sidebar width of w_ref to 0 set properties of w_ref to {sidebar width:0} -- DOES NOT WORK EITHER set properties of w_ref to {toolbar visible:show_toobar} -- ALL THREE OF THESE COULD BE JOINED TOGETHER set properties of w_ref to {current view:list view} set properties of w_ref to {bounds:{w_left, w_top, w_right, w_bottom}} select w_ref set x to col_no end repeat end tell end run -- +---------+---------+---------+---------+---------+--------- +---------+---------+ Bill Hernandez ms at mac-specialist.com From jkh at apple.com Sat Mar 8 21:01:45 2008 From: jkh at apple.com (Jordan K. Hubbard) Date: Sat, 8 Mar 2008 21:01:45 -0800 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> Message-ID: <1E0A2169-5898-47E8-8DFF-07B9A7725199@apple.com> On Mar 8, 2008, at 7:48 PM, Bill Hernandez wrote: > There were a few of things I did not like about Leopard : > > ( 2 ) Translucent Menu Bar (fixed in script finder_utility.scpt) You don't need a script. You just need to update to 10.5.2 and use the Desktop preference pane. Since emacs is also the only editor anyone could ever need, I don't understand the need for the other scripts.. :-) - Jordan From ajmas at sympatico.ca Sat Mar 8 22:19:10 2008 From: ajmas at sympatico.ca (Andre-John Mas) Date: Sun, 9 Mar 2008 01:19:10 -0500 Subject: id3v2 fails to build Message-ID: <3C17EEDA-31A7-42FD-A44D-A89CF04881BE@sympatico.ca> Hi, I am attempted to build id3v3 on MacOS X 10.5.2 and rans into some issues: sudo port install id3v2 ---> Fetching id3lib ---> Attempting to fetch id3lib-3.8.3.tar.gz from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ ---> Verifying checksum(s) for id3lib ---> Extracting id3lib ---> Configuring id3lib ---> Building id3lib with target all ---> Staging id3lib into destroot ---> Installing id3lib 3.8.3_0 ---> Activating id3lib 3.8.3_0 ---> Cleaning id3lib ---> Fetching id3v2 ---> Attempting to fetch id3v2-0.1.11.tar.gz from http://downloads.sourceforge.net/id3v2 ---> Verifying checksum(s) for id3v2 ---> Extracting id3v2 ---> Configuring id3v2 ---> Building id3v2 with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_audio_id3v2/work/id3v2-0.1.11" && make all " returned error 2 Command output: I/opt/local/include/ -DVERSION="\"0.1.11\"" -c -o convert.o convert.cpp /bin/sh: I/opt/local/include/: No such file or directory make: [convert.o] Error 127 (ignored) I/opt/local/include/ -DVERSION="\"0.1.11\"" -c -o list.o list.cpp /bin/sh: I/opt/local/include/: No such file or directory make: [list.o] Error 127 (ignored) I/opt/local/include/ -DVERSION="\"0.1.11\"" -c -o id3v2.o id3v2.cpp /bin/sh: I/opt/local/include/: No such file or directory make: [id3v2.o] Error 127 (ignored) I/opt/local/include/ -DVERSION="\"0.1.11\"" -c -o genre.o genre.cpp /bin/sh: I/opt/local/include/: No such file or directory make: [genre.o] Error 127 (ignored) c++ -L/opt/local/lib/ -pedantic -Wall -lz -lid3 -g -o id3v2 convert.o list.o id3v2.o genre.o i686-apple-darwin9-g++-4.0.1: convert.o: No such file or directory i686-apple-darwin9-g++-4.0.1: list.o: No such file or directory i686-apple-darwin9-g++-4.0.1: id3v2.o: No such file or directory i686-apple-darwin9-g++-4.0.1: genre.o: No such file or directory make: *** [id3v2] Error 1 From cs at zip.com.au Sat Mar 8 22:23:29 2008 From: cs at zip.com.au (Cameron Simpson) Date: Sun, 9 Mar 2008 17:23:29 +1100 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: Message-ID: <20080309062329.GA13442@janus> On 08Mar2008 21:48, Bill Hernandez wrote: [...snip...] | I should have used an existing shell script | | # shell script : bh_open | # ------------------------------------------------ | #!/bin/bash | | if [ -a /Applications/BBEdit.app ]; then | open -a /Applications/BBEdit.app $1 | elif [ -a ~/Applications/BBEdit.app ]; then | open -a ~/Applications/BBEdit.app $1 | else | open -a /Applications/TextEdit.app $1 | fi | # ------------------------------------------------ [...snip...] Surely this does not work? "-a" is "and". Do you mean "-f" or "-x" perhaps? Personally I'd have just looped over the choices. And you should really quote the $1, otherwise a filename with spaces in it will bite you one day: #!/bin/sh for app in /Applications/BBEdit.app \ $HOME/Applications/BBEdit.app \ /Applications/TextEdit.app do [ -x "$app" ] && exec open -a "$app" "$1" done echo "$0: can't find something with which to open $1" >&2 exit 1 Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Everybody talks about the weather, but does anybody *do* anything about it? - perry at dsinc.com (Jim Perry) From ms at mac-specialist.com Sat Mar 8 23:51:47 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Sun, 09 Mar 2008 01:51:47 -0600 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: <1E0A2169-5898-47E8-8DFF-07B9A7725199@apple.com> References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> <1E0A2169-5898-47E8-8DFF-07B9A7725199@apple.com> Message-ID: <6A872719-D8BA-4D77-B05C-86DA5BFE43A9@mac-specialist.com> On Mar 8, 2008, at 11:01 PM, Jordan K. Hubbard wrote: > You don't need a script. You just need to update to 10.5.2 and use > the Desktop preference pane. Thanks, I couldn't find any info on how to fix the problem. It's ok anyway, with the script there are three choices, {white, gray, translucent} > Since emacs is also the only editor anyone could ever need, I don't > understand the need for the other scripts.. :-) I used emacs until I discovered BBEdit, and emacs became but page in history... BTW : ( 1 ) have any idea what preference I need to set to get the window borders back ? I hate border-less windows... ( 2 ) what can be done to set the {sidebar width : 0} without having to hide (losing) the Toolbar ? I like having the toolbar, but I hate being forced to have the sidebar open. When you have several windows (12-15) open, especially if you are trying to compare them side by side, having the sidebar open forces the window to be inconveniently larger. People get used to working a certain way for several years, then someone arbitrarily decides that after years of having a particular option available to the user, they are just not going to let them have it anymore. What skin is it off the programmer's nose if I want to close the sidebar, to me it's a nuisance. A bully approach, wouldn't you say ? I think major changes in the way one works should be handled as a preference. The computer is supposed to be a tool to help us, and removing backward compatibility is just wrong, especially in something like the sidebar which does not affect the operating system, but certainly affects the way I work... I am sure as they sat around the table while trying to decide what features to include in Leopard, someone decided that "The user is too stupid to come out of the rain, so we'll protect them from themselves, and prevent them from closing the sidebar. That will improve the user experience !" You can tell I hate to be bullied ! Bill Hernandez ms at mac-specialist.com From paulbeard at gmail.com Sat Mar 8 23:54:08 2008 From: paulbeard at gmail.com (paul beard) Date: Sat, 8 Mar 2008 23:54:08 -0800 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> Message-ID: On Sat, Mar 8, 2008 at 7:48 PM, Bill Hernandez wrote: > On Mar 8, 2008, at 1:35 AM, paul beard wrote: > > > and as a hint, if you install BBedit's command line tools, you can > > simply type "edit " instead of all that other stuff. Or use > > TextWrangler, for those who are short of coin. It has the same > > facility. > > > I included two very handy scripts for Leopard at the bottom, if you > don't like them, please ignore them. > > "edit " didn't work for me using a shell worksheet > > port installed > ~/installed_ports.txt > edit ~/installed_ports.txt > -bash: line 4: edit: command not found > Did you install the command line tools when you installed BBEdit or TextWrangler? [/Users/paul]:: edit -h Usage: edit [-bcehlpuvVw] [+] ... + -b, --background --clean -c, --create -e, --encoding -h, --help -l, --launch -p, --print --resume -t, --pipe-title -u, --create-unix -v, --version --view-top -V, --short-version -w, --wait --front-window --new-window --separate-windows emacs is all very well if you learned it when you were of young and supple mind, but I am older than jkh and never did master emacs when I had the chance. -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080308/62bb60b3/attachment.html From ms at mac-specialist.com Sat Mar 8 23:56:00 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Sun, 09 Mar 2008 01:56:00 -0600 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: <1E0A2169-5898-47E8-8DFF-07B9A7725199@apple.com> References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> <1E0A2169-5898-47E8-8DFF-07B9A7725199@apple.com> Message-ID: On Mar 8, 2008, at 11:01 PM, Jordan K. Hubbard wrote: > Since emacs is also the only editor anyone could ever need, I don't > understand the need for the other scripts.. :-) This is what I meant to say : I used emacs until I discovered BBEdit, then emacs became but a faint page in history... Bill Hernandez ms at mac-specialist.com _______________________________________________ macports-users mailing list macports-users at lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From ms at mac-specialist.com Sun Mar 9 00:07:23 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Sun, 09 Mar 2008 03:07:23 -0500 Subject: Upgrade to Leopard mostly smooth, but has small glitch In-Reply-To: References: <87EE4872-0C12-4F21-B47E-D7E89A76CCC2@mac-specialist.com> <9FAB254A-1A46-41E2-8331-FE00152F0B5F@macports.org> Message-ID: On Mar 9, 2008, at 1:54 AM, paul beard wrote: > Did you install the command line tools when you installed BBEdit or > TextWrangler? > I did, but in the past when I've installed a new major version of the OS, I've reformatted the drive and installed all the latest versions of the applications. For some reason this time, the installer didn't ask me if I wanted to archive the old OS, it appears to have installed right over Tiger. This made me think that perhaps the changes to the core OS, other than the interface were probably not that significant, and that is why I tried to run apache without having to install all new ports. What Ryan said makes sense about the Darwin 9 stuff, so tomorrow I will delete the /opt directory and start over. I've got a shell script that installs everything for me, moves files around, creates aliases, and does some other things, and this will give me an opportunity to fine tune the small items that need refining. I will try to re-install the command line tools Bill Hernandez ms at mac-specialist.com From stephen.ng at planetnutek.com Sun Mar 9 01:49:19 2008 From: stephen.ng at planetnutek.com (Stephen Ng) Date: Sun, 9 Mar 2008 17:49:19 +0800 Subject: Cannot fetch SDL_mixer-1.2.8.tar.gz Message-ID: <98824A4C-F6E2-4BC0-B1C0-12DEE71511ED@planetnutek.com> Hi, Tried installing wxWidgets and received the following - ---> Attempting to fetch SDL_mixer-1.2.8.tar.gz from http://www.libsdl.org/projects/SDL_mixer/release/ ---> Attempting to fetch SDL_mixer-1.2.8.tar.gz from http://svn.macports.org/repository/macports/distfiles/libsdl_mixer ---> Attempting to fetch SDL_mixer-1.2.8.tar.gz from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch SDL_mixer-1.2.8.tar.gz from http://svn.macports.org/repository/macports/downloads/libsdl_mixer Error: Target org.macports.fetch returned: fetch failed Error: The following dependencies failed to build: libsdl_mixer Error: Status 1 encountered during processing. Seems all repositories have same problem. Can someone shed some light on this? Regards. Stephen From ryandesign at macports.org Sun Mar 9 03:02:12 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 9 Mar 2008 05:02:12 -0500 Subject: where did GVim.app go? In-Reply-To: <47D2EA19.2010000@macports.org> References: <47D02CB7.70007@duke.edu> <47D02ED3.9040001@macports.org> <886162CE-0F5C-42AA-9E58-C427F304AD44@macports.org> <47D2EA19.2010000@macports.org> Message-ID: <284511EF-A0E3-40A9-88C0-A5AEE5D999AC@macports.org> On Mar 8, 2008, at 13:33, Rainer M?ller wrote: > Ryan Schmidt wrote: > >> Shouldn't the existing PowerPC binary work on Intel Macs through >> Rosetta? > > It kept crashing for me as I tried it. So I decided to disable it. Gotcha. >> "sudo port install graphviz +gui" installs a PowerPC app even on >> Intels. No problem. > > Even if it works, I think we should stop shipping binaries in > MacPorts. > After all, this is a source distribution. Well, when source is not available, or its compilation is problematic, binaries are our only hope to get the software into MacPorts. Examples: graphviz +gui is difficult to compile; a new gui is being written which will hopefully compile easier, but it's Leopard-only blender compilation is complicated oracle-instantclient has no source available isightcapture has no source available minivmac is stuck at 2.8.2 because compiling 3.0 and later requires running a program within minivmac.... so we either bootstrap with a binary or just install the binary and be done with it I'm sure there are other examples. From ryandesign at macports.org Sun Mar 9 03:04:20 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 9 Mar 2008 05:04:20 -0500 Subject: Cannot fetch SDL_mixer-1.2.8.tar.gz In-Reply-To: <98824A4C-F6E2-4BC0-B1C0-12DEE71511ED@planetnutek.com> References: <98824A4C-F6E2-4BC0-B1C0-12DEE71511ED@planetnutek.com> Message-ID: On Mar 9, 2008, at 04:49, Stephen Ng wrote: > Tried installing wxWidgets and received the following - > > ---> Attempting to fetch SDL_mixer-1.2.8.tar.gz from http:// > www.libsdl.org/projects/SDL_mixer/release/ > ---> Attempting to fetch SDL_mixer-1.2.8.tar.gz from http:// > svn.macports.org/repository/macports/distfiles/libsdl_mixer > ---> Attempting to fetch SDL_mixer-1.2.8.tar.gz from http:// > svn.macports.org/repository/macports/distfiles/general/ > ---> Attempting to fetch SDL_mixer-1.2.8.tar.gz from http:// > svn.macports.org/repository/macports/downloads/libsdl_mixer > Error: Target org.macports.fetch returned: fetch failed > Error: The following dependencies failed to build: libsdl_mixer > Error: Status 1 encountered during processing. > > Seems all repositories have same problem. Can someone shed some light > on this? The only place that file is located is libsdl.org. It works for me. Please try again. From face at CentosPrime.COM Sun Mar 9 07:22:03 2008 From: face at CentosPrime.COM (Chris Janton) Date: Sun, 09 Mar 2008 07:22:03 -0700 Subject: id3v2 fails to build In-Reply-To: <3C17EEDA-31A7-42FD-A44D-A89CF04881BE@sympatico.ca> References: <3C17EEDA-31A7-42FD-A44D-A89CF04881BE@sympatico.ca> Message-ID: <2C5D4583-EF3C-418E-9009-7B58077A9671@centosprime.com> On 2008-03-08 , at 23:19 , Andre-John Mas wrote: > I am attempted to build id3v3 on MacOS X 10.5.2 and rans into some > issues: I received the same error (Intel, Leopard) when attempting to build id3v2. I simply repeated the port command sudo port install id3v2 and it appears to have installed properly. This sequence sudo port install id3lib sudo port install id3v2 does not give the error. My assumption is that the implicit (dependency) install of id3lib isn't quite complete when id3v2 tries to build. ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From scf.code at gmail.com Sun Mar 9 07:55:43 2008 From: scf.code at gmail.com (Stephen Fitch) Date: Sun, 9 Mar 2008 07:55:43 -0700 Subject: ocaml port download fails... Message-ID: Hi, Over several days I've tried to get the ocaml port, via: h$ sudo /opt/local/bin/port install ocaml Password: ---> Fetching ocaml ---> Attempting to fetch ocaml-3.10.1.tar.bz2 from http://caml.inria.fr/pub/distrib/ocaml-3.10/ ---> Attempting to fetch ocaml-3.10.1.tar.bz2 from http://svn.macports.org/repository/macports/distfiles/ocaml ---> Attempting to fetch ocaml-3.10.1.tar.bz2 from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch ocaml-3.10.1.tar.bz2 from http://svn.macports.org/repository/macports/downloads/ocaml Error: Target org.macports.fetch returned: fetch failed Error: Status 1 encountered during processing. -- Checking the first URL in a browser results in a timeout. Seems the INRIA site maybe out of action, but I thought I'd ask the mp team. Stephen From ajmas at sympatico.ca Sun Mar 9 09:38:33 2008 From: ajmas at sympatico.ca (Andre-John Mas) Date: Sun, 9 Mar 2008 12:38:33 -0400 Subject: id3v2 fails to build In-Reply-To: <2C5D4583-EF3C-418E-9009-7B58077A9671@centosprime.com> References: <3C17EEDA-31A7-42FD-A44D-A89CF04881BE@sympatico.ca> <2C5D4583-EF3C-418E-9009-7B58077A9671@centosprime.com> Message-ID: <7024E6E9-4E38-43A9-AFC5-66D30845E004@sympatico.ca> On 9-Mar-08, at 10:22 , Chris Janton wrote: > On 2008-03-08 , at 23:19 , Andre-John Mas wrote: > >> I am attempted to build id3v3 on MacOS X 10.5.2 and rans into some >> issues: > > > I received the same error (Intel, Leopard) when attempting to build > id3v2. > > I simply repeated the port command > sudo port install id3v2 > and it appears to have installed properly. > > This sequence > > sudo port install id3lib > sudo port install id3v2 > > does not give the error. My assumption is that the implicit > (dependency) install of id3lib isn't quite complete when id3v2 tries > to build. Tried again and this appears to be the case. Thanks Andre From d.l.tDeContes at free.fr Sun Mar 9 16:47:10 2008 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Mon, 10 Mar 2008 00:47:10 +0100 Subject: twinkle Message-ID: <723DE98C-E936-447A-AE92-8E3EDB29C113@free.fr> hi :-) is there a port for twinkle ? http://www.twinklephone.com/ if not, is there someone who would accept to make it, please ? :-) -- j'agis contre l'assistanat, je travaille dans une SCOP ! From d.l.tDeContes at free.fr Sun Mar 9 17:08:41 2008 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Mon, 10 Mar 2008 01:08:41 +0100 Subject: error during installation of macport Message-ID: <27A234AB-EB07-4D6A-A04E-BB595B274FFC@free.fr> hi :-) i have a script to install macport which makes : rsync -azv rsync://rsync.macports.org/release/base/ my-directory cd my-directory ./configure --prefix=my-directory --with-install-user=`id -un` --with- install-group=`id -gn` make it ends with : cc -dynamiclib -L/usr/local/lib Pextlib.o strsed.o fgetln.o md5cmd.o setmode.o xinstall.o fs-traverse.o strcasecmp.o vercomp.o filemap.o sha1cmd.o compat.o curl.o rmd160cmd.o readline.o uid.o tracelib.o -o Pextlib.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.4 -ltclstub8.4 -L/usr/local/lib -L/Users/thomas/Documents/prgm/bin/ autoinstall/macports/lib -lcurl -L/Users/thomas/Documents/prgm/bin/ autoinstall/macports/lib -L/Users/thomas/Documents/prgm/bin/ autoinstall/macports/lib -lz -lcrypto ld: Undefined symbols: _add_history _completion_matches _filename_completion_function _read_history _readline _rl_attempted_completion_function _rl_line_buffer _rl_readline_name _stifle_history _unstifle_history _username_completion_function _using_history _write_history /usr/bin/libtool: internal link edit command failed make[2]: *** [Pextlib.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 what's wrong ? -- j'agis contre l'assistanat, je travaille dans une SCOP ! From d.l.tDeContes at free.fr Sun Mar 9 17:12:14 2008 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Mon, 10 Mar 2008 01:12:14 +0100 Subject: error during installation of macport In-Reply-To: <27A234AB-EB07-4D6A-A04E-BB595B274FFC@free.fr> References: <27A234AB-EB07-4D6A-A04E-BB595B274FFC@free.fr> Message-ID: Le 10 mars 08 ? 01:08, Thomas De Contes a ?crit : > hi :-) > > > i have a script to install macport which makes : > > rsync -azv rsync://rsync.macports.org/release/base/ my-directory > cd my-directory > ./configure --prefix=my-directory --with-install-user=`id -un` --with- > install-group=`id -gn` > make > > > it ends with : > > cc -dynamiclib -L/usr/local/lib Pextlib.o strsed.o fgetln.o md5cmd.o > setmode.o xinstall.o fs-traverse.o strcasecmp.o vercomp.o filemap.o > sha1cmd.o compat.o curl.o rmd160cmd.o readline.o uid.o tracelib.o -o > Pextlib.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.4 > -ltclstub8.4 -L/usr/local/lib -L/Users/thomas/Documents/prgm/bin/ > autoinstall/macports/lib -lcurl -L/Users/thomas/Documents/prgm/bin/ > autoinstall/macports/lib -L/Users/thomas/Documents/prgm/bin/ > autoinstall/macports/lib -lz -lcrypto > ld: Undefined symbols: > _add_history > _completion_matches > _filename_completion_function > _read_history > _readline > _rl_attempted_completion_function > _rl_line_buffer > _rl_readline_name > _stifle_history > _unstifle_history > _username_completion_function > _using_history > _write_history > /usr/bin/libtool: internal link edit command failed > make[2]: *** [Pextlib.dylib] Error 1 > make[1]: *** [all] Error 1 > make: *** [all] Error 1 sorry, i forgot to give some infos : PPC mac os x 10.4.11 what do you need else ? > what's wrong ? -- j'agis contre l'assistanat, je travaille dans une SCOP ! From ram at macports.org Sun Mar 9 17:14:27 2008 From: ram at macports.org (Adam Mercer) Date: Sun, 9 Mar 2008 20:14:27 -0400 Subject: twinkle In-Reply-To: <723DE98C-E936-447A-AE92-8E3EDB29C113@free.fr> References: <723DE98C-E936-447A-AE92-8E3EDB29C113@free.fr> Message-ID: <799406d60803091714j5461a37du6f881ec54b25ee39@mail.gmail.com> On Sun, Mar 9, 2008 at 7:47 PM, Thomas De Contes wrote: > is there a port for twinkle ? > http://www.twinklephone.com/ > > if not, is there someone who would accept to make it, please ? :-) Doesn't look like it: $ port search twinkle No match for twinkle found $ best thing to do is file a Port Request ticket at http://trac.macports.org Cheers Adam From ram at macports.org Sun Mar 9 17:17:33 2008 From: ram at macports.org (Adam Mercer) Date: Sun, 9 Mar 2008 20:17:33 -0400 Subject: error during installation of macport In-Reply-To: <27A234AB-EB07-4D6A-A04E-BB595B274FFC@free.fr> References: <27A234AB-EB07-4D6A-A04E-BB595B274FFC@free.fr> Message-ID: <799406d60803091717sd24a06nb514b7383c809780@mail.gmail.com> On Sun, Mar 9, 2008 at 8:08 PM, Thomas De Contes wrote: > cc -dynamiclib -L/usr/local/lib Pextlib.o strsed.o fgetln.o md5cmd.o > setmode.o xinstall.o fs-traverse.o strcasecmp.o vercomp.o filemap.o > sha1cmd.o compat.o curl.o rmd160cmd.o readline.o uid.o tracelib.o -o > Pextlib.dylib -L/System/Library/Frameworks/Tcl.framework/Versions/8.4 > -ltclstub8.4 -L/usr/local/lib -L/Users/thomas/Documents/prgm/bin/ > autoinstall/macports/lib -lcurl -L/Users/thomas/Documents/prgm/bin/ > autoinstall/macports/lib -L/Users/thomas/Documents/prgm/bin/ > autoinstall/macports/lib -lz -lcrypto > ld: Undefined symbols: > _add_history > _completion_matches > _filename_completion_function > _read_history > _readline > _rl_attempted_completion_function > _rl_line_buffer > _rl_readline_name > _stifle_history > _unstifle_history > _username_completion_function > _using_history > _write_history > /usr/bin/libtool: internal link edit command failed > make[2]: *** [Pextlib.dylib] Error 1 > make[1]: *** [all] Error 1 > make: *** [all] Error 1 > > > what's wrong ? Looks like a readline issue, do you happen to have a local readline installed in /usr/local or somewhere else? Try adding --enable-readline to the configure call. Cheers Adam From raimue at macports.org Sun Mar 9 17:20:38 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 10 Mar 2008 01:20:38 +0100 Subject: twinkle In-Reply-To: <723DE98C-E936-447A-AE92-8E3EDB29C113@free.fr> References: <723DE98C-E936-447A-AE92-8E3EDB29C113@free.fr> Message-ID: <47D47ED6.9040701@macports.org> Thomas De Contes wrote: > is there a port for twinkle ? > http://www.twinklephone.com/ The first thing I saw on this site is: "Twinkle is available for Linux only". Whatever that means. At least it is available in FreeBSD, too. This makes it likely that it can also be compiled on Mac OS X. Follow Adam's advice and open a Trac ticket for it. Rainer From raimue at macports.org Sun Mar 9 18:08:21 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 10 Mar 2008 02:08:21 +0100 Subject: Maintainer away tracking Message-ID: <47D48A05.2080301@macports.org> Hi, It happens from time to time that some maintainer is busy with work or school, has to move, is on vacation or attends some other event which prevents him from taking action on new tickets. So I want to setup a new wiki page (like MaintainerAway) where anybody can add himself with a small explanation how long he is going to be away and maybe also why. If someone adds himself onto this wiki page all of his/her ports will be treated like if they have openmaintainer on them, so anybody can commit updates without explicit permission. This should be taken like a temporarily openmaintainer status. Or the maintainer could also add someone else who should take care of his/her ports for this time. The main advantage would be that the 72h delay does not have to pass as the maintainer will not answer anyway. The wiki page could look like this (with a proper table, of course): maintainer1 at example.org | 2008-04-01 to 2008-04-10 | On vacation, please ask foobar@ maintainer2 at example.org | 2008-03-14 to 2008-04-01 | Exams Of course this would also need to be documented in our guide. Any comments appreciated. Do you think this would be an improvement to our infrastructure? Rainer PS: I am writing to both lists as I think this is also an interesting topic for our users. From ryandesign at macports.org Sun Mar 9 20:59:00 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 9 Mar 2008 22:59:00 -0500 Subject: ocaml port download fails... In-Reply-To: References: Message-ID: On Mar 9, 2008, at 09:55, Stephen Fitch wrote: > Over several days I've tried to get the ocaml port, via: > > h$ sudo /opt/local/bin/port install ocaml > Password: > ---> Fetching ocaml > ---> Attempting to fetch ocaml-3.10.1.tar.bz2 from > http://caml.inria.fr/pub/distrib/ocaml-3.10/ > ---> Attempting to fetch ocaml-3.10.1.tar.bz2 from > http://svn.macports.org/repository/macports/distfiles/ocaml > ---> Attempting to fetch ocaml-3.10.1.tar.bz2 from > http://svn.macports.org/repository/macports/distfiles/general/ > ---> Attempting to fetch ocaml-3.10.1.tar.bz2 from > http://svn.macports.org/repository/macports/downloads/ocaml > Error: Target org.macports.fetch returned: fetch failed > Error: Status 1 encountered during processing. > > -- > > Checking the first URL in a browser results in a timeout. Seems the > INRIA site maybe > out of action, but I thought I'd ask the mp team. I agree. http://caml.inria.fr/ appears to be down, as does ftp:// ftp.inria.fr/ . You could try to contact the administrator of that server, if you can find out who that is. In the mean time, you can try to find "ocaml-3.10.1.tar.bz2" elsewhere (try googling it) and manually drop it into /opt/local/var/macports/distfiles/ocaml/ and MacPorts will use it. Side note: 3.10.2 appears to have been released at the end of February so perhaps the port should also be updated. From bcsi at myrealbox.com Mon Mar 10 00:31:31 2008 From: bcsi at myrealbox.com (jayseye) Date: Mon, 10 Mar 2008 00:31:31 -0700 Subject: gtkam - How to request a port? Message-ID: <1205134291.40527e9cbcsi@myrealbox.com> I'd like to request that the gtkam program be ported to MacPorts: http://www.gphoto.org/proj/gtkam/ This is a GTK-based, GUI front-end to libgphoto2 and gphoto2, both of which I've successfully installed under Leopard, using DarwinPorts. I later found that these packages are both available in MacPorts. These programs allow using a wide variety of digital cameras which are otherwise unsupported. Download of gtkam 0.1.14 is available from: http://sourceforge.net/project/showfiles.php?group_id=8874 Is this list the proper venue for the request? Thanks! From ryandesign at macports.org Mon Mar 10 01:09:47 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 10 Mar 2008 03:09:47 -0500 Subject: gtkam - How to request a port? In-Reply-To: <1205134291.40527e9cbcsi@myrealbox.com> References: <1205134291.40527e9cbcsi@myrealbox.com> Message-ID: On Mar 10, 2008, at 02:31, jayseye wrote: > I'd like to request that the gtkam program be ported to MacPorts: > > http://www.gphoto.org/proj/gtkam/ > > This is a GTK-based, GUI front-end to libgphoto2 and gphoto2, both > of which I've successfully installed under Leopard, using > DarwinPorts. I later found that these packages are both available > in MacPorts. Yes... MacPorts used to be called DarwinPorts... > These programs allow using a wide variety of digital cameras which > are otherwise unsupported. > > Download of gtkam 0.1.14 is available from: > > http://sourceforge.net/project/showfiles.php?group_id=8874 > > Is this list the proper venue for the request? You should file a port request ticket in the issue tracker: http://guide.macports.org/#project.tickets The best way to get a port added is to write the port yourself. The guide also explains how to write ports. From bakki.kudva at gmail.com Mon Mar 10 09:34:08 2008 From: bakki.kudva at gmail.com (Bakki Kudva) Date: Mon, 10 Mar 2008 12:34:08 -0400 Subject: rsync: send_files failed to open "ports/www/lws/.Portfile.4JRuUN Message-ID: Hi all, I am running into an error with port selfupdate during rsync of ports tree. I get 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 rsync: send_files failed to open "ports/www/lws/.Portfile.4JRuUN" (in release): Permission denied (13) sent 94 bytes received 322443 bytes 813.46 bytes/sec total size is 17540447 speedup is 54.38 rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-30/rsync/main.c(1161) DEBUG: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync while executing I don't see a ports/www/lws/.Portfile.4JRuUN Is my ports tree hosed? Or can I manually fix it? Thanks for your help, bakki From wsiegrist at apple.com Mon Mar 10 09:55:32 2008 From: wsiegrist at apple.com (William Siegrist) Date: Mon, 10 Mar 2008 09:55:32 -0700 Subject: rsync: send_files failed to open "ports/www/lws/.Portfile.4JRuUN In-Reply-To: References: Message-ID: <68041083-681D-4799-9F14-C4C0F7D3D79C@apple.com> That was just a stray temp file on the server left over from a failed sync. I removed it earlier this morning so you shouldnt get the error anymore. -Bill On Mar 10, 2008, at 9:34 AM, Bakki Kudva wrote: > Hi all, > > I am running into an error with port selfupdate during rsync of > ports tree. > > I get > > 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 > rsync: send_files failed to open "ports/www/lws/.Portfile.4JRuUN" (in > release): Permission denied (13) > > sent 94 bytes received 322443 bytes 813.46 bytes/sec > total size is 17540447 speedup is 54.38 > rsync error: some files could not be transferred (code 23) at > /SourceCache/rsync/rsync-30/rsync/main.c(1161) > DEBUG: Couldn't sync the ports tree: Synchronization the local ports > tree failed doing rsync > while executing > > I don't see a ports/www/lws/.Portfile.4JRuUN > > Is my ports tree hosed? Or can I manually fix it? > > Thanks for your help, > > bakki > _______________________________________________ > 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/20080310/6c4d3c87/attachment.bin From ms at mac-specialist.com Mon Mar 10 11:08:25 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Mon, 10 Mar 2008 13:08:25 -0500 Subject: MacPorts dmg installer hangs up, does not finish ? Message-ID: I am running OS X 10.5.2 on an iMacG5 pentium machine. I just downloaded MacPorts-1.6.0.pkg and tried to install it several times, but it always hangs up with the progress indicator about 3/4 of the way through, and never finishes. I opened the /opt folder and there were a few items in it. "port" was actually there, so I tried using the terminal instead and tried "sudo port -v selfupdate" left it alone for a while but nothing happened, so I finally hit CTRL-C and deleted the /op directory. Any ideas ? Bill Hernandez ms at mac-specialist.com From raimue at macports.org Mon Mar 10 11:17:54 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 10 Mar 2008 19:17:54 +0100 Subject: MacPorts dmg installer hangs up, does not finish ? In-Reply-To: References: Message-ID: <47D57B52.2030800@macports.org> Bill Hernandez wrote: > I am running OS X 10.5.2 on an iMacG5 pentium machine. > > I just downloaded MacPorts-1.6.0.pkg and tried to install it several > times, but it always hangs up with the progress indicator about 3/4 of > the way through, and never finishes. The Installer.app provides a log (Window -> Installer Log), what does it say there? Rainer From ms at mac-specialist.com Mon Mar 10 11:56:03 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Mon, 10 Mar 2008 13:56:03 -0500 Subject: MacPorts dmg installer hangs up, does not finish ? In-Reply-To: <47D57B52.2030800@macports.org> References: <47D57B52.2030800@macports.org> Message-ID: On Mar 10, 2008, at 1:17 PM, Rainer M?ller wrote: > Bill Hernandez wrote: >> I am running OS X 10.5.2 on an iMacG5 pentium machine. >> I just downloaded MacPorts-1.6.0.pkg and tried to install it >> several times, but it always hangs up with the progress indicator >> about 3/4 of the way through, and never finishes. > > The Installer.app provides a log (Window -> Installer Log), what > does it say there? > > Rainer > > This is where it hangs... 1 Mar 10 13:21:09 eagle Installer[287]: Localized installer scripts detected in the MacPorts-1.6.0 package. Switching to compatibility mode. 2 Mar 10 13:21:15 eagle Installer[287]: Localized installer scripts detected in the MacPorts-1.6.0 package. Switching to compatibility mode. 3 Mar 10 13:23:00 eagle Installer[287]: Localized installer scripts detected in the MacPorts-1.6.0 package. Switching to compatibility mode. 4 Mar 10 13:23:00 eagle Installer[287]: Localized installer scripts detected in the MacPorts-1.6.0 package. Switching to compatibility mode. 5 Mar 10 13:23:00 eagle Installer[287]: Localized installer script preflight found in the MacPorts-1.6.0 package. Using compatibility mode. 6 Mar 10 13:23:00 eagle Installer[287]: Localized installer script postflight found in the MacPorts-1.6.0 package. Using compatibility mode. 7 Mar 10 13:23:01 eagle Installer[287]: Localized installer script preflight found in the MacPorts-1.6.0 package. Using compatibility mode. 8 Mar 10 13:23:02 eagle Installer[287]: Localized installer script postflight found in the MacPorts-1.6.0 package. Using compatibility mode. Bill Hernandez ms at mac-specialist.com From ms at mac-specialist.com Mon Mar 10 11:56:43 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Mon, 10 Mar 2008 13:56:43 -0500 Subject: MacPorts dmg installer hangs up, does not finish ? In-Reply-To: <47D57B52.2030800@macports.org> References: <47D57B52.2030800@macports.org> Message-ID: On Mar 10, 2008, at 1:17 PM, Rainer M?ller wrote: > Bill Hernandez wrote: >> I am running OS X 10.5.2 on an iMacG5 pentium machine. >> I just downloaded MacPorts-1.6.0.pkg and tried to install it >> several times, but it always hangs up with the progress indicator >> about 3/4 of the way through, and never finishes. > > The Installer.app provides a log (Window -> Installer Log), what > does it say there? > > Rainer I downloaded the MacPorts-1.6.0.pkg again, and this time it installed after several minutes. After the installer finished I tried : $ sudo port -v selfupdate Password: Synchronizing local ports tree from rsync://rsync.macports.org/release/ ports/ but here the terminal hangs up. (it hasn't done anything for about 10 minutes) Bill Hernandez ms at mac-specialist.com From nb at saltybanana.com Mon Mar 10 14:04:40 2008 From: nb at saltybanana.com (Nathan Brazil) Date: Mon, 10 Mar 2008 14:04:40 -0700 Subject: MySQL5 "launchctl load" Question Message-ID: Hi. I've installed MySQL5 (mysql5 @5.0.51_0+server) on a G4 running 10.4.10. However, when I execute the following command: sudo launchctl load /Library/LaunchDaemons/org.macports.mysql5.plist I get the message "nothing found to load". Anyone know what is going on? From sfiera at macports.org Mon Mar 10 14:11:12 2008 From: sfiera at macports.org (Chris Pickel) Date: Mon, 10 Mar 2008 17:11:12 -0400 Subject: MySQL5 "launchctl load" Question In-Reply-To: References: Message-ID: On 10 Mar, 2008, at 17:04, Nathan Brazil wrote: > Hi. I've installed MySQL5 (mysql5 @5.0.51_0+server) on a G4 running > 10.4.10. > > However, when I execute the following command: > > sudo launchctl load /Library/LaunchDaemons/org.macports.mysql5.plist > > I get the message "nothing found to load". > > Anyone know what is going on? Have you yet enabled the launchd script? The instructions from MacPorts should have instructed you to issue `sudo launchctl load - w ...`, since, by default, launchd scripts are disabled and 'load -w' enables them. I seem to recall the "nothing found to load" error message being reported for scripts with Disabled. Chris From bringit at mac-spezialist.de Mon Mar 10 15:59:38 2008 From: bringit at mac-spezialist.de (Adrian Nier) Date: Mon, 10 Mar 2008 23:59:38 +0100 Subject: Working cyrus-imapd installation but long server check in Mail.app's setup assistant Message-ID: Hello, I have managed to get cyrus-imapd working on Mac OS X 10.5.2 (client) but when I go through Mail.app's account setup assistant, after filling out the fields for the IMAP server, the message ?Checking connection to mail server localhost? takes one minute to go away. Can somebody point out to me what I'm doing wrong here? Here's what gets logged to imapd.log: Mar 10 10:57:11 imap-test-server imap[326]: accepted connection Mar 10 10:57:11 imap-test-server imap[329]: accepted connection Mar 10 10:58:11 imap-test-server imap[326]: accepted connection Mar 10 10:58:11 imap-test-server imap[326]: login: localhost [::1] test CRAM-MD5 User logged in Mar 10 22:59:16 imap-test-server master[26]: process 329 exited, status 0 Mar 10 22:59:28 imap-test-server master[26]: process 326 exited, status 0 And here's what gets logged to auth.log: Mar 10 22:58:11 imap-test-server imap[326]: no user in db Mar 10 22:58:11 imap-test-server imap[326]: no user in db Mar 10 22:58:41: --- last message repeated 1 time --- Here's an account on what I did to get cyrus-imapd running: - Install Mac OS X 10.5.1 from DVD - Upgrade to Mac OS X 10.5.2 using combo package - Install all available updates via Apple's Software Update - Install Xcode 3.0 (not iPhone SDK version) - Install MacPorts 1.6.0 using Installer.app - Create missing .profile file in home directory ### BEGIN FILE .profile export PATH=/opt/local/bin:/opt/local/sbin:$PATH export MANPATH=/opt/local/share/man:$MANPATH ### END FILE .profile - Install cyrus-imapd $ port install cyrus-imapd - Delete cyrus user created by MacPorts installation $ dscl . -delete /Users/cyrus - Add cyrus as RecordName to user _cyrus $ dscl . -append /Users/_cyrus RecordName cyrus - Change the home directory for the cyrus user $ dscl . -change /Users/_cyrus NFSHomeDirectory /var/imap /opt/local/ var/imap - Create cyrus user using saslpasswd2 $ saslpasswd2 -c cyrus - Change owner of sasldb2.db to _cyrus and group to mail $ chown _cyrus:mail /opt/local/etc/sasldb2.db - Change owner of pwcheck to _cyrus and group to mail - chown _cyrus:mail /opt/local/var/pwcheck - chmod 750 /opt/local/var/pwcheck - Add 'local6.debug /var/log/imapd.log' to /etc/syslog.conf - Add 'auth.debug /var/log/auth.log' to /etc/syslog.conf $ pico /etc/syslog.conf - Create impad.log and auth.log $ touch /var/log/imapd.log /var/log/auth.log - Restart syslogd process $ kill -hup `cat /var/run/syslog.pid` - Create file at /opt/local/etc/cyrus/imapd.conf $ pico /opt/local/etc/cyrus/imapd.conf ### BEGIN FILE imapd.conf admins: cyrusimap cyrus _cyrus LOCAL_MACOSX_ADMIN_USER configdirectory: /opt/local/var/imap partition-default: /opt/local/var/spool/imap unixhierarchysep: yes altnamespace: yes lmtp_downcase_rcpt: 1 sendmail: /usr/sbin/sendmail sasl_pwcheck_method: auxprop ### END FILE imapd.conf - Create file at /opt/local/etc/cyrus/imapd.conf $ pico /opt/local/etc/cyrus/cyrus.conf ### BEGIN FILE cyrus.conf # standard standalone server implementation START { # do not delete this entry! recover cmd="ctl_cyrusdb -r" # this is only necessary if using idled for IMAP IDLE idled cmd="idled" } # UNIX sockets start with a slash and are put into /var/imap/socket SERVICES { # add or remove based on preferences imap cmd="imapd" listen="imap" prefork=0 # imaps cmd="imapd -s" listen="imaps" prefork=0 # pop3 cmd="pop3d" listen="pop3" prefork=0 # pop3s cmd="pop3d -s" listen="pop3s" prefork=0 # sieve cmd="timsieved" listen="sieve" prefork=0 # at least one LMTP is required for delivery # lmtp cmd="lmtpd" listen="lmtp" prefork=0 lmtpunix cmd="lmtpd" listen="/opt/local/var/imap/socket/lmtp" prefork=0 # this is only necessary if using notifications # notify cmd="notifyd" listen="/opt/local/var/imap/socket/ notify" proto="udp" prefork=1 } EVENTS { # this is required checkpoint cmd="ctl_cyrusdb -c" period=30 # this is only necessary if using duplicate delivery suppression delprune cmd="cyr_expire -E 3" at=0400 # this is only necessary if caching TLS sessions tlsprune cmd="tls_prune" at=0400 } LIMITS { imaplimit value=0 } ### END FILE cyrus.conf - Change the owner of the two imap directories $ chown -R _cyrus:mail /opt/local/var/imap/ $ chown -R _cyrus:mail /opt/local/var/spool/imap/ - Create imap directories $ sudo -u _cyrus /opt/local/bin/mkimap - Specify correct path to deliver executable in master.cf $ pico /private/etc/postfix/master.cf -----> The path should be: /opt/local/bin/deliver - Create aliases file for postfix and start it $ newaliases $ postmap /private/etc/postfix/virtual $ postfix start - Create LaunchDaemon for cyrus $ pico /System/Library/LaunchDaemons/edu.cmu.andrew.cyrus.master.plist ### BEGIN FILE edu.cmu.andrew.cyrus.master.plist Label edu.cmu.andrew.cyrus.master OnDemand Program /opt/local/bin/master ProgramArguments master -l 256 ServiceIPC ### END FILE edu.cmu.andrew.cyrus.master.plist - Load LaunchDaemon configuration $ launchctl load -w /System/Library/LaunchDaemons/ edu.cmu.andrew.cyrus.master.plist - Create LaunchDaemon for postfix $ pico /System/Library/LaunchDaemons/org.postfix.master.plist ### BEGIN FILE org.postfix.master.plist Label org.postfix.master Program /usr/libexec/postfix/master ProgramArguments master -e 60 QueueDirectories /var/spool/postfix/maildrop ### END FILE org.postfix.master.plist - Load LaunchDaemon configuration (might be already loaded) $ launchctl load -w /System/Library/LaunchDaemons/ org.postfix.master.plist From wsiegrist at apple.com Mon Mar 10 18:20:30 2008 From: wsiegrist at apple.com (William Siegrist) Date: Mon, 10 Mar 2008 18:20:30 -0700 Subject: Mac OS Forge Downtime: Wednesday, 6-7pm PDT Message-ID: We need to move our servers to a new rack. This will require shutting everything down (SVN, Trac, www.macports.org, RSync, etc) for about an hour this Wednesday night (the 12th). Everything should be back around 7pm. Sorry for the inconvenience. -Bill ---- 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/20080310/43e52584/attachment.bin From yvon.thoraval at gmail.com Tue Mar 11 07:45:49 2008 From: yvon.thoraval at gmail.com (Yvon Thoraval) Date: Tue, 11 Mar 2008 15:45:49 +0100 Subject: ruby and rubycocoa Message-ID: i'm upgrading ruby from 1.8.6_0 to 1.8.6-p111_1 because i want to install the latest rubycocoa (0.13.2) i wonder if the ruby config is done with the --enabled-shared option no prob installing rubycocoa without using macports ? i mention that because, with the previous release of rubycocoa, installed from a dmg, i get the following warnings : 2007-11-29 12:19:29.755 ruby[1129] WARNING: multiple libruby.dylib found: '/opt/local/lib/libruby.dylib' and '/usr/lib/libruby.1.dylib' 2007-11-29 12:19:29.756 ruby[1129] RBCocoaInstallRubyThreadSchedulerHooks: warning: rb_set_cocoa_thread_hooks is linked from a different library (/usr/lib/libruby.1.dylib) than ruby_init (/opt/local/lib/libruby.dylib) and i do have prob with threads within rubycocoa apps ... best, -- yvon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080311/97633496/attachment-0001.html From zavpublic at mac.com Tue Mar 11 09:14:31 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Tue, 11 Mar 2008 11:14:31 -0500 Subject: Installation issues, Leopard Quad G5, 1.6.0 DMG Message-ID: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> Hi all. I can't get past line 1 of the initial install instructions after installing the 1.6.0 MacPorts DMG. Platform: Quad G5, 2G Ram, OS 10.5.2, Xcode 3.1, X11 2.1.1 When I enter the following into the terminal... sudo port -d selfupdate I get the following error message: sudo: port: command not found port is in the root:opt:local:bin directory Is there some variable in some file that the installer missed? Also, some of the docs say to use -d, others say -v. A little inconsistency there. Thanks in advance, - Alex Zavatone From tabakin at pitt.edu Tue Mar 11 09:16:41 2008 From: tabakin at pitt.edu (Frank Tabakin) Date: Tue, 11 Mar 2008 12:16:41 -0400 Subject: Installation on OsX 10.5 Message-ID: I tried to install macports using the MacPorts 1.6.0.pkg on a system with Mac Os X 10.5.2 Xcode 3.0 X11 2.1.1 I also updated the Xcode with a March 8 posting. Got the message: "Install failed The following install step failed: run postflight script for MacPorts. Contact the software manufacturer for assistance" On the macport installer window. What should I do next? I couldn't find the postflight script. I did run following, which probably should tell me what to do, but I need some guidance: ======================== sudo ./port selfupdate couldn't load file "/opt/local/share/macports/Tcl/pextlib1.0/ Pextlib.dylib": dlopen(/opt/local/share/macports/Tcl/pextlib1.0/ Pextlib.dylib, 10): no suitable image found. Did find: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture while executing "load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib" ("package ifneeded" script) invoked from within "package require Pextlib 1.0" (procedure "mportinit" line 382) invoked from within "mportinit ui_options global_options global_variations" Error: ./port: Failed to initialize MacPorts, couldn't load file "/opt/ local/share/macports/Tcl/pextlib1.0/Pextlib.dylib": dlopen(/opt/local/ share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found. Did find: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: mach-o, but wrong architecture Macintosh:bin franktabakin$ pwd /opt/local/bin ================================= Thanks for any help. Frank From dushanm at spinn.net Tue Mar 11 02:58:35 2008 From: dushanm at spinn.net (Dushan Mitrovich) Date: Tue, 11 Mar 2008 02:58:35 -0700 Subject: 'rsync' failure trying to install MacPorts 1.6.0 Message-ID: I had downloaded the MacPorts-1.6.0.dmg file but failed trying to install it on my Mac Pro system (4 processors), apparently because 'rsync' failed. This appears to be the same problem that Bill Hernandez wrote about ear- lier, but I didn't see any solution offered. Is there one? Below are the particulars of my system, and what I've tried. Thanks for all help and suggestions. - Dushan Mitrovich =========================================== I'm running OS X.4.11, build 852167, and have installed both X11 (from the Mac OSX install disk) and Xcode 2.5 (downloaded from the Apple site), in that order. X11user and X11sdk both show up in the /Library/Receipts directory. The result of typing 'uname -a' in Terminal (for clarity the lines are indented and wrapped, with the continuation lines indented an extra 2 spaces; the first line and the '=>' on the second are part of the prompt): --------------------- begin ---------------------- [~]$ => uname -a Darwin Mac-Mar08 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 --------------------- end ---------------------- Neither '/usr/local' nor '/sw' directories exist. During the MacPorts install (I have an admin account) the progress bar went quickly to about the 80% point, then stalled, and then gave way to a message that there was an error during the install and to try again. Here are the contents of the MacPorts install log file: --------------------- begin ---------------------- Mar 10 11:55:30 Mac-Mar08 : Localized installer scripts detected in the MacPorts-1.6.0 package. Switching to compatibility mode. Mar 10 11:55:42 Mac-Mar08 : Localized installer scripts detected in the MacPorts-1.6.0 package. Switching to compatibility mode. Mar 10 11:56:21 Mac-Mar08 : Localized installer scripts detected in the MacPorts-1.6.0 package. Switching to compatibility mode. Mar 10 11:56:21 Mac-Mar08 : Localized installer script preflight found in the MacPorts-1.6.0 package. Using compatibility mode. Mar 10 11:56:21 Mac-Mar08 : Localized installer script postflight found in the MacPorts-1.6.0 package. Using compatibility mode. Mar 10 11:56:22 Mac-Mar08 : Localized installer script preflight found in the MacPorts-1.6.0 package. Using compatibility mode. Mar 10 11:56:22 Mac-Mar08 : Localized installer script postflight found in the MacPorts-1.6.0 package. Using compatibility mode. Mar 10 11:57:39 Mac-Mar08 : Install failed: The following install step failed: run postflight script for MacPorts --------------------- end ---------------------- Next I tried to execute the 'postflight' file manually from Terminal. That also failed. Here is the transscript of that attempt (the first line below shows the directory): --------------------- begin ---------------------- [/Volumes/MacPorts-1.6.0/MacPorts-1.6.0.pkg/Contents/Resources/English.lproj]$ => ./postflight Checking the shell environment for user "dushanm"... /bin/bash: line 11: 0: command not found Your shell already has the right MANPATH environment variable for use with MacPorts! Your shell already has the right DISPLAY environment variable for use with MacPorts! Synchronizing the MacPorts installation with the project's rsync server... Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/ rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-24.1/rsync/clientserver.c(94) Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync An attempt to synchronize your recent MacPorts installation with the project's rsync server failed! Please run 'port -d selfupdate' manually to find out the cause of the error. --------------------- end ---------------------- When I ran 'port' from the /opt/local/bin directory, I got: --------------------- begin ---------------------- [/opt/local/bin]$ => ./port -d selfupdate 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 rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-24.1/rsync/clientserver.c(94) DEBUG: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync while executing "macports::selfupdate [array get global_options]" Error: ./port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync --------------------- end ---------------------- From bringit at mac-spezialist.de Tue Mar 11 11:23:45 2008 From: bringit at mac-spezialist.de (Adrian Nier) Date: Tue, 11 Mar 2008 19:23:45 +0100 Subject: Installation issues, Leopard Quad G5, 1.6.0 DMG In-Reply-To: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> References: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> Message-ID: <315302DE-24DF-4CF5-B802-D8D9E118942A@mac-spezialist.de> Hello Alex, you need to create a missing file or give the full path to the port executable. The latter solution means that you have to enter the following on the command line: sudo /opt/local/bin/port -d selfupdate The better solution is to create a file called '.profile' in your home directory. In this file you specify additional directories that are to be scanned for executables and manual entries. The MacPorts installation fails to create this file, so you have to create it manually. To do so copy the following text? export PATH=/opt/local/bin:/opt/local/sbin:$PATH export MANPATH=/opt/local/share/man:$MANPATH ?then enter the following command into a new terminal window: pico ~/.profile Paste the text into the terminal window. Press ctrl-x to exit pico, press the 'y' key to confirm that you want to save and press the return key to confirm that the filename should be .profile. The last thing to do is to close the terminal window and open up a new one. Now you will have access to the port executable just by typing 'port'. Best regards, Adrian On Mar 11, 2008, at 5:14 PM, Alex Zavatone wrote: > Hi all. I can't get past line 1 of the initial install instructions > after installing the 1.6.0 MacPorts DMG. > > Platform: Quad G5, 2G Ram, OS 10.5.2, Xcode 3.1, X11 2.1.1 > > When I enter the following into the terminal... > > sudo port -d selfupdate > > I get the following error message: > sudo: port: command not found > > port is in the root:opt:local:bin directory > > Is there some variable in some file that the installer missed? > > Also, some of the docs say to use -d, others say -v. A little > inconsistency there. > > Thanks in advance, > - Alex Zavatone > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From e1-8k5h-c8zc-bf19 at emailias.com Tue Mar 11 11:54:31 2008 From: e1-8k5h-c8zc-bf19 at emailias.com (Kurt L.) Date: Tue, 11 Mar 2008 11:54:31 -0700 Subject: Problem involving automake/aclocal versions while installing tripwire Message-ID: <1205261671.7655.1241817805@webmail.messagingengine.com> Hi, I'm setting up a new Tiger 10.4.11 machine, and I'd like to run tripwire (as I used to do on my old Tiger machine). I installed the latest Macports a few days ago, and tried installing tripwire with the usual 'sudo port install tripwire' command. All the dependencies download and build just fine, but when it tries to build the actual tripwire source I get this: ---> Building tripwire with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tripwire/work/tripwire-2.4.1.2-src" && make all " returned error 2 Command output: cd . && /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_tripwire/work/tripwire-2.4.1.2-src/missing --run automake-1.10 --foreign configure.in:8: version mismatch. This is Automake 1.10.1, configure.in:8: but the definition used by this AM_INIT_AUTOMAKE configure.in:8: comes from Automake 1.10. You should recreate configure.in:8: aclocal.m4 with aclocal and run automake again. WARNING: `automake-1.10' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the `README' file, it often tells you about the needed prerequirements for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing `automake-1.10' program. make: *** [Makefile.in] Error 1 >From googling a bit appears that normally aclocal and automake are kept in sync, and the aclocal.m4 file generated by aclocal has its version number embedded in it. Automake is reading this file, and finds that that the aclocal version doesn't match its (automake's) version, and thus the barf. It appears that the choices are to downgrade to automake 1.10, or run a 1.10.1 version of aclocal to generate an aclocal.m4 file that automake will accept; the output above seems to suggest two different actions. I favor the latter option of generating a new aclocal with the higher version aclocal utility. Does anyone have any hints on how to reach into the process to do the latter (generate with aclocal version 1.10.1)? I guess I could re-run the install again with verbose turned on to see where it generates aclocal.m4, and then try mucking with some script to redirect it to an as-yet-unfound version of aclocal 1.10.1 somewhere in the directory under /opt... any shortcuts to solution appreciated! Thanks in advance, Kurt From tabakin at pitt.edu Tue Mar 11 12:30:24 2008 From: tabakin at pitt.edu (Frank Tabakin) Date: Tue, 11 Mar 2008 15:30:24 -0400 Subject: Installation on OsX 10.5 Message-ID: I tried the Leopard(Universal) version and it seems to be OK I have an IMac (Intel ) with Os X 10,5 and and the Panther(PowerPC) version had failed. So my issue has been resolved. From zavpublic at mac.com Tue Mar 11 12:42:41 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Tue, 11 Mar 2008 14:42:41 -0500 Subject: Follow up re: Installation issues, Leopard Quad G5, 1.6.0 DMG In-Reply-To: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> References: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> Message-ID: <8B46CE3F-E3E0-4BD3-A2EE-B549212BACD4@mac.com> On Mar 11, 2008, at 1:23 PM, Adrian Nier wrote: > Hello Alex, > > you need to create a missing file or give the full path to the port > executable. The latter solution means that you have to enter the > following on the command line: > > sudo /opt/local/bin/port -d selfupdate Ok, I rebooted and that worked. Cool. > The better solution is to create a file called '.profile' in your > home directory. In this file you specify additional directories that > are to be scanned for executables and manual entries. The MacPorts > installation fails to create this file, so you have to create it > manually. Awesome. Works like a charm on my other mac. Why doesn't the .DMG installer do this? No "non compiler friendly" user is going to be able to get up and running without this information. Thanks, - Alex Zavatone From bringit at mac-spezialist.de Tue Mar 11 13:06:56 2008 From: bringit at mac-spezialist.de (Adrian Nier) Date: Tue, 11 Mar 2008 21:06:56 +0100 Subject: Installation issues, Leopard Quad G5, 1.6.0 DMG In-Reply-To: <6C5FAD72-C97A-4B88-91A8-BCFB7492EA38@mac.com> References: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> <315302DE-24DF-4CF5-B802-D8D9E118942A@mac-spezialist.de> <6C5FAD72-C97A-4B88-91A8-BCFB7492EA38@mac.com> Message-ID: On Mar 11, 2008, at 7:56 PM, Alex Zavatone wrote: >> The better solution is to create a file called '.profile' in your >> home directory. In this file you specify additional directories >> that are to be scanned for executables and manual entries. The >> MacPorts installation fails to create this file, so you have to >> create it manually. > > Awesome. Works like a charm on my other mac. Why doesn't the .DMG > installer do this? > > No "non compiler friendly" user is going to be able to get up and > running without this information. What has been written to the .profile file has little to do with compilation. This is a facility of the shell to make it easier for users to run commands. Instead of typing the full path you can type just the name of the executable you wish to run. If the operating system wouldn't have the same settings for directories like /bin/ or /usr/sbin/ then you would have to type /bin/ ls to get a directory listing and /usr/sbin/diskutil to run the command line version of Disk Utility. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080311/bf89358b/attachment.html From zavpublic at mac.com Tue Mar 11 13:48:49 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Tue, 11 Mar 2008 15:48:49 -0500 Subject: Install successful now trying to install ntop In-Reply-To: References: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> <315302DE-24DF-4CF5-B802-D8D9E118942A@mac-spezialist.de> <6C5FAD72-C97A-4B88-91A8-BCFB7492EA38@mac.com> Message-ID: <75CE7088-1373-4228-9CE3-9B2E26FBA105@mac.com> Thanks to Adrian's help, I was able to complete the install of MacPorts. My goal in installing MacPorts was to get a ntop installed. Checking for installation instructions for ntop on macports.org wasn't helpful at all; I couldn't find any instructions. Luckily, back at the old darwinports.org there is a url for ntop, http://ntop/darwinports.org that actually contains installation instructions: cd /opt/local/bin/portslocation/dports/ntop % sudo port install ntop One problem here is that if /portslocation/dports/ntop doesn't exist, then you must create it, cd to it and then sudo. Even thou the instructions are clear, they should mention this to save newbies like me. Once the directories are created, sudo port install ntop works wonderfully, installing all sorts files - that is until it gets to libcap. Libcap can't be found in any of the following locations: ---> Fetching libpcap ---> Attempting to fetch libpcap-0.9.8.tar.gz from http://www.tcpdump.org/release/ ---> Attempting to fetch libpcap-0.9.8.tar.gz from http://svn.macports.org/repository/macports/distfiles/libpcap ---> Attempting to fetch libpcap-0.9.8.tar.gz from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch libpcap-0.9.8.tar.gz from http://svn.macports.org/repository/macports/downloads/libpcap ---> Attempting to fetch libpcap-0.9.8.tar.gz from http://svn.macports.org/repository/macports/distfiles/libpcap ---> Attempting to fetch libpcap-0.9.8.tar.gz from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch libpcap-0.9.8.tar.gz from http://svn.macports.org/repository/macports/downloads/libpcap Error: Target org.macports.fetch returned: fetch failed Since I it appears that libcap is required to build and install ntop, what should I do from here? Thanks in advance, - Alex Zavatone On Mar 11, 2008, at 3:06 PM, Adrian Nier wrote: > On Mar 11, 2008, at 7:56 PM, Alex Zavatone wrote: > >>> The better solution is to create a file called '.profile' in your >>> home directory. In this file you specify additional directories >>> that are to be scanned for executables and manual entries. The >>> MacPorts installation fails to create this file, so you have to >>> create it manually. >> >> Awesome. Works like a charm on my other mac. Why doesn't the .DMG >> installer do this? >> >> No "non compiler friendly" user is going to be able to get up and >> running without this information. > > What has been written to the .profile file has little to do with > compilation. This is a facility of the shell to make it easier for > users to run commands. Instead of typing the full path you can type > just the name of the executable you wish to run. > > If the operating system wouldn't have the same settings for > directories like /bin/ or /usr/sbin/ then you would have to type / > bin/ls to get a directory listing and /usr/sbin/diskutil to run the > command line version of Disk Utility. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080311/ff6c07dd/attachment.html From sfiera at macports.org Tue Mar 11 14:16:38 2008 From: sfiera at macports.org (Chris Pickel) Date: Tue, 11 Mar 2008 17:16:38 -0400 Subject: Install successful now trying to install ntop In-Reply-To: <75CE7088-1373-4228-9CE3-9B2E26FBA105@mac.com> References: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> <315302DE-24DF-4CF5-B802-D8D9E118942A@mac-spezialist.de> <6C5FAD72-C97A-4B88-91A8-BCFB7492EA38@mac.com> <75CE7088-1373-4228-9CE3-9B2E26FBA105@mac.com> Message-ID: <85156A53-0364-41C2-BDE9-2A3130B85060@macports.org> On 11 Mar, 2008, at 16:48, Alex Zavatone wrote: > My goal in installing MacPorts was to get a ntop installed. > Checking for installation instructions for ntop on macports.org > wasn't helpful at all; I couldn't find any instructions. Luckily, > back at the old darwinports.org there is a url for ntop, http://ntop/darwinports.org > that actually contains installation instructions: Did you mean http://ntop.*.com? That site is not affiliated with MacPorts at all and has been a source of much bad information (you might notice I avoid even writing something that could be construed as a link to it). The place that you should have found information would be the [MacPorts guide][1], in section [3.1.8][2]. Where did you look instead? What would have guided you towards this location? (we want to be better at getting people there in the future). [1] http://guide.macports.org/ [2] http://guide.macports.org/#using.port.install > cd /opt/local/bin/portslocation/dports/ntop > % sudo port install ntop > > One problem here is that if /portslocation/dports/ntop doesn't > exist, then you must create it, cd to it and then sudo. Even thou > the instructions are clear, they should mention this to save newbies > like me. These instructions are wrong. It should not be necessary to do anything but "sudo port install ntop", as with any MacPorts port. > Once the directories are created, sudo port install ntop works > wonderfully, installing all sorts files - that is until it gets to > libcap. Libcap can't be found in any of the following locations: > ---> Fetching libpcap > ---> Attempting to fetch libpcap-0.9.8.tar.gz from http://www.tcpdump.org/release/ > ... It appears that tcpdump.org, the provider of libpcap, is currently inaccessible. If you can find libpcap-0.9.8.tar.gz elsewhere online, dropping it in /opt/local/var/macports/distfiles/libpcap will allow you to continue. Otherwise, you'll have to wait for the site to come back up. Regards, Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080311/924a72cf/attachment.bin From zavpublic at mac.com Tue Mar 11 14:47:48 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Tue, 11 Mar 2008 16:47:48 -0500 Subject: Install successful now trying to install ntop In-Reply-To: <85156A53-0364-41C2-BDE9-2A3130B85060@macports.org> References: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> <315302DE-24DF-4CF5-B802-D8D9E118942A@mac-spezialist.de> <6C5FAD72-C97A-4B88-91A8-BCFB7492EA38@mac.com> <75CE7088-1373-4228-9CE3-9B2E26FBA105@mac.com> <85156A53-0364-41C2-BDE9-2A3130B85060@macports.org> Message-ID: On Mar 11, 2008, at 4:16 PM, Chris Pickel wrote: > On 11 Mar, 2008, at 16:48, Alex Zavatone wrote: >> My goal in installing MacPorts was to get a ntop installed. >> Checking for installation instructions for ntop on macports.org >> wasn't helpful at all; I couldn't find any instructions. Luckily, >> back at the old darwinports.org there is a url for ntop, http://ntop/darwinports.org >> that actually contains installation instructions: > > Did you mean http://ntop.*.com? That site is not affiliated with > MacPorts at all and has been a source of much bad information (you > might notice I avoid even writing something that could be construed > as a link to it). Oops. My mistake. You are correct. http://ntop.thatOtherDomain.com/ . > The place that you should have found information would be the > [MacPorts guide][1], in section [3.1.8][2]. Where did you look > instead? What would have guided you towards this location? (we want > to be better at getting people there in the future). Since I first had to figure out how to install MacPorts on my macs, I opted for a .dmg. I then had to figure out that I needed xCode since the .dmg doesn't check to see if it is installed and I installed that. Then after installing it many many times with no luck, I finally found out how to join this list and ask a question, which Adrian kindly answered and I finished up editing the file that I thought the DMG would create, opened terminal and ran the self update. I then looked on http://www.macports.org for available ports and entered ntop in the entry field. I found a description of ntop but nothing to help me install it. I clicked on Downloads under Available Shortcuts and it didn't have ntop info so I resorted to that information that I found prowling around that other site. Originally, I was instructed from a nice user on Apple's OS X Server email list that I could install MacPorts and then I should visit ntop.*.com to get ntop. It actually had instructions in reverse text about 1 page down. So I tried them. I had no idea that port install was needed, or how it was used or why. Ignorance is bliss, right? Riiiight. And here we are. > [1] http://guide.macports.org/ > [2] http://guide.macports.org/#using.port.install Thanks so much. I'll be reading that in a bit. >> cd /opt/local/bin/portslocation/dports/ntop >> % sudo port install ntop >> >> One problem here is that if /portslocation/dports/ntop doesn't >> exist, then you must create it, cd to it and then sudo. Even thou >> the instructions are clear, they should mention this to save >> newbies like me. > > These instructions are wrong. It should not be necessary to do > anything but "sudo port install ntop", as with any MacPorts port. Ahh, Ok. So changing the directory is not necessary. If the .dmg had properly set up my .profile file, the one key missing step, that part would have been a little less confusing to me. I had to create that on my own as per Adrian's help >> >> Once the directories are created, sudo port install ntop works >> wonderfully, installing all sorts files - that is until it gets to >> libcap. Libcap can't be found in any of the following locations: >> ---> Fetching libpcap >> ---> Attempting to fetch libpcap-0.9.8.tar.gz from http://www.tcpdump.org/release/ >> ... > > It appears that tcpdump.org, the provider of libpcap, is currently > inaccessible. If you can find libpcap-0.9.8.tar.gz elsewhere online, > dropping it in /opt/local/var/macports/distfiles/libpcap will allow > you to continue. Otherwise, you'll have to wait for the site to come > back up. Almost. :] It's now waiting for a lock on a file. $ sudo port install ntop Waiting for lock on /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_net_libpcap/work/.macports.libpcap.state The contents of that file is the following text: target: org.macports.main Thanks so much Chris. - Alex Zavatone -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080311/5ac586b1/attachment-0001.html From zavpublic at mac.com Tue Mar 11 14:52:03 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Tue, 11 Mar 2008 16:52:03 -0500 Subject: Install successful now trying to install ntop In-Reply-To: <85156A53-0364-41C2-BDE9-2A3130B85060@macports.org> References: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> <315302DE-24DF-4CF5-B802-D8D9E118942A@mac-spezialist.de> <6C5FAD72-C97A-4B88-91A8-BCFB7492EA38@mac.com> <75CE7088-1373-4228-9CE3-9B2E26FBA105@mac.com> <85156A53-0364-41C2-BDE9-2A3130B85060@macports.org> Message-ID: Regarding the lock on the file, I deleted that file and it Libcap compiled. Right afterwards, cgilib failed to build since the terminal didn't know what the command "O3" was. Details below. ---> Building cgilib with target {} Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_www_cgilib/work/cgilib-0.5" && make CFLAGS="-O3 -fPIC -I." " returned error 2 Command output: O3 -fPIC -I. -c -o cgi.o cgi.c make: O3: Command not found make: [cgi.o] Error 127 (ignored) O3 -fPIC -I. -c -o cookies.o cookies.c make: O3: Command not found make: [cookies.o] Error 127 (ignored) ar rc libcgi.a cgi.o cookies.o ar: cgi.o: No such file or directory ar: cookies.o: No such file or directory make: *** [libcgi.a] Error 1 Error: The following dependencies failed to build: rrdtool cgilib libart_lgpl perl5.8 tcl Error: Status 1 encountered during processing. Alex-Zavatones-Fearsome-Power-Mac-G5-2:~ zav$ From raimue at macports.org Tue Mar 11 14:52:24 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Tue, 11 Mar 2008 22:52:24 +0100 Subject: Installation on OsX 10.5 In-Reply-To: References: Message-ID: <47D6FF18.9000301@macports.org> Frank Tabakin wrote: > I tried the Leopard(Universal) version and it seems to be OK > > I have an IMac (Intel ) with Os X 10,5 and and the Panther(PowerPC) > version had failed. Panther is Mac OS X 10.3, Tiger is Mac OS X 10.4, Leopard is Mac OS X 10.5 You have 10.5, so you need the Leopard disk image. Rainer From sfiera at macports.org Tue Mar 11 15:08:11 2008 From: sfiera at macports.org (Chris Pickel) Date: Tue, 11 Mar 2008 18:08:11 -0400 Subject: Install successful now trying to install ntop In-Reply-To: References: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> <315302DE-24DF-4CF5-B802-D8D9E118942A@mac-spezialist.de> <6C5FAD72-C97A-4B88-91A8-BCFB7492EA38@mac.com> <75CE7088-1373-4228-9CE3-9B2E26FBA105@mac.com> <85156A53-0364-41C2-BDE9-2A3130B85060@macports.org> Message-ID: <5F68CE73-0D44-454D-9021-CE9CDB4E10DE@macports.org> On 11 Mar, 2008, at 17:47, Alex Zavatone wrote: > I then looked on http://www.macports.org for available ports and > entered ntop in the entry field. I found a description of ntop but > nothing to help me install it. I clicked on Downloads under > Available Shortcuts and it didn't have ntop info so I resorted to > that information that I found prowling around that other site. OK; the reason there isn't information for "installing ntop" is because all ports install in the same way. We can look into repeating that information on the ports' pages too. > Regarding the lock on the file, I deleted that file and it Libcap > compiled. > > Right afterwards, cgilib failed to build since the terminal didn't > know what the command "O3" was. Details below. > > ---> Building cgilib with target {} > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_www_cgilib/work/cgilib-0.5" && make > CFLAGS="-O3 -fPIC -I." " returned error 2 > Command output: O3 -fPIC -I. -c -o cgi.o cgi.c > make: O3: Command not found > make: [cgi.o] Error 127 (ignored) > O3 -fPIC -I. -c -o cookies.o cookies.c > make: O3: Command not found > make: [cookies.o] Error 127 (ignored) > ar rc libcgi.a cgi.o cookies.o > ar: cgi.o: No such file or directory > ar: cookies.o: No such file or directory > make: *** [libcgi.a] Error 1 > Error: The following dependencies failed to build: rrdtool cgilib > libart_lgpl perl5.8 tcl > Error: Status 1 encountered during processing. I don't know about this; maybe the port's maintainer, markd, would be able to help. It looks like somehow $(CC) is not set but I don't know why that would happen. Regards, Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080311/1b11e384/attachment.bin From markd at macports.org Tue Mar 11 15:13:12 2008 From: markd at macports.org (markd at macports.org) Date: Tue, 11 Mar 2008 15:13:12 -0700 Subject: e: Install successful now trying to install ntop Message-ID: >Thanks to Adrian's help, I was able to complete the install of MacPorts. > >My goal in installing MacPorts was to get a ntop installed. Checking >for installation instructions for ntop on macports.org wasn't helpful >at all; I couldn't find any instructions. Luckily, back at the old >darwinports.org there is a url for ntop, http://ntop/darwinports.org >that actually contains installation instructions: > >cd /opt/local/bin/portslocation/dports/ntop >% sudo port install ntop > >One problem here is that if /portslocation/dports/ntop doesn't exist, >then you must create it, cd to it and then sudo. Even thou the >instructions are clear, they should mention this to save newbies like >me. > >Once the directories are created, sudo port install ntop works >wonderfully, installing all sorts files - that is until it gets to >libcap. Libcap can't be found in any of the following locations: >---> Fetching libpcap >---> Attempting to fetch libpcap-0.9.8.tar.gz from >http://www.tcpdump.org/release/ >---> Attempting to fetch libpcap-0.9.8.tar.gz from >http://svn.macports.org/repository/macports/distfiles/libpcap >---> Attempting to fetch libpcap-0.9.8.tar.gz from >http://svn.macports.org/repository/macports/distfiles/general/ >---> Attempting to fetch libpcap-0.9.8.tar.gz from >http://svn.macports.org/repository/macports/downloads/libpcap >---> Attempting to fetch libpcap-0.9.8.tar.gz from >http://svn.macports.org/repository/macports/distfiles/libpcap >---> Attempting to fetch libpcap-0.9.8.tar.gz from >http://svn.macports.org/repository/macports/distfiles/general/ >---> Attempting to fetch libpcap-0.9.8.tar.gz from >http://svn.macports.org/repository/macports/downloads/libpcap >Error: Target org.macports.fetch returned: fetch failed > >Since I it appears that libcap is required to build and install ntop, >what should I do from here? ntop is broken on 10.5 and I don't know what the fix is yet. If someone could ask the ntop support list it would be great. I've been too busy to do it. >> Right afterwards, cgilib failed to build since the terminal didn't >> know what the command "O3" was. Details below. >> ---> Building cgilib with target {} >> Error: Target org.macports.build returned: shell command " cd "/opt/ >> local/var/macports/build/ >> _opt_local_var_macports_sources_rsync >> .macports.org_release_ports_www_cgilib/work/cgilib-0.5" && make >> CFLAGS="-O3 -fPIC -I." " returned error 2 >> Command output: O3 -fPIC -I. -c -o cgi.o cgi.c >> make: O3: Command not found >> make: [cgi.o] Error 127 (ignored) >> O3 -fPIC -I. -c -o cookies.o cookies.c >> make: O3: Command not found >> make: [cookies.o] Error 127 (ignored) >> ar rc libcgi.a cgi.o cookies.o >> ar: cgi.o: No such file or directory >> ar: cookies.o: No such file or directory >> make: *** [libcgi.a] Error 1 >> Error: The following dependencies failed to build: rrdtool cgilib >> libart_lgpl perl5.8 tcl >> Error: Status 1 encountered during processing. The last time I saw this happen, simply cleaning and reinstalling fixed it. sudo port uninstall cgilib sudo clean --all cgilib sudo port install cgilib Mark From zavpublic at mac.com Tue Mar 11 15:58:31 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Tue, 11 Mar 2008 17:58:31 -0500 Subject: e: Install successful now trying to install ntop In-Reply-To: References: Message-ID: <959E01B5-8A7B-4AD0-AB22-71A9F7316F9F@mac.com> On Mar 11, 2008, at 5:13 PM, markd at macports.org wrote: >> > > ntop is broken on 10.5 and I don't know what the fix is yet. If > someone > could ask the ntop support list it would be great. I've been too > busy to > do it. I'll see what I can do about that. Thanks - Alex From d.l.tDeContes at free.fr Tue Mar 11 20:14:38 2008 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Wed, 12 Mar 2008 04:14:38 +0100 Subject: error during installation of macport In-Reply-To: <799406d60803091717sd24a06nb514b7383c809780@mail.gmail.com> References: <27A234AB-EB07-4D6A-A04E-BB595B274FFC@free.fr> <799406d60803091717sd24a06nb514b7383c809780@mail.gmail.com> Message-ID: <2F726996-A848-4EF3-B2F6-1CC736391721@free.fr> Le 10 mars 08 ? 01:17, Adam Mercer a ?crit : > Looks like a readline issue, do you happen to have a local readline > installed in /usr/local or somewhere else? you're right :-) $ locate readline /usr/include/readline /usr/include/readline/history.h /usr/include/readline/readline.h /usr/lib/libreadline.dylib > Try adding > --enable-readline to the configure call. thank you, it works :-) but, it's not noticed in http://www.macports.org/install.php#source what could install readline ? a mac os x update ? approximately 6 months ago, i installed macports on the same computer without problem will i need "--enable-readline" for any computer, or only for a few cases ? -- j'agis contre l'assistanat, je travaille dans une SCOP ! From d.l.tDeContes at free.fr Tue Mar 11 20:31:58 2008 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Wed, 12 Mar 2008 04:31:58 +0100 Subject: warnings during port upgrade outdated Message-ID: hi :-) when i did port upgrade outdated i got # As MacPorts does not currently have a post-deactivate hook, # you will need to ensure that you manually remove the catalog # entry for this port when you uninstall it. To do so, run # "xmlcatmgr remove nextCatalog /Users/thomas/Documents/prgm/bin/ autoinstall/macports/share/xml/docbook/4.1.2/catalog.xml". # "xmlcatmgr remove nextCatalog /Users/thomas/Documents/prgm/bin/ autoinstall/macports/share/xsl/docbook-xsl/catalog.xml". # "xmlcatmgr remove nextCatalog /Users/thomas/Documents/prgm/bin/ autoinstall/macports/share/xml/docbook/4.2/catalog.xml". # "xmlcatmgr remove nextCatalog /Users/thomas/Documents/prgm/bin/ autoinstall/macports/share/xml/docbook/4.3/catalog.xml". # "xmlcatmgr remove nextCatalog /Users/thomas/Documents/prgm/bin/ autoinstall/macports/share/xml/docbook/4.4/catalog.xml". # "xmlcatmgr remove nextCatalog /Users/thomas/Documents/prgm/bin/ autoinstall/macports/share/xml/docbook/4.5/catalog.xml". what does that mean exactly ? is it because someone had not the time to code the complete uninstall process and i needn't remember it if i don't want to uninstall it now, or can't it be automated because of a technical pb and i should remember it ? -- j'agis contre l'assistanat, je travaille dans une SCOP ! From d.l.tDeContes at free.fr Tue Mar 11 21:00:26 2008 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Wed, 12 Mar 2008 05:00:26 +0100 Subject: error during port upgrade outdated Message-ID: <6A06B4C9-BE0B-4C2A-B37A-D799192A6C37@free.fr> hi :-) ---> Fetching gtk-doc ---> Attempting to fetch gtk-doc-1.9.tar.bz2 from http:// mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/gtk-doc/1.9/ ---> Verifying checksum(s) for gtk-doc ---> Extracting gtk-doc ---> Configuring gtk-doc ---> Building gtk-doc with target all ---> Staging gtk-doc into destroot Error: Target org.macports.destroot returned: no such file or directory Skipping org.macports.activate (xmlcatmgr ) since this port is already active ---> Cleaning xmlcatmgr Skipping org.macports.activate (docbook-xml-4.1.2 ) since this port is already active ---> Cleaning docbook-xml-4.1.2 Skipping org.macports.activate (perl5.8 +darwin_8) since this port is already active ---> Cleaning perl5.8 Error: The following dependencies failed to build: gtk-doc scrollkeeper Error: Unable to upgrade port: 1 Skipping org.macports.activate (xmlcatmgr ) since this port is already active ---> Cleaning xmlcatmgr Skipping org.macports.activate (docbook-xml-4.1.2 ) since this port is already active ---> Cleaning docbook-xml-4.1.2 Skipping org.macports.activate (perl5.8 +darwin_8) since this port is already active ---> Cleaning perl5.8 Error: The following dependencies failed to build: scrollkeeper Skipping org.macports.activate (xmlcatmgr ) since this port is already active ---> Cleaning xmlcatmgr Skipping org.macports.activate (docbook-xml-4.1.2 ) since this port is already active ---> Cleaning docbook-xml-4.1.2 Skipping org.macports.activate (perl5.8 +darwin_8) since this port is already active ---> Cleaning perl5.8 Error: The following dependencies failed to build: gtk-doc scrollkeeper Error: Unable to upgrade port: 1 what's the pb ? should i just wait until that is repaired ? -- j'agis contre l'assistanat, je travaille dans une SCOP ! From luc at honk-honk.com Wed Mar 12 01:12:41 2008 From: luc at honk-honk.com (Luc Heinrich) Date: Wed, 12 Mar 2008 09:12:41 +0100 Subject: ruby and rubycocoa In-Reply-To: References: Message-ID: <478EA14A-12CF-45D5-8523-1119F4410ED1@honk-honk.com> On 11 mars 08, at 15:45, Yvon Thoraval wrote: > because i want to install the latest rubycocoa (0.13.2) i wonder if > the ruby config is done with the --enabled-shared option % port cat ruby .... .... configure.args --enable-shared \ --mandir="${prefix}/share/man" \ --enable-pthread \ --without-tk .... .... -- Luc Heinrich - luc at honk-honk.com From olgalyashevskaya at yahoo.com Wed Mar 12 02:43:01 2008 From: olgalyashevskaya at yahoo.com (Olga Lyashevskaya) Date: Wed, 12 Mar 2008 02:43:01 -0700 (PDT) Subject: Unable to execute port: can't read "sysroot": no such variable Message-ID: <415017.47566.qm@web50202.mail.re2.yahoo.com> Dear list, I am trying to install Dia by typing the following: cd /opt/local/bin ls daemondo portf portmirror port portindex sudo port install dia Unable to execute port: can't read "sysroot": no such variable What am I doing wrong? Mac OS X 10.5.2 Kind regards, Olga ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping From ryandesign at macports.org Wed Mar 12 03:53:40 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 12 Mar 2008 05:53:40 -0500 Subject: Unable to execute port: can't read "sysroot": no such variable In-Reply-To: <415017.47566.qm@web50202.mail.re2.yahoo.com> References: <415017.47566.qm@web50202.mail.re2.yahoo.com> Message-ID: <789D0C5E-DF29-4476-87B6-783DC7D7B37C@macports.org> On Mar 12, 2008, at 04:43, Olga Lyashevskaya wrote: > I am trying to install Dia by typing the following: > > cd /opt/local/bin > > ls > daemondo portf portmirror > port portindex > > sudo port install dia > > Unable to execute port: can't read "sysroot": no such > variable > > What am I doing wrong? > > Mac OS X 10.5.2 You may have outdated ports or an outdated MacPorts. Please selfupdate and try again: sudo port selfupdate From olgalyashevskaya at yahoo.com Wed Mar 12 04:45:42 2008 From: olgalyashevskaya at yahoo.com (Olga Lyashevskaya) Date: Wed, 12 Mar 2008 04:45:42 -0700 (PDT) Subject: Unable to execute port: can't read "sysroot": no such variable In-Reply-To: <789D0C5E-DF29-4476-87B6-783DC7D7B37C@macports.org> Message-ID: <281326.57995.qm@web50207.mail.re2.yahoo.com> Thank you, Ryan --- Ryan Schmidt wrote: > You may have outdated ports or an outdated MacPorts. > Please > selfupdate and try again: > sudo port selfupdate e7253:~ olichka$ sudo port selfupdate MacPorts base version 1.5 installed Downloaded MacPorts base version 1.600 Configuring, Building and Installing new MacPorts base Error: /opt/local/bin/port: selfupdate failed: Error installing new MacPorts base: shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && ./configure --prefix=/opt/local --with-install-user=root --with-install-group=admin --with-tclpackage=/Library/Tcl && make && make install" returned error 1 Command output: checking build system type... i686-apple-darwin9.2.0 checking host system type... i686-apple-darwin9.2.0 checking target system type... i686-apple-darwin9.2.0 checking for sw_vers... sw_vers checking Mac OS X version... 10.5.2 checking MacPorts version... 1.6.0 checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Thanks, Olga ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From sfiera at macports.org Wed Mar 12 08:20:53 2008 From: sfiera at macports.org (Chris Pickel) Date: Wed, 12 Mar 2008 11:20:53 -0400 Subject: Unable to execute port: can't read "sysroot": no such variable In-Reply-To: <281326.57995.qm@web50207.mail.re2.yahoo.com> References: <281326.57995.qm@web50207.mail.re2.yahoo.com> Message-ID: <7C90F0CB-9BEC-4818-AF48-0A3C2B73A5D7@macports.org> On 12 Mar, 2008, at 7:45, Olga Lyashevskaya wrote: > e7253:~ olichka$ sudo port selfupdate > > MacPorts base version 1.5 installed > > Downloaded MacPorts base version 1.600 > > Configuring, Building and Installing new MacPorts base > > Error: /opt/local/bin/port: selfupdate failed: Error > installing new MacPorts base: shell command "cd > /opt/local/var/macports/sources/rsync.macports.org/release/base > && ./configure --prefix=/opt/local > --with-install-user=root --with-install-group=admin > --with-tclpackage=/Library/Tcl && make && make > install" returned error 1 > > Command output: checking build system type... > i686-apple-darwin9.2.0 > > checking host system type... i686-apple-darwin9.2.0 > > checking target system type... i686-apple-darwin9.2.0 > > checking for sw_vers... sw_vers > > checking Mac OS X version... 10.5.2 > > checking MacPorts version... 1.6.0 > > checking for gcc... no > > checking for cc... no > > checking for cl.exe... no > > configure: error: no acceptable C compiler found in > $PATH > > See `config.log' for more details. Have you upgraded to Leopard recently? If so, did you install the new version of Xcode? This kind of error often appears when people try to use Tiger's Xcode on Leopard. Regards, Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080312/e1b1bd4c/attachment.bin From zavpublic at mac.com Wed Mar 12 08:23:39 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Wed, 12 Mar 2008 10:23:39 -0500 Subject: e: Install successful now trying to install ntop In-Reply-To: References: Message-ID: <84DD8FCD-2E9C-492E-9462-B0E62C5014D1@mac.com> Where exactly is the ntop support list? The latest news on http://www.ntop.org/news.html is from June 2007. On Mar 11, 2008, at 5:13 PM, markd at macports.org wrote: > > ntop is broken on 10.5 and I don't know what the fix is yet. If > someone > could ask the ntop support list it would be great. I've been too > busy to > do it. From olgalyashevskaya at yahoo.com Wed Mar 12 09:07:52 2008 From: olgalyashevskaya at yahoo.com (Olga Lyashevskaya) Date: Wed, 12 Mar 2008 09:07:52 -0700 (PDT) Subject: Unable to execute port: can't read "sysroot": no such variable In-Reply-To: <7C90F0CB-9BEC-4818-AF48-0A3C2B73A5D7@macports.org> Message-ID: <712602.34826.qm@web50205.mail.re2.yahoo.com> Dear Chris, --- Chris Pickel wrote: > Have you upgraded to Leopard recently? If so, did > you install the new > version of Xcode? This kind of error often appears > when people try to > use Tiger's Xcode on Leopard. It is a new iMac, and it came with Leopard on it, so I presume that Xcode must be ok. How can I check it? How can I install things with MacPorts? Sorry for my ignorance, I am not very experienced with Mac. So far I worked mostly on Linux, and now by using MacPorts I just want to be able to use programs which are originally developed for Linux (like dia in this case) Thanks, Olga ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From sfiera at macports.org Wed Mar 12 09:17:27 2008 From: sfiera at macports.org (Chris Pickel) Date: Wed, 12 Mar 2008 12:17:27 -0400 Subject: Unable to execute port: can't read "sysroot": no such variable In-Reply-To: <712602.34826.qm@web50205.mail.re2.yahoo.com> References: <712602.34826.qm@web50205.mail.re2.yahoo.com> Message-ID: On 12 Mar, 2008, at 12:07, Olga Lyashevskaya wrote: >> Have you upgraded to Leopard recently? If so, did >> you install the new >> version of Xcode? This kind of error often appears >> when people try to >> use Tiger's Xcode on Leopard. > > It is a new iMac, and it came with Leopard on it, so I > presume that Xcode must be ok. How can I check it? > > How can I install things with MacPorts? Sorry for my > ignorance, I am not very experienced with Mac. So far > I worked mostly on Linux, and now by using MacPorts I > just want to be able to use programs which are > originally developed for Linux (like dia in this case) If it's brand new, it probably doesn't have Xcode (most Mac users don't have a need for a compiler and development environment, but MacPorts does). You'll need to install Xcode 3.0, either from the CDs that came with the computer, or [Apple's developer site][1]. [1] http://developer.apple.com/tools/download/ Regards, Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080312/a48c8151/attachment.bin From waterson at maubi.net Wed Mar 12 10:01:59 2008 From: waterson at maubi.net (Chris Waterson) Date: Wed, 12 Mar 2008 10:01:59 -0700 Subject: adding self to cc list on tickets? Message-ID: <06936113-CE99-471A-8BE5-E4925BCF7109@maubi.net> (Apologies in advance for the newbie question...) Is there a way to add oneself to the cc list of a MacPorts Trac ticket that you didn't create? thanks! chris From wsiegrist at apple.com Wed Mar 12 10:15:05 2008 From: wsiegrist at apple.com (William Siegrist) Date: Wed, 12 Mar 2008 10:15:05 -0700 Subject: adding self to cc list on tickets? In-Reply-To: <06936113-CE99-471A-8BE5-E4925BCF7109@maubi.net> References: <06936113-CE99-471A-8BE5-E4925BCF7109@maubi.net> Message-ID: <0C809863-6D68-4E8D-8467-AA6306150C90@apple.com> No, Trac's permissions arent granular enough for what we want, so until I or someone else comes up with a plugin to work around it you just need to ask a developer to add you.... So which ticket are you interested in? -Bill On Mar 12, 2008, at 10:01 AM, Chris Waterson wrote: > (Apologies in advance for the newbie question...) > > Is there a way to add oneself to the cc list of a MacPorts Trac ticket > that you didn't create? > > thanks! > chris > _______________________________________________ > 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/20080312/dd222240/attachment-0001.bin From tomc at sounddsl.com Wed Mar 12 10:23:44 2008 From: tomc at sounddsl.com (Thomas Condon) Date: Wed, 12 Mar 2008 10:23:44 -0700 Subject: Apache Questions [was PHP Problems] Message-ID: <47D811A0.6090600@sounddsl.com> Folks, I got some great suggestions a while back about what may be wrong with my PHP5 port and why it wasn't running. However, I still can't make it work. I think the problem may be in Apache itself - my setup, not the port - because when I try to open an html file on my machine using: http://localhost it comes back with: ********************* Unable to connect Firefox can't establish a connection to the server at localhost. * The site could be temporarily unavailable or too busy. Try again in a few moments. * If you are unable to load any pages, check your computer's network connection. * If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. ********************* Likewise, if I use my local network IP: http://10.0.0.2 it still can't connect. If I open the files directly (via Finder) with Firefox they work fine, but with: file::://opt/local/apache2/htdocs/index.html as the URL, so I know it isn't going through Apache for that. Running the port installed command searching for apache comes up with: Mac-The-Knife:/opt/local/apache2/htdocs Captain$ port installed | grep apache2 apache2 @2.2.8_0 (active) php5 @5.2.5_1+apache2+macosx+mysql5 (active) If I read this correctly it means that Apache2 should be running. I would appreciate any help I can get on this problem. In A Chord, Tom Condon Bass, Agate Passage Quartet Bass & Proud Member, Kitsap Chordsmen Dir. Music Education, Evergreen District, BHS From hippely at gmail.com Wed Mar 12 10:39:35 2008 From: hippely at gmail.com (Matt Hippely) Date: Wed, 12 Mar 2008 11:39:35 -0600 Subject: Apache Questions [was PHP Problems] In-Reply-To: <47D811A0.6090600@sounddsl.com> References: <47D811A0.6090600@sounddsl.com> Message-ID: Did you check to see if apache was running/started? I am not an expert but here is what I would try... I'm not sure what version of OSX you are running but I have the latest version of Tiger, fyi. Here is what I see when I run the following commands from terminal: ps -aux | grep httpd I get results like: ... www 158 0.0 -0.3 46292 6036 ?? S Sat05PM 0:04.42/opt/local/apache2/bin/httpd -k start ... if you dont see any httpd daemons in your process list, then apache might not be running. You can start it by issuing the command /opt/local/apache2/bin/apachectl start Then check to see if localhost works in your browser. On Wed, Mar 12, 2008 at 11:23 AM, Thomas Condon wrote: > > Folks, > > I got some great suggestions a while back about what may be wrong with > my PHP5 port and why it wasn't running. However, I still can't make it > work. > > I think the problem may be in Apache itself - my setup, not the port - > because when I try to open an html file on my machine using: > http://localhost > > it comes back with: > > ********************* > Unable to connect > > Firefox can't establish a connection to the server at localhost. > > * The site could be temporarily unavailable or too busy. Try > again in a few moments. > * If you are unable to load any pages, check your computer's > network connection. > * If your computer or network is protected by a firewall or > proxy, make sure that Firefox is permitted to access the Web. > ********************* > > Likewise, if I use my local network IP: > http://10.0.0.2 > > it still can't connect. > > If I open the files directly (via Finder) with Firefox they work fine, > but with: > file::://opt/local/apache2/htdocs/index.html > as the URL, so I know it isn't going through Apache for that. > > Running the port installed command searching for apache comes up with: > > Mac-The-Knife:/opt/local/apache2/htdocs Captain$ port installed | grep > apache2 > apache2 @2.2.8_0 (active) > php5 @5.2.5_1+apache2+macosx+mysql5 (active) > > If I read this correctly it means that Apache2 should be running. > > I would appreciate any help I can get on this problem. > > > In A Chord, > > Tom Condon > Bass, Agate Passage Quartet > Bass & Proud Member, Kitsap Chordsmen > Dir. Music Education, Evergreen District, BHS > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080312/9d0e320d/attachment.html From wsiegrist at apple.com Wed Mar 12 10:40:25 2008 From: wsiegrist at apple.com (William Siegrist) Date: Wed, 12 Mar 2008 10:40:25 -0700 Subject: Apache Questions [was PHP Problems] In-Reply-To: <47D811A0.6090600@sounddsl.com> References: <47D811A0.6090600@sounddsl.com> Message-ID: <3C72D02E-A4CE-4B34-B426-6C7897AF89F9@apple.com> Just because its installed doesnt mean its running. Do you see any httpd processes running when you run "ps auxwww | grep http"? Is anything listening on port 80 when you run "netstat -an"? You probably need to load the launch daemon that got installed. Some help text about this should have popped up during "port install", but you might try: sudo launchctl load -w /Library/LaunchDaemon/org.macports.apache2.plist -Bill On Mar 12, 2008, at 10:23 AM, Thomas Condon wrote: > > Folks, > > I got some great suggestions a while back about what may be wrong with > my PHP5 port and why it wasn't running. However, I still can't make > it > work. > > I think the problem may be in Apache itself - my setup, not the port - > because when I try to open an html file on my machine using: > http://localhost > > it comes back with: > > ********************* > Unable to connect > > Firefox can't establish a connection to the server at localhost. > > * The site could be temporarily unavailable or too busy. Try > again in a few moments. > * If you are unable to load any pages, check your computer's > network connection. > * If your computer or network is protected by a firewall or > proxy, make sure that Firefox is permitted to access the Web. > ********************* > > Likewise, if I use my local network IP: > http://10.0.0.2 > > it still can't connect. > > If I open the files directly (via Finder) with Firefox they work fine, > but with: > file::://opt/local/apache2/htdocs/index.html > as the URL, so I know it isn't going through Apache for that. > > Running the port installed command searching for apache comes up with: > > Mac-The-Knife:/opt/local/apache2/htdocs Captain$ port installed | grep > apache2 > apache2 @2.2.8_0 (active) > php5 @5.2.5_1+apache2+macosx+mysql5 (active) > > If I read this correctly it means that Apache2 should be running. > > I would appreciate any help I can get on this problem. > > > In A Chord, > > Tom Condon > Bass, Agate Passage Quartet > Bass & Proud Member, Kitsap Chordsmen > Dir. Music Education, Evergreen District, BHS > _______________________________________________ > 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/20080312/cdda1964/attachment.bin From zavpublic at mac.com Wed Mar 12 11:30:56 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Wed, 12 Mar 2008 13:30:56 -0500 Subject: Unable to execute port: can't read "sysroot": no such variable In-Reply-To: References: <712602.34826.qm@web50205.mail.re2.yahoo.com> Message-ID: > On 12 Mar, 2008, at 12:07, Olga Lyashevskaya wrote: >>> Have you upgraded to Leopard recently? If so, did >>> you install the new >>> version of Xcode? This kind of error often appears >>> when people try to >>> use Tiger's Xcode on Leopard. If you don't have a Developer folder at your hard drive's root level, then you don't have Xcode. If there isn't an app called Xcode in the Applications folder within the Developer folder then that's another telling sign. Cheers, - Alex Zavatone From tomc at sounddsl.com Wed Mar 12 12:31:24 2008 From: tomc at sounddsl.com (Thomas Condon) Date: Wed, 12 Mar 2008 12:31:24 -0700 Subject: Apache Questions [was PHP Problems] In-Reply-To: References: <47D811A0.6090600@sounddsl.com> Message-ID: <47D82F8C.8000604@sounddsl.com> Matt Hippely wrote: > Did you check to see if apache was running/started? I am not an expert but > here is what I would try... > I'm not sure what version of OSX you are running but I have the latest > version of Tiger, fyi. Here is what I see when I run the following commands > from terminal: > ps -aux | grep httpd > I get results like: > ... > www 158 0.0 -0.3 46292 6036 ?? S Sat05PM > 0:04.42/opt/local/apache2/bin/httpd -k start > ... > > > if you dont see any httpd daemons in your process list, then apache might > not be running. You can start it by issuing the command > /opt/local/apache2/bin/apachectl start > Then check to see if localhost works in your browser. Thanks Matt & William. That did the trick. I think that the machine locked up after the port finished running, but before I got around to readying what was on the screen. So after re-boot I found it installed and active (according to the port command), but that apparently does not mean it is running. Curious difference, that. Anyway, after adding a symbolic link to my directory there is joy in Mudville! Thanks, again, to all who helped me along. In A Chord, Tom Condon Bass, Agate Passage Quartet Bass & Proud Member, Kitsap Chordsmen Dir. Music Education, Evergreen District, BHS From ryandesign at macports.org Wed Mar 12 13:56:52 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 12 Mar 2008 15:56:52 -0500 Subject: Apache Questions [was PHP Problems] In-Reply-To: <47D82F8C.8000604@sounddsl.com> References: <47D811A0.6090600@sounddsl.com> <47D82F8C.8000604@sounddsl.com> Message-ID: On Mar 12, 2008, at 14:31, Thomas Condon wrote: > I think that the machine locked up after the port finished running, > but > before I got around to readying what was on the screen. So after > re-boot I found it installed and active (according to the port > command), > but that apparently does not mean it is running. Curious > difference, that. "active" means a port is installed and ready for you to use. Most ports don't have daemon processes that stay running. Those that do provide launchd plists, which you can use launchctl to start and stop as desired. From ryandesign at macports.org Wed Mar 12 13:59:51 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 12 Mar 2008 15:59:51 -0500 Subject: Unable to execute port: can't read "sysroot": no such variable In-Reply-To: <281326.57995.qm@web50207.mail.re2.yahoo.com> References: <281326.57995.qm@web50207.mail.re2.yahoo.com> Message-ID: <57D60653-BB4E-4D59-A841-8455F077C57D@macports.org> On Mar 12, 2008, at 06:45, Olga Lyashevskaya wrote: > Thank you, Ryan > > Ryan Schmidt wrote: > >> You may have outdated ports or an outdated MacPorts. >> Please >> selfupdate and try again: >> sudo port selfupdate > > > e7253:~ olichka$ sudo port selfupdate > > MacPorts base version 1.5 installed > > Downloaded MacPorts base version 1.600 Ok, so your MacPorts was outdated. MacPorts 1.5 did not contain the sysroot variable which the port you're trying to install wants to use. So you need to update to MacPorts 1.6, which selfupdate should do... > Configuring, Building and Installing new MacPorts base > > Error: /opt/local/bin/port: selfupdate failed: Error > installing new MacPorts base: shell command "cd > /opt/local/var/macports/sources/rsync.macports.org/release/base > && ./configure --prefix=/opt/local > --with-install-user=root --with-install-group=admin > --with-tclpackage=/Library/Tcl && make && make > install" returned error 1 > > Command output: checking build system type... > i686-apple-darwin9.2.0 > > checking host system type... i686-apple-darwin9.2.0 > > checking target system type... i686-apple-darwin9.2.0 > > checking for sw_vers... sw_vers > > checking Mac OS X version... 10.5.2 > > checking MacPorts version... 1.6.0 > > checking for gcc... no > > checking for cc... no > > checking for cl.exe... no > > configure: error: no acceptable C compiler found in > $PATH > > See `config.log' for more details. ...except it can't because you have no acceptable C compiler installed. Install Xcode 3 to get the gcc compiler, then try the selfupdate again. From ryandesign at macports.org Wed Mar 12 14:07:17 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 12 Mar 2008 16:07:17 -0500 Subject: error during installation of macport In-Reply-To: <2F726996-A848-4EF3-B2F6-1CC736391721@free.fr> References: <27A234AB-EB07-4D6A-A04E-BB595B274FFC@free.fr> <799406d60803091717sd24a06nb514b7383c809780@mail.gmail.com> <2F726996-A848-4EF3-B2F6-1CC736391721@free.fr> Message-ID: On Mar 11, 2008, at 22:14, Thomas De Contes wrote: > Le 10 mars 08 ? 01:17, Adam Mercer a ?crit : > >> Looks like a readline issue, do you happen to have a local readline >> installed in /usr/local or somewhere else? > > you're right :-) > > $ locate readline > /usr/include/readline > /usr/include/readline/history.h > /usr/include/readline/readline.h > /usr/lib/libreadline.dylib Those are a normal part of the OS and should be fine. Adam was talking about different and possibly old or incompatible versions of readline that some people end up with in /usr/local. >> Try adding >> --enable-readline to the configure call. > > thank you, it works :-) Strange. > but, it's not noticed in http://www.macports.org/install.php#source But it says: To customize your installation you should read the output of "./configure --help | more" > what could install readline ? a mac os x update ? > > > approximately 6 months ago, i installed macports on the same computer > without problem > > will i need "--enable-readline" for any computer, or only for a few > cases ? 6 months ago, there was no --enable-readline switch in MacPorts, and it always enabled readline. The default was changed to not enable readline support, and only do it at a user's request. See r31139, r31140, r31161. Ironically, this was supposed to *eliminate* readline- related problems, not cause them. So something must've gone wrong. Without --enable-readline, MacPorts should not be looking for any kind of readline files. From ryandesign at macports.org Wed Mar 12 14:45:19 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 12 Mar 2008 16:45:19 -0500 Subject: MacPorts dmg installer hangs up, does not finish ? In-Reply-To: References: <47D57B52.2030800@macports.org> Message-ID: <77320BC7-E067-4E1F-847D-4E171325C674@macports.org> On Mar 10, 2008, at 13:56, Bill Hernandez wrote: > On Mar 10, 2008, at 1:17 PM, Rainer M?ller wrote: > >> Bill Hernandez wrote: >> >>> I am running OS X 10.5.2 on an iMacG5 pentium machine. >>> I just downloaded MacPorts-1.6.0.pkg and tried to install it >>> several times, but it always hangs up with the progress indicator >>> about 3/4 of the way through, and never finishes. >> >> The Installer.app provides a log (Window -> Installer Log), what >> does it say there? > > I downloaded the MacPorts-1.6.0.pkg again, and this time it installed > after several minutes. > > After the installer finished I tried : > > $ sudo port -v selfupdate > Password: > Synchronizing local ports tree from rsync://rsync.macports.org/ > release/ > ports/ > > but here the terminal hangs up. (it hasn't done anything for about 10 > minutes) Does your network allow traffic on the rsync port? From ryandesign at macports.org Wed Mar 12 14:50:28 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 12 Mar 2008 16:50:28 -0500 Subject: 'rsync' failure trying to install MacPorts 1.6.0 In-Reply-To: References: Message-ID: On Mar 11, 2008, at 04:58, Dushan Mitrovich wrote: > I had downloaded the MacPorts-1.6.0.dmg file but failed trying to > install > it on my Mac Pro system (4 processors), apparently because 'rsync' > failed. > > This appears to be the same problem that Bill Hernandez wrote about > ear- > lier, but I didn't see any solution offered. Is there one? > > Below are the particulars of my system, and what I've tried. > Thanks for > all help and suggestions. > > - Dushan Mitrovich > > =========================================== > > I'm running OS X.4.11, build 852167, and have installed both X11 > (from the > Mac OSX install disk) and Xcode 2.5 (downloaded from the Apple > site), in > that order. X11user and X11sdk both show up in the /Library/Receipts > directory. The result of typing 'uname -a' in Terminal (for > clarity the > lines are indented and wrapped, with the continuation lines > indented an > extra 2 spaces; the first line and the '=>' on the second are part > of the > prompt): > > --------------------- begin ---------------------- > [~]$ > => uname -a > Darwin Mac-Mar08 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 > --------------------- end ---------------------- > > Neither '/usr/local' nor '/sw' directories exist. > > > During the MacPorts install (I have an admin account) the progress bar > went quickly to about the 80% point, then stalled, and then gave > way to > a message that there was an error during the install and to try again. > Here are the contents of the MacPorts install log file: > > --------------------- begin ---------------------- > Mar 10 11:55:30 Mac-Mar08 : Localized installer scripts detected > in the > MacPorts-1.6.0 package. Switching to compatibility mode. > Mar 10 11:55:42 Mac-Mar08 : Localized installer scripts detected > in the > MacPorts-1.6.0 package. Switching to compatibility mode. > Mar 10 11:56:21 Mac-Mar08 : Localized installer scripts detected > in the > MacPorts-1.6.0 package. Switching to compatibility mode. > Mar 10 11:56:21 Mac-Mar08 : Localized installer script preflight > found in > the MacPorts-1.6.0 package. Using compatibility mode. > Mar 10 11:56:21 Mac-Mar08 : Localized installer script postflight > found in > the MacPorts-1.6.0 package. Using compatibility mode. > Mar 10 11:56:22 Mac-Mar08 : Localized installer script preflight > found in > the MacPorts-1.6.0 package. Using compatibility mode. > Mar 10 11:56:22 Mac-Mar08 : Localized installer script postflight > found in > the MacPorts-1.6.0 package. Using compatibility mode. > Mar 10 11:57:39 Mac-Mar08 : Install failed: The following install > step > failed: run postflight script for MacPorts > --------------------- end ---------------------- > > > Next I tried to execute the 'postflight' file manually from > Terminal. That > also failed. Here is the transscript of that attempt (the first > line below > shows the directory): > > --------------------- begin ---------------------- > [/Volumes/MacPorts-1.6.0/MacPorts-1.6.0.pkg/Contents/Resources/ > English.lproj]$ > => ./postflight > > Checking the shell environment for user "dushanm"... > > /bin/bash: line 11: 0: command not found > Your shell already has the right MANPATH environment variable for > use with > MacPorts! > Your shell already has the right DISPLAY environment variable for > use with > MacPorts! > > Synchronizing the MacPorts installation with the project's rsync > server... > > Synchronizing local ports tree from rsync://rsync.macports.org/ > release/ports/ > rsync: failed to connect to rsync.macports.org: Operation timed > out (60) > rsync error: error in socket IO (code 10) at > /SourceCache/rsync/rsync-24.1/rsync/clientserver.c(94) > Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync > the ports > tree: Synchronization the local ports tree failed doing rsync > An attempt to synchronize your recent MacPorts installation with > the project's > rsync server failed! > Please run 'port -d selfupdate' manually to find out the cause of > the error. > --------------------- end ---------------------- > > > When I ran 'port' from the /opt/local/bin directory, I got: > > --------------------- begin ---------------------- > [/opt/local/bin]$ > => ./port -d selfupdate > 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 > rsync: failed to connect to rsync.macports.org: Operation timed > out (60) > rsync error: error in socket IO (code 10) at > /SourceCache/rsync/rsync-24.1/rsync/clientserver.c(94) > DEBUG: Couldn't sync the ports tree: Synchronization the local > ports tree failed > doing rsync > while executing > "macports::selfupdate [array get global_options]" > Error: ./port: port selfupdate failed: Couldn't sync the ports > tree: Synchronization > the local ports tree failed doing rsync > --------------------- end ---------------------- Same question to you that I asked to Bill. Does your network allow traffic on the rsync port? From zavpublic at mac.com Wed Mar 12 14:51:04 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Wed, 12 Mar 2008 16:51:04 -0500 Subject: MacPorts dmg installer hangs up, does not finish ? In-Reply-To: <77320BC7-E067-4E1F-847D-4E171325C674@macports.org> References: <47D57B52.2030800@macports.org> <77320BC7-E067-4E1F-847D-4E171325C674@macports.org> Message-ID: <50BA724E-0723-4561-B330-E5E807E970F6@mac.com> On Mar 12, 2008, at 4:45 PM, Ryan Schmidt wrote: > On Mar 10, 2008, at 13:56, Bill Hernandez wrote: > >> On Mar 10, 2008, at 1:17 PM, Rainer M?ller wrote: >> >>> Bill Hernandez wrote: >>> >>>> I am running OS X 10.5.2 on an iMacG5 pentium machine. >>>> I just downloaded MacPorts-1.6.0.pkg and tried to install it >>>> several times, but it always hangs up with the progress indicator >>>> about 3/4 of the way through, and never finishes. >> You know you wrote an iMacG5 pentium machine, right? Which doesn't exist. I'm sure you meant PPC, instead of pentium. By the way, wait for about 5 minutes and it will be done by the time you get back from making coffee. You might have to create a file after you are done. I had to. Let me/ us know after it installs if you can do the "sudo port selfupdate". Cheers, - Alex From wsiegrist at apple.com Wed Mar 12 14:55:36 2008 From: wsiegrist at apple.com (William Siegrist) Date: Wed, 12 Mar 2008 14:55:36 -0700 Subject: MacPorts dmg installer hangs up, does not finish ? In-Reply-To: <77320BC7-E067-4E1F-847D-4E171325C674@macports.org> References: <47D57B52.2030800@macports.org> <77320BC7-E067-4E1F-847D-4E171325C674@macports.org> Message-ID: <979A3263-49C2-47EB-9AC4-354E973DCA8E@apple.com> The rsync repo gets sluggish around 4-5am PDT every day due to server backups and maintenance. I'm actually going to try spreading out some of the load throughout the day to help... But right now, you can expect the selfupdate and syncs to take up to 10m. Normally on average they take 1-3m for me during the day. I was thinking that the progress bar on the installer could be changed or some rsync verbose output added to make it not seem like a hang, but the performance is also an issue, and I am working on it. Thanks -Bill On Mar 12, 2008, at 2:45 PM, Ryan Schmidt wrote: > On Mar 10, 2008, at 13:56, Bill Hernandez wrote: > >> On Mar 10, 2008, at 1:17 PM, Rainer M?ller wrote: >> >>> Bill Hernandez wrote: >>> >>>> I am running OS X 10.5.2 on an iMacG5 pentium machine. >>>> I just downloaded MacPorts-1.6.0.pkg and tried to install it >>>> several times, but it always hangs up with the progress indicator >>>> about 3/4 of the way through, and never finishes. >>> >>> The Installer.app provides a log (Window -> Installer Log), what >>> does it say there? >> >> I downloaded the MacPorts-1.6.0.pkg again, and this time it installed >> after several minutes. >> >> After the installer finished I tried : >> >> $ sudo port -v selfupdate >> Password: >> Synchronizing local ports tree from rsync://rsync.macports.org/ >> release/ >> ports/ >> >> but here the terminal hangs up. (it hasn't done anything for about 10 >> minutes) > > Does your network allow traffic on the rsync port? > > _______________________________________________ > 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/20080312/794800d8/attachment-0001.bin From ryandesign at macports.org Wed Mar 12 17:19:05 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 12 Mar 2008 19:19:05 -0500 Subject: Follow up re: Installation issues, Leopard Quad G5, 1.6.0 DMG In-Reply-To: <8B46CE3F-E3E0-4BD3-A2EE-B549212BACD4@mac.com> References: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> <8B46CE3F-E3E0-4BD3-A2EE-B549212BACD4@mac.com> Message-ID: <3698BB5A-922C-4D70-8775-9B0137972EA9@macports.org> On Mar 11, 2008, at 14:42, Alex Zavatone wrote: > On Mar 11, 2008, at 1:23 PM, Adrian Nier wrote: > >> you need to create a missing file or give the full path to the port >> executable. The latter solution means that you have to enter the >> following on the command line: >> >> sudo /opt/local/bin/port -d selfupdate > > Ok, I rebooted and that worked. Cool. > >> The better solution is to create a file called '.profile' in your >> home directory. In this file you specify additional directories that >> are to be scanned for executables and manual entries. The MacPorts >> installation fails to create this file, so you have to create it >> manually. > > Awesome. Works like a charm on my other mac. Why doesn't the .DMG > installer do this? > > No "non compiler friendly" user is going to be able to get up and > running without this information. There is a bug in the 1.6.0 dmg installer with the creation of the .profile file, which has already been fixed in trunk, but we have not yet released the new version. I believe our release manager is a bit busy with other tasks and hasn't had the time to make a new release. From ryandesign at macports.org Wed Mar 12 17:21:13 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 12 Mar 2008 19:21:13 -0500 Subject: Installation issues, Leopard Quad G5, 1.6.0 DMG In-Reply-To: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> References: <0C66BAE7-E389-4E44-98E7-05603E7E01ED@mac.com> Message-ID: On Mar 11, 2008, at 11:14, Alex Zavatone wrote: > Also, some of the docs say to use -d, others say -v. A little > inconsistency there. -v is verbose output. -d is debug output, which includes all the verbose output and a little more. Use whichever you like, or neither. From d.l.tDeContes at free.fr Wed Mar 12 18:10:19 2008 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Wed Mar 12 20:03:35 2008 Subject: error during installation of macport In-Reply-To: References: <27A234AB-EB07-4D6A-A04E-BB595B274FFC@free.fr> <799406d60803091717sd24a06nb514b7383c809780@mail.gmail.com> <2F726996-A848-4EF3-B2F6-1CC736391721@free.fr> Message-ID: <1A6EB8CB-5C4B-440D-83BE-E60F4A467AAD@free.fr> Le 12 mars 08 ? 22:07, Ryan Schmidt a ?crit : > On Mar 11, 2008, at 22:14, Thomas De Contes wrote: > >> Le 10 mars 08 ? 01:17, Adam Mercer a ?crit : >> >>> Looks like a readline issue, do you happen to have a local readline >>> installed in /usr/local or somewhere else? >> >> you're right :-) >> >> $ locate readline >> /usr/include/readline >> /usr/include/readline/history.h >> /usr/include/readline/readline.h >> /usr/lib/libreadline.dylib > > Those are a normal part of the OS and should be fine. Adam was > talking about different and possibly old or incompatible versions > of readline that some people end up with in /usr/local. no, nothing in /usr/local, but, i just think, i had readline already installed by macports, can it be the cause ? here is my script : http://dl.free.fr/gKF9RMNwH/installer-macports i tried to make a script which is able both to install or to update macports, without the need for the user to tell what to do i think i succeeded, except that it is economist neither in time nor in disk space >>> Try adding >>> --enable-readline to the configure call. >> >> thank you, it works :-) > > Strange. > >> but, it's not noticed in http://www.macports.org/install.php#source > > But it says: To customize your installation you should read the > output of "./configure --help | more" i use --prefix, --with-install-user and --with-install-group, but i think i needn't anything else moreover, 6 months ago it worked fine do you thing i may need someting without knowing that ? (i'm searching wheather i could find all of that myself) > >> what could install readline ? a mac os x update ? >> >> >> approximately 6 months ago, i installed macports on the same computer >> without problem >> >> will i need "--enable-readline" for any computer, or only for a few >> cases ? > > 6 months ago, there was no --enable-readline switch in MacPorts, > and it always enabled readline. The default was changed to not > enable readline support, and only do it at a user's request. See > r31139, r31140, r31161. Ironically, this was supposed to > *eliminate* readline-related problems, not cause them. So something > must've gone wrong. Without --enable-readline, MacPorts should not > be looking for any kind of readline files. curious, in the ./configure phase i got : checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes i have a computer to test MacPorts before put it on my working computer, so if you need ... -- j'agis contre l'assistanat, je travaille dans une SCOP ! From d.l.tDeContes at free.fr Wed Mar 12 19:20:10 2008 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Wed Mar 12 20:15:25 2008 Subject: 'rsync' failure trying to install MacPorts 1.6.0 In-Reply-To: References: Message-ID: Le 12 mars 08 ? 22:50, Ryan Schmidt a ?crit : > On Mar 11, 2008, at 04:58, Dushan Mitrovich wrote: > >> When I ran 'port' from the /opt/local/bin directory, I got: >> >> --------------------- begin ---------------------- >> [/opt/local/bin]$ >> => ./port -d selfupdate >> 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 >> rsync: failed to connect to rsync.macports.org: Operation timed >> out (60) >> rsync error: error in socket IO (code 10) at >> /SourceCache/rsync/rsync-24.1/rsync/clientserver.c(94) >> DEBUG: Couldn't sync the ports tree: Synchronization the local >> ports tree failed >> doing rsync >> while executing >> "macports::selfupdate [array get global_options]" >> Error: ./port: port selfupdate failed: Couldn't sync the ports >> tree: Synchronization >> the local ports tree failed doing rsync >> --------------------- end ---------------------- > > Same question to you that I asked to Bill. Does your network allow > traffic on the rsync port? $ port selfupdate Error: /Users/thomas/Documents/prgm/bin/autoinstall/macports/bin/ port: port selfupdate failed: Couldn't sync the ports tree: Synchronization the local ports tree failed doing rsync it worked 2 days ago -- j'agis contre l'assistanat, je travaille dans une SCOP ! From wsiegrist at apple.com Wed Mar 12 20:27:44 2008 From: wsiegrist at apple.com (William Siegrist) Date: Wed Mar 12 20:27:28 2008 Subject: 'rsync' failure trying to install MacPorts 1.6.0 In-Reply-To: References: Message-ID: The servers were down for a planned move, I think you might have tried during that. Just to check for a firewall, does this result in a connection? $ telnet rsync.macports.org 873 Trying 17.254.17.246... Connected to alpha.macosforge.org. Escape character is '^]'. @RSYNCD: 29 -Bill On Mar 12, 2008, at 7:20 PM, Thomas De Contes wrote: > > Le 12 mars 08 ? 22:50, Ryan Schmidt a ?crit : > >> On Mar 11, 2008, at 04:58, Dushan Mitrovich wrote: >> >>> When I ran 'port' from the /opt/local/bin directory, I got: >>> >>> --------------------- begin ---------------------- >>> [/opt/local/bin]$ >>> => ./port -d selfupdate >>> 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 >>> rsync: failed to connect to rsync.macports.org: Operation timed >>> out (60) >>> rsync error: error in socket IO (code 10) at >>> /SourceCache/rsync/rsync-24.1/rsync/clientserver.c(94) >>> DEBUG: Couldn't sync the ports tree: Synchronization the local >>> ports tree failed >>> doing rsync >>> while executing >>> "macports::selfupdate [array get global_options]" >>> Error: ./port: port selfupdate failed: Couldn't sync the ports >>> tree: Synchronization >>> the local ports tree failed doing rsync >>> --------------------- end ---------------------- >> >> Same question to you that I asked to Bill. Does your network allow >> traffic on the rsync port? > > $ port selfupdate > Error: /Users/thomas/Documents/prgm/bin/autoinstall/macports/bin/ > port: port selfupdate failed: Couldn't sync the ports tree: > Synchronization the local ports tree failed doing rsync > > it worked 2 days ago > > > -- > j'agis contre l'assistanat, je travaille dans une SCOP ! > > > _______________________________________________ > macports-users mailing list > macports-users@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo/macports-users ---- William Siegrist Software Support Engineer Mac OS Forge http://macosforge.org/ wsiegrist@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/20080312/460068c8/smime.bin From olgalyashevskaya at yahoo.com Thu Mar 13 03:19:02 2008 From: olgalyashevskaya at yahoo.com (Olga Lyashevskaya) Date: Thu Mar 13 03:18:41 2008 Subject: Unable to execute port: can't read "sysroot": no such variable In-Reply-To: <57D60653-BB4E-4D59-A841-8455F077C57D@macports.org> Message-ID: <4281.84598.qm@web50208.mail.re2.yahoo.com> Just to close this thread I would like to thank you all for your help. The problem is solved, I managed to install my little programm. Thanks, Olga ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ From j.van_den_hoff at fzd.de Thu Mar 13 03:44:10 2008 From: j.van_den_hoff at fzd.de (Joerg van den Hoff) Date: Thu Mar 13 03:43:59 2008 Subject: urxvt: installing files outside common directory structure Message-ID: <20080313104410.GA8188@marco.fz-rossendorf.de> during upgrade of `rxvt-unicode' I've got the warning "rxvt-unicode requests to install files outside the common directory structure!" simple question: and where might that be?? I need to know in order to get the mirroring of the ports tree from desktop to labtop machine via `rsync' right (much faster than installing everything twice...). I propose to modify the above warning and explicitly state (IN CAPS) what files are installed where outside `/opt/local'. thanks joerg ps: don't laught at the Cc address ... From j.van_den_hoff at fzd.de Thu Mar 13 04:11:27 2008 From: j.van_den_hoff at fzd.de (Joerg van den Hoff) Date: Thu Mar 13 04:11:03 2008 Subject: libiconv problems after urxvt upgrade Message-ID: <20080313111127.GB8188@marco.fz-rossendorf.de> during upgrade from urxvt8.7 to the current version I got the error message ===================================CUT======================================== Portfile changed since last build; discarding previous state. ---> Fetching libiconv ---> Verifying checksum(s) for libiconv ---> Extracting libiconv ---> Applying patches to libiconv ---> Configuring libiconv ---> Building libiconv with target all ---> Staging libiconv into destroot ---> Packaging tgz archive for libiconv 1.12_0+darwin_8 ---> Deactivating libiconv 1.11_0 Error: Deactivating libiconv 1.11_0 failed: Active version of libiconv is not 1.11_0 but 1.11_0+darwin_8. ===================================CUT======================================== after which install proceded (apparently successful). trying to start `urxvt' now throws the error: ===================================CUT======================================== dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib Referenced from: /opt/local/lib/libXft.2.dylib Reason: Incompatible library version: libXft.2.dylib requires version 7.0.0 or later, but libiconv.2.dylib provides version 5.0.0 Trace/BPT trap ===================================CUT======================================== trying a `sudo port deactivate libiconv@1.11_0+darwin_8' yielded ===================================CUT======================================== Error: port deactivate failed: Registry error: libiconv not registered as installed & active. ===================================CUT======================================== which seems inconsistent with the error message during urxvt install. after a `sudo port activate libiconv@1.12' now everything seems to work, but the above messages seems to hint at some grade of corruption of the internal state of port. is this the case? can I sanitize/check it somehow without purging everything? I also notice that many packages appear both with `port list active' _and_ `port list inactive'. how can this be? and a last question: the "active" ports are the only one in use or are "inactive" ones (especially libs) secretly used by other ports? I noted that a tentative `sudo port uninstall libiconv@1.11_0+darwin_8' showed me lots of ports depending on it which would need prior uninstall. I understand that different versions of libs are needed at the same time but why, then, is one declared "active" the others "inactive"? so in short what's the difference between "active" and "inactive", especially for libs? joerg From lists at simonwheatley.co.uk Thu Mar 13 04:21:08 2008 From: lists at simonwheatley.co.uk (Simon Wheatley) Date: Thu Mar 13 04:20:48 2008 Subject: Installing Apache2 fails due to unfetchable files Message-ID: <47D90E24.7050200@simonwheatley.co.uk> Hi, I'm trying to install Apache2, and it is failing with the following error: > ---> Attempting to fetch db-4.4.20.tar.gz from > http://svn.macports.org/repository/macports/downloads/db44 > Error: Target org.macports.fetch returned: fetch failed Browsing to this location reveals that there is indeed nothing there. I have run port selfupdate, and port sync (for good luck rather than actual use), and believe I am up to date with everything. Any suggestions please? Thanks, S From j.van_den_hoff at fzd.de Thu Mar 13 05:50:24 2008 From: j.van_den_hoff at fzd.de (Joerg van den Hoff) Date: Thu Mar 13 05:50:04 2008 Subject: libiconv problems after urxvt upgrade (II) In-Reply-To: <20080313111127.GB8188@marco.fz-rossendorf.de> References: <20080313111127.GB8188@marco.fz-rossendorf.de> Message-ID: <20080313125024.GA14213@marco.fz-rossendorf.de> On Thu, Mar 13, 2008 at 12:11:27PM +0100, Joerg van den Hoff wrote: > during upgrade from urxvt8.7 to the current version I got the error message > > ===================================CUT======================================== > Portfile changed since last build; discarding previous state. > ---> Fetching libiconv > ---> Verifying checksum(s) for libiconv > ---> Extracting libiconv > ---> Applying patches to libiconv > ---> Configuring libiconv > ---> Building libiconv with target all > ---> Staging libiconv into destroot > ---> Packaging tgz archive for libiconv 1.12_0+darwin_8 > ---> Deactivating libiconv 1.11_0 > Error: Deactivating libiconv 1.11_0 failed: Active version of libiconv is not 1.11_0 but 1.11_0+darwin_8. > ===================================CUT======================================== > after which install proceded (apparently successful). > > trying to start `urxvt' now throws the error: > ===================================CUT======================================== > dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib > Referenced from: /opt/local/lib/libXft.2.dylib > Reason: Incompatible library version: libXft.2.dylib requires version 7.0.0 > or later, but libiconv.2.dylib provides version 5.0.0 Trace/BPT trap > ===================================CUT======================================== > > trying a > > `sudo port deactivate libiconv@1.11_0+darwin_8' > > yielded > ===================================CUT======================================== > Error: port deactivate failed: Registry error: libiconv not registered as > installed & active. > ===================================CUT======================================== > which seems inconsistent with the error message during urxvt install. > > after a `sudo port activate libiconv@1.12' now everything seems to work, but > the above messages seems to hint at some grade of corruption of the internal state of > port. is this the case? can I sanitize/check it somehow without purging > everything? > > I also notice that many packages appear both with > `port list active' _and_ `port list inactive'. how can this be? > > and a last question: the "active" ports are the only one in use or are > "inactive" ones (especially libs) secretly used by other ports? I noted > that a tentative > > `sudo port uninstall libiconv@1.11_0+darwin_8' > > showed me lots of ports depending on it which would need prior uninstall. > I understand that different versions of libs are needed at the same time but > why, then, is one declared "active" the others "inactive"? > > so in short what's the difference between "active" and "inactive", especially > for libs? > > > joerg hi again, "answering" my own mail keeps it in this thread at least: in the meantime I had to realize that `w3m' (which was complaining just as `urxvt' before I manually activated libiconv1.12) contrary to `urxvt' is not happy again. even a `port uninstall w3m; port clean --all w3m; port install w3m' did not help: when starting `w3m' now. cpu time goes to 100% but w3m never pops up. here are the first (and last) few lines from `ktrace': ================================CUT================================================ 19806 ktrace RET ktrace 0 19806 ktrace CALL execve(0xbfffecfc,0xbffff2e8,0xbffff2f4) 19806 ktrace NAMI "/sw/bin/w3m" 19806 ktrace RET execve -1 errno 2 No such file or directory 19806 ktrace CALL execve(0xbfffecfc,0xbffff2e8,0xbffff2f4) 19806 ktrace NAMI "/sw/sbin/w3m" 19806 ktrace RET execve -1 errno 2 No such file or directory 19806 ktrace CALL execve(0xbfffecfc,0xbffff2e8,0xbffff2f4) 19806 ktrace NAMI "/opt/local/bin/w3m" 19806 ktrace NAMI "/usr/lib/dyld" 19806 w3m RET execve 0 19806 w3m CALL issetugid 19806 w3m RET issetugid 0 19806 w3m CALL __sysctl(0xbfffed8c,0x2,0xbfffed94,0xbfffed88,0x8fe45a90,0xa) 19806 w3m RET __sysctl 0 19806 w3m CALL __sysctl(0xbfffed94,0x2,0x8fe599bc,0xbfffee38,0,0) 19806 w3m RET __sysctl 0 19806 w3m CALL __sysctl(0xbfffed8c,0x2,0xbfffed94,0xbfffed88,0x8fe45abc,0xd) 19806 w3m RET __sysctl 0 19806 w3m CALL __sysctl(0xbfffed94,0x2,0x8fe599b8,0xbfffee38,0,0) 19806 w3m RET __sysctl 0 19806 w3m CALL getpid 19806 w3m RET getpid 19806/0x4d5e 19806 w3m CALL __sysctl(0xbfffee40,0x3,0xbfffee38,0xbfffee3c,0,0) 19806 w3m RET __sysctl 0 19806 w3m CALL open(0x1570,0,0) 19806 w3m NAMI "/opt/local/lib/libintl.8.dylib" 19806 w3m RET open 3 19806 w3m CALL fstat(0x3,0xbfffcd10) 19806 w3m RET fstat 0 19806 w3m CALL pread(0x3,0xbfffd170,0x1000,0) 19806 w3m GIO fd 3 read 4096 bytes ... ... ... 19806 w3m RET pread 4096/0x1000 19806 w3m CALL shared_region_map_file_np(0x3,0x4,0xbfffbe60,0) 19806 w3m RET shared_region_map_file_np 0 19806 w3m CALL close(0x3) 19806 w3m RET close 0 19806 w3m CALL __sysctl(0xbffff19c,0x2,0xbffff198,0xbffff190,0,0) 19806 w3m RET __sysctl 0 19806 w3m CALL __sysctl(0xbffff19c,0x2,0xbffff194,0xbffff190,0,0) 19806 w3m RET __sysctl 0 19806 w3m CALL getpid 19806 w3m RET getpid 19806/0x4d5e 19806 w3m CALL stat(0x600a90,0xbfffe560) 19806 w3m NAMI "/sw/bin/w3m" 19806 w3m RET stat -1 errno 2 No such file or directory 19806 w3m CALL stat(0x600a90,0xbfffe560) 19806 w3m NAMI "/sw/sbin/w3m" 19806 w3m RET stat -1 errno 2 No such file or directory 19806 w3m CALL stat(0x600a90,0xbfffe560) 19806 w3m NAMI "/opt/local/bin/w3m" 19806 w3m RET stat 0 19806 w3m CALL getuid 19806 w3m RET getuid 501/0x1f5 19806 w3m CALL __sysctl(0xbfffef4c,0x2,0xa000fc60,0xbfffef48,0,0) 19806 w3m RET __sysctl 0 19806 w3m CALL mmap(0,0x10000,0x3,0x1002,0xffffffff,0) 19806 w3m RET mmap 1961984/0x1df000 19806 w3m CALL mmap(0x1ef000,0x10000,0x3,0x1002,0xffffffff,0) 19806 w3m RET mmap 2027520/0x1ef000 19806 w3m CALL __sysctl(0xbfffef50,0x2,0xbfffef48,0xbfffef4c,0,0) 19806 w3m RET __sysctl 0 19806 w3m PSIG SIGINT SIG_DFL ================================CUT================================================ afaics `w3m' hangs with some kernel call(?) before I issued SIGINT so I have a _real_ problem now... it seems somehow related to the things going wrong first with respect to libiconv@1.11 vs. libiconv@1.12. but what exactly have I messed up and, more importantly, how can I repair it? all this is with 10.4.11 on a G5 (won't upgrade to 10.5 before X11 is fully functional again including fullscreen mode ...) thanks in advance joerg From lists at simonwheatley.co.uk Thu Mar 13 06:08:05 2008 From: lists at simonwheatley.co.uk (Simon Wheatley) Date: Thu Mar 13 06:07:46 2008 Subject: Installing Apache2 fails due to unfetchable files In-Reply-To: <47D90E24.7050200@simonwheatley.co.uk> References: <47D90E24.7050200@simonwheatley.co.uk> Message-ID: <47D92735.2070505@simonwheatley.co.uk> Simon Wheatley wrote: > I'm trying to install Apache2, and it is failing with the following > error: >> ---> Attempting to fetch db-4.4.20.tar.gz from >> http://svn.macports.org/repository/macports/downloads/db44 >> Error: Target org.macports.fetch returned: fetch failed > > Browsing to this location reveals that there is indeed nothing there. This looks, at first glance, like Bug #12867 [1], but I think it's different as #12867 deals with checksums... and these files are simply missing. S [1] http://trac.macports.org/projects/macports/ticket/12867 From dluke at geeklair.net Thu Mar 13 07:07:14 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Thu Mar 13 07:12:10 2008 Subject: urxvt: installing files outside common directory structure In-Reply-To: <20080313104410.GA8188@marco.fz-rossendorf.de> References: <20080313104410.GA8188@marco.fz-rossendorf.de> Message-ID: On Mar 13, 2008, at 6:44 AM, Joerg van den Hoff wrote: > during upgrade of `rxvt-unicode' I've got the warning > > "rxvt-unicode requests to install files outside the common directory > structure!" > > simple question: and where might that be?? port contents rxvt-unicode should give you an answer. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080313/0ba77743/PGP.bin From j.van_den_hoff at fzd.de Thu Mar 13 08:43:32 2008 From: j.van_den_hoff at fzd.de (Joerg van den Hoff) Date: Thu Mar 13 08:43:09 2008 Subject: urxvt: installing files outside common directory structure In-Reply-To: References: <20080313104410.GA8188@marco.fz-rossendorf.de> Message-ID: <20080313154331.GB20364@marco.fz-rossendorf.de> On Thu, Mar 13, 2008 at 10:07:14AM -0400, Daniel J. Luke wrote: > On Mar 13, 2008, at 6:44 AM, Joerg van den Hoff wrote: > >during upgrade of `rxvt-unicode' I've got the warning > > > >"rxvt-unicode requests to install files outside the common directory > >structure!" > > > >simple question: and where might that be?? > > port contents rxvt-unicode > > should give you an answer. > -- > Daniel J. Luke id does. thanks a lot! joerg From ms at mac-specialist.com Thu Mar 13 08:43:56 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Thu Mar 13 08:44:07 2008 Subject: MacPorts dmg installer hangs up, does not finish ? In-Reply-To: <979A3263-49C2-47EB-9AC4-354E973DCA8E@apple.com> References: <47D57B52.2030800@macports.org> <77320BC7-E067-4E1F-847D-4E171325C674@macports.org> <979A3263-49C2-47EB-9AC4-354E973DCA8E@apple.com> Message-ID: <015C20E6-B542-49DC-95FE-447EFA8C245F@mac-specialist.com> On Mar 12, 2008, at 4:55 PM, William Siegrist wrote: > The rsync repo gets sluggish around 4-5am PDT every day due to > server backups and maintenance. I'm actually going to try spreading > out some of the load throughout the day to help... But right now, > you can expect the selfupdate and syncs to take up to 10m. Normally > on average they take 1-3m for me during the day. > > I was thinking that the progress bar on the installer could be > changed or some rsync verbose output added to make it not seem like > a hang, but the performance is also an issue, and I am working on it. > > Thanks > -Bill It's really funny how we get used to the way things work. The first modem I ever owned was used on an Apple IIe and had a speed of 300 baud, and never managed transfer a small (few kb) file without losing the connection. Transfers were usually a multi-hour ordeal with very poor results. Today I am fortunate to live in an area that has Fiber. I tried to get Residential FIOS but there was no way to get a fixed public IP, so I subscribed to Verizon Business FIOS 15/2 MBit/sec service and that has worked out very well. I've gotten used to receiving transfers from Apple that are sometimes as large as 90 MBytes, in what seems like a matter of seconds. I may be wrong but it just seems really fast. We as a whole seem to have lost all sense of perspective, such that if a file takes a few minutes to download we begin think the transfer has hung up. This is probably what happened, I should have gone to lunch and checked when I came back. There was no way from the Terminal to tell whether anything was happening. Something that may help others is perhaps a message "This may take a few minutes, come back in a while..." I see from your response, that I should have allowed at least 10 minutes. I began running into a number of other problems that forced me to force quit applications that continuously became non-responsive. I may be wrong, but I suspect that upgrading Leopard directly over Tiger may be the cause of some of the problems. Yesterday I completely re-formatted my primary drive, did a clean install of Leopard, and spent several hours downloading and installing the very latest versions of each application and 3rd party utility I own. After I read Ryan's comments on Darwin 8 vs. Darwin 9, I thought the smartest thing would be to re-format and install everything from scratch, not just MacPorts. Today I will try to do a clean install of MacPorts, and see how that goes. Thanks to all those who replied for the help... Bill Hernandez ms@mac-specialist.com From ms at mac-specialist.com Thu Mar 13 08:44:55 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Thu Mar 13 08:45:30 2008 Subject: MacPorts dmg installer hangs up, does not finish ? In-Reply-To: <77320BC7-E067-4E1F-847D-4E171325C674@macports.org> References: <47D57B52.2030800@macports.org> <77320BC7-E067-4E1F-847D-4E171325C674@macports.org> Message-ID: On Mar 12, 2008, at 4:45 PM, Ryan Schmidt wrote: > On Mar 10, 2008, at 13:56, Bill Hernandez wrote: > >> On Mar 10, 2008, at 1:17 PM, Rainer M?ller wrote: >> >>> Bill Hernandez wrote: >>> >>>> I am running OS X 10.5.2 on an iMacG5 pentium machine. >>>> I just downloaded MacPorts-1.6.0.pkg and tried to install it >>>> several times, but it always hangs up with the progress indicator >>>> about 3/4 of the way through, and never finishes. >>> >>> The Installer.app provides a log (Window -> Installer Log), what >>> does it say there? >> >> I downloaded the MacPorts-1.6.0.pkg again, and this time it installed >> after several minutes. >> >> After the installer finished I tried : >> >> $ sudo port -v selfupdate >> Password: >> Synchronizing local ports tree from rsync://rsync.macports.org/ >> release/ >> ports/ >> >> but here the terminal hangs up. (it hasn't done anything for about 10 >> minutes) > > Does your network allow traffic on the rsync port? I've never had a problem with rsync before. I haven't changed anything on the firewall for a while. I began running into a number of other problems that forced me to force quit applications like Xcode, and others, that continuously became non-responsive. I may be wrong, but I suspect that upgrading Leopard directly over Tiger may be the cause of some of these problems. Yesterday I completely re-formatted my primary drive, did a clean install of Leopard, and spent several hours downloading and installing the very latest versions of each application and 3rd party utility I own. After I read your comments on Darwin 8 vs. Darwin 9, I thought the smartest thing would be to re-format the drive and install everything from scratch, not just MacPorts. Today I will try to do a clean install of MacPorts, and see how that goes. Bill Hernandez ms@mac-specialist.com From ms at mac-specialist.com Thu Mar 13 08:45:26 2008 From: ms at mac-specialist.com (Bill Hernandez) Date: Thu Mar 13 08:46:03 2008 Subject: MacPorts dmg installer hangs up, does not finish ? In-Reply-To: <50BA724E-0723-4561-B330-E5E807E970F6@mac.com> References: <47D57B52.2030800@macports.org> <77320BC7-E067-4E1F-847D-4E171325C674@macports.org> <50BA724E-0723-4561-B330-E5E807E970F6@mac.com> Message-ID: <27ED14B4-986D-4066-8DED-32AE11042C75@mac-specialist.com> On Mar 12, 2008, at 4:51 PM, Alex Zavatone wrote: > > On Mar 12, 2008, at 4:45 PM, Ryan Schmidt wrote: > >> On Mar 10, 2008, at 13:56, Bill Hernandez wrote: >> >>> On Mar 10, 2008, at 1:17 PM, Rainer M?ller wrote: >>> >>>> Bill Hernandez wrote: >>>> >>>>> I am running OS X 10.5.2 on an iMacG5 pentium machine. >>>>> I just downloaded MacPorts-1.6.0.pkg and tried to install it >>>>> several times, but it always hangs up with the progress indicator >>>>> about 3/4 of the way through, and never finishes. >>> > > You know you wrote an iMacG5 pentium machine, right? Which doesn't > exist. I'm sure you meant PPC, instead of pentium. > > By the way, wait for about 5 minutes and it will be done by the time > you get back from making coffee. > > You might have to create a file after you are done. I had to. Let > me/us know after it installs if you can do the "sudo port selfupdate". > > Cheers, > - Alex I meant to say Intel but wrote pentium Model Name: iMac Model Identifier: iMac7,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.4 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache: 4 MB Memory: 2 GB Bus Speed: 800 MHz Boot ROM Version: IM71.007A.B00 SMC Version: 1.21f4 Bill Hernandez ms@mac-specialist.com From dushanm at spinn.net Thu Mar 13 01:43:28 2008 From: dushanm at spinn.net (Dushan Mitrovich) Date: Thu Mar 13 09:50:39 2008 Subject: 'rsync' failure trying to install MacPorts 1.6.0 - SOLVED! In-Reply-To: Message-ID: William Siegrist wrote: > Are you behind a firewall or proxy? You need to be able to get to port > 873/tcp on rsync.macports.org. If you have trouble with that, you > should be able to use subversion instead to get the updated ports tree. Ryan Schmidt wrote: > Same question to you that I asked to Bill. Does your network allow > traffic on the rsync port? Bill and Ryan, Thanks to your prodding questions, I got the rsync problem fixed, as well as another one (no FTP) that has bugged me for months. The problem in my case turned out to be the firewall in my GT-701 ActionTec DSL modem. I called up ActionTec Support in near-desperation just to see if they might have any ideas, and described the problems I'd been having. The response was that those were exactly the problems I'd get with the fire- wall turned on, and that I should turn it off completely. There were four settings, High, Medium, Low, and Off, and mine had been set to High. He explained that I was still protected from Internet mischief by the SPI (Stateful Packet Inspection). I'd never heard of SPI before, but looked it up and found a Wiki explanation about it being a recent type of fire- wall that checks to make sure that incoming packets really do belong in the accepted incoming stream. Ones that don't are rejected. So I turned the ActionTec firewall off, and Bingo!, the MacPorts install went to completion. Even more cheering for me was that now FTP worked on the Mac - tho it has been working fine all along from the Parallels Vir- tual Machine running eComStation 1.2. I certainly don't understand the mechanics of all this, but am delighted that things now work. I hope these observations are helpful to others as well. Thanks much for directing me to the relevant issue. - Dushan ---------------------- >On Mar 11, 2008, at 2:58 AM, Dushan Mitrovich wrote: >> I had downloaded the MacPorts-1.6.0.dmg file but failed trying to >> install it on my Mac Pro system (4 processors), apparently because >> 'rsync' failed. >> >> This appears to be the same problem that Bill Hernandez wrote about >> earlier, but I didn't see any solution offered. Is there one? >> >> Below are the particulars of my system, and what I've tried. Thanks for >> all help and suggestions. >> >> - Dushan Mitrovich >> >> =========================================== >> >> I'm running OS X.4.11, build 852167, and have installed both X11 (from >> the Mac OSX install disk) and Xcode 2.5 (downloaded from the Apple >> site), in that order. X11user and X11sdk both show up in the >> /Library/Receipts directory. The result of typing 'uname -a' in >> Terminal (for clarity the lines are indented and wrapped, with the >> continuation lines indented an extra 2 spaces; the first line and the >> '=>' on the second are part of the prompt): >> >> --------------------- begin ---------------------- >> [~]$ >> => uname -a >> Darwin Mac-Mar08 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 >> --------------------- end ---------------------- >> >> Neither '/usr/local' nor '/sw' directories exist. >> >> >> During the MacPorts install (I have an admin account) the progress bar >> went quickly to about the 80% point, then stalled, and then gave way to >> a message that there was an error during the install and to try again. >> Here are the contents of the MacPorts install log file: >> >> --------------------- begin ---------------------- >> Mar 10 11:55:30 Mac-Mar08 : Localized installer scripts detected in >> the MacPorts-1.6.0 package. Switching to compatibility mode. >> Mar 10 11:55:42 Mac-Mar08 : Localized installer scripts detected in >> the MacPorts-1.6.0 package. Switching to compatibility mode. >> Mar 10 11:56:21 Mac-Mar08 : Localized installer scripts detected in >> the MacPorts-1.6.0 package. Switching to compatibility mode. >> Mar 10 11:56:21 Mac-Mar08 : Localized installer script preflight >> found in the MacPorts-1.6.0 package. Using compatibility mode. >> Mar 10 11:56:21 Mac-Mar08 : Localized installer script postflight >> found in the MacPorts-1.6.0 package. Using compatibility mode. >> Mar 10 11:56:22 Mac-Mar08 : Localized installer script preflight >> found in the MacPorts-1.6.0 package. Using compatibility mode. >> Mar 10 11:56:22 Mac-Mar08 : Localized installer script postflight >> found in the MacPorts-1.6.0 package. Using compatibility mode. >> Mar 10 11:57:39 Mac-Mar08 : Install failed: The following install >> step failed: run postflight script for MacPorts >> --------------------- end ---------------------- >> >> >> Next I tried to execute the 'postflight' file manually from Terminal. >> That also failed. Here is the transscript of that attempt (the first >> line below shows the directory): >> >> --------------------- begin ---------------------- >> [/Volumes/MacPorts-1.6.0/MacPorts-1.6.0.pkg/Contents/Resources/English.lproj]$ >> => ./postflight >> >> Checking the shell environment for user "dushanm"... >> >> /bin/bash: line 11: 0: command not found >> Your shell already has the right MANPATH environment variable for >> use with MacPorts! >> Your shell already has the right DISPLAY environment variable for >> use with MacPorts! >> >> Synchronizing the MacPorts installation with the project's rsync >> server... >> >> Synchronizing local ports tree from rsync://rsync.macports.org/ >> release/ports/ >> rsync: failed to connect to rsync.macports.org: Operation timed out >> (60) >> rsync error: error in socket IO (code 10) at >> /SourceCache/rsync/rsync-24.1/rsync/clientserver.c(94) >> Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync >> the ports tree: Synchronization the local ports tree failed doing >> rsync >> An attempt to synchronize your recent MacPorts installation with >> the project's rsync server failed! >> Please run 'port -d selfupdate' manually to find out the cause of >> the error. >> --------------------- end ---------------------- >> >> >> When I ran 'port' from the /opt/local/bin directory, I got: >> >> --------------------- begin ---------------------- >> [/opt/local/bin]$ >> => ./port -d selfupdate >> 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 >> rsync: failed to connect to rsync.macports.org: Operation timed out >> (60) >> rsync error: error in socket IO (code 10) at >> /SourceCache/rsync/rsync-24.1/rsync/clientserver.c(94) >> DEBUG: Couldn't sync the ports tree: Synchronization the local >> ports tree failed doing rsync >> while executing >> "macports::selfupdate [array get global_options]" >> Error: ./port: port selfupdate failed: Couldn't sync the ports >> tree: Synchronization the local ports tree failed doing rsync >> --------------------- end ---------------------- From lists at simonwheatley.co.uk Thu Mar 13 11:09:12 2008 From: lists at simonwheatley.co.uk (Simon Wheatley) Date: Thu Mar 13 11:09:02 2008 Subject: Installing Apache2 fails due to unfetchable files In-Reply-To: <47D90E24.7050200@simonwheatley.co.uk> References: <47D90E24.7050200@simonwheatley.co.uk> Message-ID: <47D96DC8.5080904@simonwheatley.co.uk> Simon Wheatley wrote: > I'm trying to install Apache2, and it is failing with the following > error: >> ---> Attempting to fetch db-4.4.20.tar.gz from >> http://svn.macports.org/repository/macports/downloads/db44 >> Error: Target org.macports.fetch returned: fetch failed Managed to install with the following command: sudo port install apache2 +no_bdb We'll now see if I actually need BDB. S From giorgio_v at mac.com Thu Mar 13 12:15:31 2008 From: giorgio_v at mac.com (Giorgio Valoti) Date: Thu Mar 13 12:16:07 2008 Subject: Writing portfiels: How to avoid hardcoded paths? Message-ID: <8BAD5CC0-090D-4236-91E2-323B830E552A@mac.com> Hi all, with the help of William Siegrist I wrote a portfile for pgpool-II (ticket #14647). I?ve added the following environment setting: configure.env PATH=$env(PATH):${prefix}/lib/postgresql83/bin In order to make pg_config available at configure time. Is there a way to avoid hard coding the path? Thank you in advance. -- Giorgio Valoti From ryandesign at macports.org Thu Mar 13 12:53:17 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu Mar 13 12:53:15 2008 Subject: Installing Apache2 fails due to unfetchable files In-Reply-To: <47D92735.2070505@simonwheatley.co.uk> References: <47D90E24.7050200@simonwheatley.co.uk> <47D92735.2070505@simonwheatley.co.uk> Message-ID: <2B83622F-5179-42D5-B877-BC644D0CD08B@macports.org> On Mar 13, 2008, at 08:08, Simon Wheatley wrote: > Simon Wheatley wrote: >> I'm trying to install Apache2, and it is failing with the >> following error: >>> ---> Attempting to fetch db-4.4.20.tar.gz from http:// >>> svn.macports.org/repository/macports/downloads/db44 >>> Error: Target org.macports.fetch returned: fetch failed >> >> Browsing to this location reveals that there is indeed nothing there. The files are not supposed to be there (in the MacPorts repository). They are supposed to be on the Oracle web site. MacPorts just always tries the MacPorts repository as a backup in case it can't find the files on the primary sites. The problem is that the portfile still references the old SleepyCat download location. BerkeleyDB has since been acquired by Oracle. Erick fixed the fetch failure in r34991. > This looks, at first glance, like Bug #12867 [1], but I think it's > different as #12867 deals with checksums... and these files are > simply missing. > > S > > > [1] http://trac.macports.org/projects/macports/ticket/12867 I'll resolve this ticket. From lists at simonwheatley.co.uk Thu Mar 13 13:03:20 2008 From: lists at simonwheatley.co.uk (Simon Wheatley) Date: Thu Mar 13 13:02:59 2008 Subject: Installing Apache2 fails due to unfetchable files In-Reply-To: <2B83622F-5179-42D5-B877-BC644D0CD08B@macports.org> References: <47D90E24.7050200@simonwheatley.co.uk> <47D92735.2070505@simonwheatley.co.uk> <2B83622F-5179-42D5-B877-BC644D0CD08B@macports.org> Message-ID: <47D98888.9030008@simonwheatley.co.uk> Ryan Schmidt wrote: > The files are not supposed to be there (in the MacPorts repository). > They are supposed to be on the Oracle web site. MacPorts just always > tries the MacPorts repository as a backup in case it can't find the > files on the primary sites. The problem is that the portfile still > references the old SleepyCat download location. BerkeleyDB has since > been acquired by Oracle. Erick fixed the fetch failure in r34991. Thanks Ryan. From edi.wamister at aiala.ch Thu Mar 13 15:58:37 2008 From: edi.wamister at aiala.ch (Eduard Andreas Wamister) Date: Thu Mar 13 15:58:18 2008 Subject: Unable to install gimp2 Message-ID: <47D9B19D.5040602@aiala.ch> Hi, I Looked 4 a GraphixEditor and Found gimp. But i cant install it. (1st port i try to install) sudo port -v install gimp2 ---> Configuring aalib checking for a BSD-compatible install... /usr/bin/install checking whether build environment is sane... yes /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/missing: Unknown `--run' option Try `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... no checking build system type... i686-apple-darwin8.11.1 checking host system type... i686-apple-darwin8.11.1 checking target system type... i686-apple-darwin8.11.1 checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output... configure: error: C compiler cannot create executables See `config.log' for more details. 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_graphics_aalib/work/aalib-1.4.0" && ./configure --prefix=/opt/local --with-x=no --with-ncurses --enable-shared --disable-static --mandir=/opt/local/share/man --infodir=/opt/local/share/info " returned error 77 Command output: checking for a BSD-compatible install... /usr/bin/install checking whether build environment is sane... yes /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/missing: Unknown `--run' option Try `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... no checking build system type... i686-apple-darwin8.11.1 checking host system type... i686-apple-darwin8.11.1 checking target system type... i686-apple-darwin8.11.1 checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output... configure: error: C compiler cannot create executables See `config.log' for more details. Warning: the following items did not execute (for aalib): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: aalib curl pkgconfig zlib libart_lgpl libexif gettext expat libiconv gperf ncurses ncursesw libgnomeui gnome-keyring glib2 gtk2 atk cairo fontconfig freetype libpng render xrender XFree86 gtk-doc docbook-xml-4.1.2 xmlcatmgr docbook-xsl libxml2 perl5.8 scrollkeeper docbook-xml docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 libxslt p5-xml-parser jpeg pango Xft2 xorg-xproto xorg-util-macros tiff xorg intltool gnome-common libgcrypt libgpg-error libbonoboui dbus xmlto getopt dbus-glib gconf orbit2 libidl gnome-vfs gnome-mime-data openssl libbonobo popt libglade2 libgnome esound audiofile libgnomecanvas gail libgtkhtml libmng autoconf help2man p5-locale-gettext libtool m4 automake lcms librsvg libcroco libgnomeprint bison libgnomecups libgsf libwmf poppler poppler-data py25-gtk py25-cairo py25-numeric python25 py25-gobject Error: Status 1 encountered during processing. From wsiegrist at apple.com Thu Mar 13 16:31:49 2008 From: wsiegrist at apple.com (William Siegrist) Date: Thu Mar 13 16:32:59 2008 Subject: Unable to install gimp2 In-Reply-To: <47D9B19D.5040602@aiala.ch> References: <47D9B19D.5040602@aiala.ch> Message-ID: Do you have XCode installed? -Bill On Mar 13, 2008, at 3:58 PM, Eduard Andreas Wamister wrote: > Hi, > > I Looked 4 a GraphixEditor and Found gimp. > But i cant install it. (1st port i try to install) > > > sudo port -v install gimp2 > ---> Configuring aalib > checking for a BSD-compatible install... /usr/bin/install > checking whether build environment is sane... yes > /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/missing: > Unknown `--run' option > Try `/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/missing > --help' for more information > configure: WARNING: `missing' script is too old or missing > checking for gawk... no > checking for mawk... no > checking for nawk... no > checking for awk... awk > checking whether make sets $(MAKE)... no > checking build system type... i686-apple-darwin8.11.1 > checking host system type... i686-apple-darwin8.11.1 > checking target system type... i686-apple-darwin8.11.1 > checking for gcc... /usr/bin/gcc-4.0 > checking for C compiler default output... configure: error: C > compiler cannot create executables > See `config.log' for more details. > 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_graphics_aalib/work/aalib-1.4.0" && ./ > configure --prefix=/opt/local --with-x=no --with-ncurses --enable- > shared --disable-static --mandir=/opt/local/share/man --infodir=/opt/ > local/share/info " returned error 77 > Command output: checking for a BSD-compatible install... /usr/bin/ > install > checking whether build environment is sane... yes > /opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/missing: > Unknown `--run' option > Try `/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/missing > --help' for more information > configure: WARNING: `missing' script is too old or missing > checking for gawk... no > checking for mawk... no > checking for nawk... no > checking for awk... awk > checking whether make sets $(MAKE)... no > checking build system type... i686-apple-darwin8.11.1 > checking host system type... i686-apple-darwin8.11.1 > checking target system type... i686-apple-darwin8.11.1 > checking for gcc... /usr/bin/gcc-4.0 > checking for C compiler default output... configure: error: C > compiler cannot create executables > See `config.log' for more details. > > Warning: the following items did not execute (for aalib): > org.macports.activate org.macports.configure org.macports.build > org.macports.destroot org.macports.install > Error: The following dependencies failed to build: aalib curl > pkgconfig zlib libart_lgpl libexif gettext expat libiconv gperf > ncurses ncursesw libgnomeui gnome-keyring glib2 gtk2 atk cairo > fontconfig freetype libpng render xrender XFree86 gtk-doc docbook- > xml-4.1.2 xmlcatmgr docbook-xsl libxml2 perl5.8 scrollkeeper docbook- > xml docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 > libxslt p5-xml-parser jpeg pango Xft2 xorg-xproto xorg-util-macros > tiff xorg intltool gnome-common libgcrypt libgpg-error libbonoboui > dbus xmlto getopt dbus-glib gconf orbit2 libidl gnome-vfs gnome-mime- > data openssl libbonobo popt libglade2 libgnome esound audiofile > libgnomecanvas gail libgtkhtml libmng autoconf help2man p5-locale- > gettext libtool m4 automake lcms librsvg libcroco libgnomeprint > bison libgnomecups libgsf libwmf poppler poppler-data py25-gtk py25- > cairo py25-numeric python25 py25-gobject > Error: Status 1 encountered during processing. > _______________________________________________ > macports-users mailing list > macports-users@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo/macports-users ---- William Siegrist Software Support Engineer Mac OS Forge http://macosforge.org/ wsiegrist@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/20080313/423518fa/smime.bin From wsiegrist at apple.com Thu Mar 13 16:41:02 2008 From: wsiegrist at apple.com (William Siegrist) Date: Thu Mar 13 16:42:10 2008 Subject: Unable to install gimp2 In-Reply-To: <47D9BA55.2080907@aiala.ch> References: <47D9B19D.5040602@aiala.ch> <47D9BA55.2080907@aiala.ch> Message-ID: No, you need X11 and XCode according to the MacPorts install instructions. See the items marked 1 and 2 on the install page: http://www.macports.org/install.php The error "configure: error: C compiler cannot create executables" implies you dont have XCode installed. -Bill On Mar 13, 2008, at 4:35 PM, Eduard Andreas Wamister wrote: > I took the "MacPorts-1.6.0-10.4-Tiger.dmg" installer. > i think it's included? > > > William Siegrist schrieb: >> Do you have XCode installed? >> >> -Bill >> >> >> On Mar 13, 2008, at 3:58 PM, Eduard Andreas Wamister wrote: >>> Hi, >>> >>> I Looked 4 a GraphixEditor and Found gimp. >>> But i cant install it. (1st port i try to install) >>> >>> >>> sudo port -v install gimp2 >>> ---> Configuring aalib >>> checking for a BSD-compatible install... /usr/bin/install >>> checking whether build environment is sane... yes >>> /opt/local/var/macports/build/ >>> _opt_local_var_macports_sources_rsync >>> .macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/ >>> missing: Unknown `--run' option >>> Try `/opt/local/var/macports/build/ >>> _opt_local_var_macports_sources_rsync >>> .macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/ >>> missing --help' for more information >>> configure: WARNING: `missing' script is too old or missing >>> checking for gawk... no >>> checking for mawk... no >>> checking for nawk... no >>> checking for awk... awk >>> checking whether make sets $(MAKE)... no >>> checking build system type... i686-apple-darwin8.11.1 >>> checking host system type... i686-apple-darwin8.11.1 >>> checking target system type... i686-apple-darwin8.11.1 >>> checking for gcc... /usr/bin/gcc-4.0 >>> checking for C compiler default output... configure: error: C >>> compiler cannot create executables >>> See `config.log' for more details. >>> 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_graphics_aalib/work/aalib-1.4.0" && ./ >>> configure --prefix=/opt/local --with-x=no --with-ncurses --enable- >>> shared --disable-static --mandir=/opt/local/share/man --infodir=/ >>> opt/local/share/info " returned error 77 >>> Command output: checking for a BSD-compatible install... /usr/bin/ >>> install >>> checking whether build environment is sane... yes >>> /opt/local/var/macports/build/ >>> _opt_local_var_macports_sources_rsync >>> .macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/ >>> missing: Unknown `--run' option >>> Try `/opt/local/var/macports/build/ >>> _opt_local_var_macports_sources_rsync >>> .macports.org_release_ports_graphics_aalib/work/aalib-1.4.0/ >>> missing --help' for more information >>> configure: WARNING: `missing' script is too old or missing >>> checking for gawk... no >>> checking for mawk... no >>> checking for nawk... no >>> checking for awk... awk >>> checking whether make sets $(MAKE)... no >>> checking build system type... i686-apple-darwin8.11.1 >>> checking host system type... i686-apple-darwin8.11.1 >>> checking target system type... i686-apple-darwin8.11.1 >>> checking for gcc... /usr/bin/gcc-4.0 >>> checking for C compiler default output... configure: error: C >>> compiler cannot create executables >>> See `config.log' for more details. >>> >>> Warning: the following items did not execute (for aalib): >>> org.macports.activate org.macports.configure org.macports.build >>> org.macports.destroot org.macports.install >>> Error: The following dependencies failed to build: aalib curl >>> pkgconfig zlib libart_lgpl libexif gettext expat libiconv gperf >>> ncurses ncursesw libgnomeui gnome-keyring glib2 gtk2 atk cairo >>> fontconfig freetype libpng render xrender XFree86 gtk-doc docbook- >>> xml-4.1.2 xmlcatmgr docbook-xsl libxml2 perl5.8 scrollkeeper >>> docbook-xml docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 >>> docbook-xml-4.5 libxslt p5-xml-parser jpeg pango Xft2 xorg-xproto >>> xorg-util-macros tiff xorg intltool gnome-common libgcrypt libgpg- >>> error libbonoboui dbus xmlto getopt dbus-glib gconf orbit2 libidl >>> gnome-vfs gnome-mime-data openssl libbonobo popt libglade2 >>> libgnome esound audiofile libgnomecanvas gail libgtkhtml libmng >>> autoconf help2man p5-locale-gettext libtool m4 automake lcms >>> librsvg libcroco libgnomeprint bison libgnomecups libgsf libwmf >>> poppler poppler-data py25-gtk py25-cairo py25-numeric python25 >>> py25-gobject >>> Error: Status 1 encountered during processing. >>> _______________________________________________ >>> macports-users mailing list >>> macports-users@lists.macosforge.org >>> http://lists.macosforge.org/mailman/listinfo/macports-users >> >> >> >> >> ---- >> William Siegrist >> Software Support Engineer >> Mac OS Forge >> http://macosforge.org/ >> wsiegrist@apple.com >> 408 862 7337 >> >> >> >> >> > ---- William Siegrist Software Support Engineer Mac OS Forge http://macosforge.org/ wsiegrist@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/20080313/e7273f3d/smime.bin From randall.h.wood at alexandriasoftware.com Fri Mar 14 01:25:34 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Fri Mar 14 01:25:09 2008 Subject: gnome-vfs In-Reply-To: <47D93CBA.1000701@ecocode.net> References: <47D93CBA.1000701@ecocode.net> Message-ID: Gnome-vfs just got updated to version 2.22 at the same time that glib was updated to 2.16 (these are upstream updates). Once MacPorts gets everything in sync with the GNOME 2.22 release which is a few days old, then things should just work again. On 3/13/08, Erik Colson wrote: > Hello, > > I'm looking for help with the port file for gnome-vfs on macosx. > Don't know if I should write this to you, but this is the mail address I > could find, so please forgive me if I shouldn't bother you... > > I tried installing gnome-vfs and got this error. I think it's related to > the recent upgrade of glib2 to version 2.16. > > Thanks for any help ! > > This is the error: > > ---> Building gnome-vfs with target all > Error: Target org.macports.build returned: shell command " cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnome-vfs/work/gnome-vfs-2.20.1" > && make all " returned error 2 > Command output: make[3]: Nothing to be done for `all'. > make[3]: Nothing to be done for `all-am'. > Making all in libgnomevfs > make all-am > /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -std=gnu99 > -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -D_REENTRANT -DORBIT2=1 > -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include > -I/opt/local/include -I/opt/local/include/gconf/2 > -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 > -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include > -I/opt/local/include -I/opt/local/include/glib-2.0 > -I/opt/local/lib/glib-2.0/include -I/opt/local/include > -DXDG_PREFIX=_gnome_vfs_xdg -DDBUS_API_SUBJECT_TO_CHANGE > -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE > -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED > -DGNOME_VFS_PREFIX=\"/opt/local\" -DGNOME_VFS_BINDIR=\"/opt/local/bin\" > -DGNOME_VFS_DATADIR=\"/opt/local/share\" > -DGNOME_VFS_LIBDIR=\"/opt/local/lib\" > -DGNOME_VFS_LOCALEDIR=\"/opt/local/share/locale\" > -DGNOME_VFS_SYSCONFDIR=\"/opt/local/etc\" -DG_LOG_DOMAIN=\"libgnomevfs\" > -I/opt/local/include -no-cpp-precomp -O2 -MT > gnome-vfs-mime-handlers.lo -MD -MP -MF .deps/gnome-vfs-mime-handlers.Tpo > -c -o gnome-vfs-mime-handlers.lo gnome-vfs-mime-handlers.c > /usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I.. > -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 > -I/opt/local/lib/glib-2.0/include -I/opt/local/include > -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 > -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 > -I/opt/local/lib/dbus-1.0/include -I/opt/local/include > -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include > -I/opt/local/include -DXDG_PREFIX=_gnome_vfs_xdg > -DDBUS_API_SUBJECT_TO_CHANGE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE > -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT > -DG_DISABLE_DEPRECATED -DGNOME_VFS_PREFIX=\"/opt/local\" > -DGNOME_VFS_BINDIR=\"/opt/local/bin\" > -DGNOME_VFS_DATADIR=\"/opt/local/share\" > -DGNOME_VFS_LIBDIR=\"/opt/local/lib\" > -DGNOME_VFS_LOCALEDIR=\"/opt/local/share/locale\" > -DGNOME_VFS_SYSCONFDIR=\"/opt/local/etc\" -DG_LOG_DOMAIN=\"libgnomevfs\" > -I/opt/local/include -no-cpp-precomp -O2 -MT gnome-vfs-mime-handlers.lo > -MD -MP -MF .deps/gnome-vfs-mime-handlers.Tpo -c > gnome-vfs-mime-handlers.c -fno-common -DPIC -o > .libs/gnome-vfs-mime-handlers.o > gnome-vfs-mime-handlers.c: In function > 'gnome_vfs_mime_application_get_desktop_id': > gnome-vfs-mime-handlers.c:1601: error: 'G_GNUC_FUNCTION' undeclared > (first use in this function) > gnome-vfs-mime-handlers.c:1601: error: (Each undeclared identifier is > reported only once > gnome-vfs-mime-handlers.c:1601: error: for each function it appears in.) > gnome-vfs-mime-handlers.c: In function > 'gnome_vfs_mime_application_get_desktop_file_path': > gnome-vfs-mime-handlers.c:1626: error: 'G_GNUC_FUNCTION' undeclared > (first use in this function) > gnome-vfs-mime-handlers.c: In function > 'gnome_vfs_mime_application_get_generic_name': > gnome-vfs-mime-handlers.c:1667: error: 'G_GNUC_FUNCTION' undeclared > (first use in this function) > gnome-vfs-mime-handlers.c: In function > 'gnome_vfs_mime_application_get_icon': > gnome-vfs-mime-handlers.c:1693: error: 'G_GNUC_FUNCTION' undeclared > (first use in this function) > gnome-vfs-mime-handlers.c: In function > 'gnome_vfs_mime_application_get_exec': > gnome-vfs-mime-handlers.c:1719: error: 'G_GNUC_FUNCTION' undeclared > (first use in this function) > gnome-vfs-mime-handlers.c: In function > 'gnome_vfs_mime_application_get_binary_name': > gnome-vfs-mime-handlers.c:1749: error: 'G_GNUC_FUNCTION' undeclared > (first use in this function) > gnome-vfs-mime-handlers.c: In function > 'gnome_vfs_mime_application_supports_uris': > gnome-vfs-mime-handlers.c:1773: error: 'G_GNUC_FUNCTION' undeclared > (first use in this function) > gnome-vfs-mime-handlers.c: In function > 'gnome_vfs_mime_application_supports_startup_notification': > gnome-vfs-mime-handlers.c:1817: error: 'G_GNUC_FUNCTION' undeclared > (first use in this function) > gnome-vfs-mime-handlers.c: In function > 'gnome_vfs_mime_application_get_startup_wm_class': > gnome-vfs-mime-handlers.c:1840: error: 'G_GNUC_FUNCTION' undeclared > (first use in this function) > make[3]: *** [gnome-vfs-mime-handlers.lo] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > > > > -- > Erik Colson > > http://www.ecocode.net > -- Randall Wood randall.h.wood@alexandriasoftware.com "The rules are simple: The ball is round. The game lasts 90 minutes. All the rest is just philosophy." From evlooij at xs4all.nl Thu Mar 13 08:25:45 2008 From: evlooij at xs4all.nl (Elise van Looij) Date: Fri Mar 14 02:49:25 2008 Subject: Difficulties installing PHP iMagick with MacPorts ImageMagick installation Message-ID: <270ABEA5-9D70-4AA6-BD55-7FB563350416@xs4all.nl> I've installed php5 @5.2.5 and ImageMagick @6.3.9 with MacPorts 1.6 on Leopard. I then wanted to install the PHP wrapper for ImageMagick, namely iMagick. Since iMagick is not a port, I decided to follow recommendations and use > pecl install imagick or rather, to avoid any confusion > sudo /opt/local/bin/pecl install imagick The installation begin but always ends in the following error: checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand- config or Wand-config program. After a lot of frutiless googling, I figured that the paths were the problem, I decided on a different approach and adapted the install instructions from the iMagic package to account for the MacPorts paths, thus: > cd /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1 > sudo /opt/local/bin/phpize && ./configure --with-imagick=/opt/local && make && make install This resulted in the hope-giving message: ---------------------------------------------------------------------- Libraries have been installed in: /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable during execution See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. Installing shared extensions: /usr/lib/php/extensions/no-debug-non- zts-20060613/ cp: /usr/lib/php/extensions/no-debug-non-zts-20060613/#INST@10132#: Permission denied make: *** [install-modules] Error 1 So now I'm stymied. There is indeed a document named imagick.so, but it's in my download folder /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1/modules/ imagick.so which I don't think is a good location, Should I move imagick.so and if so, where and how? The PHP extension_dir is set to ./ Any help would be appreciated. Elise van Looij From ryandesign at macports.org Fri Mar 14 04:13:35 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri Mar 14 04:13:34 2008 Subject: Difficulties installing PHP iMagick with MacPorts ImageMagick installation In-Reply-To: <270ABEA5-9D70-4AA6-BD55-7FB563350416@xs4all.nl> References: <270ABEA5-9D70-4AA6-BD55-7FB563350416@xs4all.nl> Message-ID: <632FD2DD-6992-4714-B4E0-1022E8E329DA@macports.org> On Mar 13, 2008, at 10:25, Elise van Looij wrote: > I've installed php5 @5.2.5 and ImageMagick @6.3.9 with MacPorts 1.6 > on Leopard. I then wanted to install the PHP wrapper for > ImageMagick, namely iMagick. Since iMagick is not a port, I decided > to follow recommendations and use > > > pecl install imagick > > or rather, to avoid any confusion > > > sudo /opt/local/bin/pecl install imagick > > The installation begin but always ends in the following error: > > checking ImageMagick MagickWand API configuration program... > configure: error: not found. Please provide a path to MagickWand- > config or Wand-config program. > > After a lot of frutiless googling, I figured that the paths were > the problem, I decided on a different approach and adapted the > install instructions from the iMagic package to account for the > MacPorts paths, thus: > > > cd /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1 > > sudo /opt/local/bin/phpize && ./configure --with-imagick=/opt/ > local && make && make install > > This resulted in the hope-giving message: > > ---------------------------------------------------------------------- > Libraries have been installed in: > /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1/modules > > If you ever happen to want to link against installed libraries > in a given directory, LIBDIR, you must either use libtool, and > specify the full pathname of the library, or use the `-LLIBDIR' > flag during linking and do at least one of the following: > - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable > during execution > > See any operating system documentation about shared libraries for > more information, such as the ld(1) and ld.so(8) manual pages. > ---------------------------------------------------------------------- > > Build complete. > Don't forget to run 'make test'. > > Installing shared extensions: /usr/lib/php/extensions/no-debug- > non-zts-20060613/ > cp: /usr/lib/php/extensions/no-debug-non-zts-20060613/#INST@10132#: > Permission denied > make: *** [install-modules] Error 1 > > > So now I'm stymied. There is indeed a document named imagick.so, > but it's in my download folder > > /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1/modules/ > imagick.so > > which I don't think is a good location, Should I move imagick.so > and if so, where and how? The PHP extension_dir is set to ./ > Any help would be appreciated. Try running "sudo make install" (instead of "make install"). You might also want to consider making a port for imagick so that others won't have to go through what you went through to get it installed. From ryandesign at macports.org Fri Mar 14 04:23:28 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri Mar 14 04:23:25 2008 Subject: Difficulties installing PHP iMagick with MacPorts ImageMagick installation In-Reply-To: <632FD2DD-6992-4714-B4E0-1022E8E329DA@macports.org> References: <270ABEA5-9D70-4AA6-BD55-7FB563350416@xs4all.nl> <632FD2DD-6992-4714-B4E0-1022E8E329DA@macports.org> Message-ID: Following up on my earlier message: On Mar 14, 2008, at 06:13, Ryan Schmidt wrote: > On Mar 13, 2008, at 10:25, Elise van Looij wrote: > >> I've installed php5 @5.2.5 and ImageMagick @6.3.9 with MacPorts >> 1.6 on Leopard. I then wanted to install the PHP wrapper for >> ImageMagick, namely iMagick. Since iMagick is not a port, I >> decided to follow recommendations and use >> >> > pecl install imagick >> >> or rather, to avoid any confusion >> >> > sudo /opt/local/bin/pecl install imagick >> >> The installation begin but always ends in the following error: >> >> checking ImageMagick MagickWand API configuration program... >> configure: error: not found. Please provide a path to MagickWand- >> config or Wand-config program. >> >> After a lot of frutiless googling, I figured that the paths were >> the problem, I decided on a different approach and adapted the >> install instructions from the iMagic package to account for the >> MacPorts paths, thus: >> >> > cd /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1 >> > sudo /opt/local/bin/phpize && ./configure --with-imagick=/opt/ >> local && make && make install >> >> This resulted in the hope-giving message: >> >> --------------------------------------------------------------------- >> - >> Libraries have been installed in: >> /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1/modules >> >> If you ever happen to want to link against installed libraries >> in a given directory, LIBDIR, you must either use libtool, and >> specify the full pathname of the library, or use the `-LLIBDIR' >> flag during linking and do at least one of the following: >> - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable >> during execution >> >> See any operating system documentation about shared libraries for >> more information, such as the ld(1) and ld.so(8) manual pages. >> --------------------------------------------------------------------- >> - >> >> Build complete. >> Don't forget to run 'make test'. >> >> Installing shared extensions: /usr/lib/php/extensions/no-debug- >> non-zts-20060613/ >> cp: /usr/lib/php/extensions/no-debug-non-zts-20060613/ >> #INST@10132#: Permission denied >> make: *** [install-modules] Error 1 >> >> >> So now I'm stymied. There is indeed a document named imagick.so, >> but it's in my download folder >> >> /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1/modules/ >> imagick.so >> >> which I don't think is a good location, Should I move imagick.so >> and if so, where and how? The PHP extension_dir is set to ./ >> Any help would be appreciated. > > Try running "sudo make install" (instead of "make install"). But note that it looks like this will install the module into /usr/ lib/php/extensions, which is for Apple's PHP, not MacPorts's PHP. > You might also want to consider making a port for imagick so that > others won't have to go through what you went through to get it > installed. You will probably need to find some additional parameters to tell imagick to install the module in the MacPorts prefix instead. From ryandesign at macports.org Fri Mar 14 04:39:20 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri Mar 14 04:39:15 2008 Subject: libiconv problems after urxvt upgrade In-Reply-To: <20080313111127.GB8188@marco.fz-rossendorf.de> References: <20080313111127.GB8188@marco.fz-rossendorf.de> Message-ID: <31C8496C-2258-48D3-9871-E09112033AFD@macports.org> On Mar 13, 2008, at 06:11, Joerg van den Hoff wrote: > during upgrade from urxvt8.7 to the current version I got the error > message > > ===================================CUT================================ > ======== > Portfile changed since last build; discarding previous state. > ---> Fetching libiconv > ---> Verifying checksum(s) for libiconv > ---> Extracting libiconv > ---> Applying patches to libiconv > ---> Configuring libiconv > ---> Building libiconv with target all > ---> Staging libiconv into destroot > ---> Packaging tgz archive for libiconv 1.12_0+darwin_8 > ---> Deactivating libiconv 1.11_0 > Error: Deactivating libiconv 1.11_0 failed: Active version of > libiconv is not 1.11_0 but 1.11_0+darwin_8. > ===================================CUT================================ > ======== Peculiar... > after which install proceded (apparently successful). I don't know why MacPorts proceeds when it encounters an error activating a port. This only leads to further errors down the road, as you've seen: > trying to start `urxvt' now throws the error: > ===================================CUT================================ > ======== > dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib > Referenced from: /opt/local/lib/libXft.2.dylib > Reason: Incompatible library version: libXft.2.dylib requires > version 7.0.0 > or later, but libiconv.2.dylib provides version 5.0.0 Trace/BPT trap > ===================================CUT================================ > ======== No libiconv is active, because of the earlier error, so ports that require libiconv now explode. > trying a > > `sudo port deactivate libiconv@1.11_0+darwin_8' > > yielded > ===================================CUT================================ > ======== > Error: port deactivate failed: Registry error: libiconv not > registered as > installed & active. > ===================================CUT================================ > ======== > which seems inconsistent with the error message during urxvt install. Agreed. That seems inconsistent. Not sure how you got into this state. > after a `sudo port activate libiconv@1.12' now everything seems to > work, Great! > but > the above messages seems to hint at some grade of corruption of the > internal state of > port. is this the case? can I sanitize/check it somehow without > purging > everything? What does "port installed libiconv" show now? > I also notice that many packages appear both with > `port list active' _and_ `port list inactive'. how can this be? "port list" does not do what you think it does. "port list" does the following: for each port, display the current version (not the installed version). You probably would rather use "port installed active" and "port installed inactive". > and a last question: the "active" ports are the only one in use Yes. > or are "inactive" ones (especially libs) secretly used by other ports? No, inactive ports are not used at all. > I noted that a tentative > > `sudo port uninstall libiconv@1.11_0+darwin_8' > > showed me lots of ports depending on it which would need prior > uninstall. The message shown by MacPorts is misleading. The message says "Unable to uninstall libiconv 1.11_0+darwin_8, the following ports depend on it" but what the message should say is "Unable to uninstall libiconv, the following ports depend on it" (in other words it should not list the version or variants). Since you already have a newer version of libiconv installed, it's perfectly fine to remove the older version. MacPorts just doesn't know any better. Educate it by using "-f" when uninstalling ports in such situations: sudo port -f uninstall libiconv@1.11_0+darwin_8 > I understand that different versions of libs are needed at the same > time That's not how MacPorts works. Only one version of a library can be used at a time. If multiple versions of a library are needed at the same time, multiple separate ports must be created. See for example apr and apr0, db41 thru db46, and many other examples. > but why, then, is one declared "active" the others "inactive"? When you "sudo port upgrade foo", the old version is deactivated and the new version is activated. If you don't want the old version anymore, you can then uninstall the old version: sudo port uninstall foo @1.2.3 If you want MacPorts to automatically uninstall the old version during the upgrade, use the "-u" flag: sudo port -u upgrade foo This will fail if any port depends on foo. In that case you must also force it. But the force flag also causes MacPorts to rebuild all dependencies, possibly multiple times, which you don't want. So if you want to force an upgrade, you should also always use the nonrecursive flag: sudo port -nfu upgrade foo > so in short what's the difference between "active" and "inactive", > especially > for libs? Inactive ports are not used. They're just there so that you can activate them again, should you choose to do so (after deactivating the version that you currently have active.) If you don't want to reactivate old versions, you can uninstall them to reclaim the disk space. From walts at gate.net Fri Mar 14 05:16:39 2008 From: walts at gate.net (Walt Scrivens) Date: Fri Mar 14 05:16:17 2008 Subject: Unable to install gimp2 In-Reply-To: References: <47D9B19D.5040602@aiala.ch> <47D9BA55.2080907@aiala.ch> Message-ID: <309E0C31-68F4-43D5-8731-E837CA3F8C63@gate.net> Related issue: I installed Gimp a while ago, along with X11, and it worked. Then an Apple upgrade came along, and Gimp quit with the message, "You must have X11 installed". Since I only use gimp occasionally, I didn't worry about it, but it appears the Apple upgrade changed something with X (which still appears int he finder and "runs". This week, I installed Wireshark which also runs under X, and after the installation Gimp started working. The issue is this: The Wireshark installation took THREE HOURS! and now, a cold boot of the Mac takes over five minutes! I've concluded that I must remove this stuff, and (maybe) start over. I violated my cardinal rule - before installing software, be sure you know how to remove it! In my defense, the Mac has made me lazy in that regard, with its "drag to the trash" uninstall procedure. I can get rid of Gimp that way, and I can do a "port uninstall" to get rid of Wireshark, but how do I get rid of Mac Ports? (Wireshark is almost useless due to the AirPort not working in promiscuous mode, and as i said I only use Gimp occasionally.) Walt On Mar 13, 2008, at 7:41 PM, William Siegrist wrote: > No, you need X11 and XCode according to the MacPorts install > instructions. See the items marked 1 and 2 on the install page: > > http://www.macports.org/install.php > > The error "configure: error: C compiler cannot create executables" > implies you dont have XCode installed. > > -Bill > > From j.van_den_hoff at fzd.de Fri Mar 14 05:38:41 2008 From: j.van_den_hoff at fzd.de (Joerg van den Hoff) Date: Fri Mar 14 05:38:19 2008 Subject: libiconv problems after urxvt upgrade In-Reply-To: <31C8496C-2258-48D3-9871-E09112033AFD@macports.org> References: <20080313111127.GB8188@marco.fz-rossendorf.de> <31C8496C-2258-48D3-9871-E09112033AFD@macports.org> Message-ID: <20080314123841.GA27520@marco.fz-rossendorf.de> ryan, thanks a lot for bothering. I really appreciate this. On Fri, Mar 14, 2008 at 06:39:20AM -0500, Ryan Schmidt wrote: > > On Mar 13, 2008, at 06:11, Joerg van den Hoff wrote: > > >during upgrade from urxvt8.7 to the current version I got the error > >message > > > >===================================CUT================================ > >======== > >Portfile changed since last build; discarding previous state. > >---> Fetching libiconv > >---> Verifying checksum(s) for libiconv > >---> Extracting libiconv > >---> Applying patches to libiconv > >---> Configuring libiconv > >---> Building libiconv with target all > >---> Staging libiconv into destroot > >---> Packaging tgz archive for libiconv 1.12_0+darwin_8 > >---> Deactivating libiconv 1.11_0 > >Error: Deactivating libiconv 1.11_0 failed: Active version of > >libiconv is not 1.11_0 but 1.11_0+darwin_8. > >===================================CUT================================ > >======== > > Peculiar... > > >after which install proceded (apparently successful). > > I don't know why MacPorts proceeds when it encounters an error > activating a port. This only leads to further errors down the road, > as you've seen: deserves this an "official" bug report (I was hoping a bit the ml might suffice)? > > >trying to start `urxvt' now throws the error: > >===================================CUT================================ > >======== > >dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib > >Referenced from: /opt/local/lib/libXft.2.dylib > >Reason: Incompatible library version: libXft.2.dylib requires > >version 7.0.0 > >or later, but libiconv.2.dylib provides version 5.0.0 Trace/BPT trap > >===================================CUT================================ > >======== > > No libiconv is active, because of the earlier error, so ports that > require libiconv now explode. > > >trying a > > > >`sudo port deactivate libiconv@1.11_0+darwin_8' > > > >yielded > >===================================CUT================================ > >======== > >Error: port deactivate failed: Registry error: libiconv not > >registered as > >installed & active. > >===================================CUT================================ > >======== > >which seems inconsistent with the error message during urxvt install. > > Agreed. That seems inconsistent. Not sure how you got into this state. neither am I. I'm definitely _not_ tinkering with the system. rather I try to upgrade by and then relevant packages and go on with my work. > > >after a `sudo port activate libiconv@1.12' now everything seems to > >work, > > Great! > > >but > >the above messages seems to hint at some grade of corruption of the > >internal state of > >port. is this the case? can I sanitize/check it somehow without > >purging > >everything? > > What does "port installed libiconv" show now? this: The following ports are currently installed: libiconv @1.10_1+darwin_8 libiconv @1.11_0+darwin_8 libiconv @1.12_0+darwin_8 (active) libiconv @1.9.2_1 > > >I also notice that many packages appear both with > >`port list active' _and_ `port list inactive'. how can this be? > > "port list" does not do what you think it does. "port list" does the > following: for each port, display the current version (not the > installed version). > > You probably would rather use "port installed active" and "port > installed inactive". thanks for this clarification. I read the manpage again: this behaviour is far from obvious from the manpage, since there "installed" and "active" are both listed as pseudo-portnames which should imply that 'port list active' should do what I expected. also "port installed" (or "port installed active") works while "port active" does not. should not the manpage be modified to make this point clear? > > >and a last question: the "active" ports are the only one in use > > Yes. > > >or are "inactive" ones (especially libs) secretly used by other ports? > > No, inactive ports are not used at all. > > >I noted that a tentative > > > > `sudo port uninstall libiconv@1.11_0+darwin_8' > > > >showed me lots of ports depending on it which would need prior > >uninstall. > > The message shown by MacPorts is misleading. The message says "Unable > to uninstall libiconv 1.11_0+darwin_8, the following ports depend on > it" but what the message should say is "Unable to uninstall libiconv, > the following ports depend on it" (in other words it should not list > the version or variants). Since you already have a newer version of > libiconv installed, it's perfectly fine to remove the older version. > MacPorts just doesn't know any better. Educate it by using "-f" when > uninstalling ports in such situations: ah. maybe I manage to remember this in the future. > > sudo port -f uninstall libiconv@1.11_0+darwin_8 > > >I understand that different versions of libs are needed at the same > >time > > That's not how MacPorts works. Only one version of a library can be > used at a time. If multiple versions of a library are needed at the > same time, multiple separate ports must be created. See for example > apr and apr0, db41 thru db46, and many other examples. please, could you clarify this a bit? does this not still mean that, e.g. apr requires/installs, say libtmp1.1, and apr0 libtmp1.2 so that both need to be there and are used "at the same time" (meaning when apr or apr0 are started)? whether this is necessitated by two variants of an application (say apr) or by uncorrelated apps seems not to make a difference. so, this is still not clear to me: I would expect that some ports rely on a certain version of a lib, others (e.g. more up-to-date ones) need different versions. surely not all available ports always are in a state that they use the same library versions? and even if so, would not otherwise a single upgrade of a single package (inclduing some lib update) lead to necessity of upgrading virtually _everything_ else which needs that library? (i'm not offended if I get the "read the manual" message :-)) > > >but why, then, is one declared "active" the others "inactive"? > > When you "sudo port upgrade foo", the old version is deactivated and > the new version is activated. If you don't want the old version > anymore, you can then uninstall the old version: > > sudo port uninstall foo @1.2.3 > > If you want MacPorts to automatically uninstall the old version > during the upgrade, use the "-u" flag: > > sudo port -u upgrade foo > > This will fail if any port depends on foo. In that case you must also > force it. But the force flag also causes MacPorts to rebuild all > dependencies, possibly multiple times, which you don't want. So if > you want to force an upgrade, you should also always use the > nonrecursive flag: > > sudo port -nfu upgrade foo > > >so in short what's the difference between "active" and "inactive", > >especially > >for libs? > > Inactive ports are not used. They're just there so that you can > activate them again, should you choose to do so (after deactivating > the version that you currently have active.) If you don't want to > reactivate old versions, you can uninstall them to reclaim the disk > space. thanks a lot for getting most of my questions answered. joerg From dluke at geeklair.net Fri Mar 14 05:47:23 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Fri Mar 14 05:46:56 2008 Subject: Unable to install gimp2 In-Reply-To: <309E0C31-68F4-43D5-8731-E837CA3F8C63@gate.net> References: <47D9B19D.5040602@aiala.ch> <47D9BA55.2080907@aiala.ch> <309E0C31-68F4-43D5-8731-E837CA3F8C63@gate.net> Message-ID: On Mar 14, 2008, at 8:16 AM, Walt Scrivens wrote: > but how do I get rid of Mac Ports? http://trac.macports.org/projects/macports/wiki/FAQ#HowdoIremoveoruninstallMacPorts -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080314/f0a3b111/PGP.bin From holy at wustl.edu Fri Mar 14 08:18:12 2008 From: holy at wustl.edu (Tim Holy) Date: Fri Mar 14 08:17:47 2008 Subject: Remote build facilities Message-ID: <200803141018.13004.holy@wustl.edu> Hi, I'm one of the main developers for a GPLed kid's educational game, TuxMath. (http://www.tux4kids.com). I develop on Linux, but my daughters' school uses Macs. Our Mac port is woefully out of date, and the teachers at their school are eager to get it updated. The other main developer of TuxMath has started a macports project for TuxMath, but it's apparently running into snags in the build process. I'd like to try to help out, but I don't have a Mac. Is there a way to get some kind of developer account on a Mac somewhere (preferably one already set up as a macports development environment), so that I could work on it remotely? I have the impression that Debian has servers for the use of their developers, I wonder if there is something analogous for Macs. Best, --Tim From dluke at geeklair.net Fri Mar 14 08:29:30 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Fri Mar 14 08:29:05 2008 Subject: Remote build facilities In-Reply-To: <200803141018.13004.holy@wustl.edu> References: <200803141018.13004.holy@wustl.edu> Message-ID: <4192DDF0-0E61-4B98-9659-3D70A0AFF1CC@geeklair.net> On Mar 14, 2008, at 11:18 AM, Tim Holy wrote: > Is there a way to get some kind of developer account on a Mac > somewhere > (preferably one already set up as a macports development > environment), so > that I could work on it remotely? Not that I'm aware of. OpenDarwin used to run a couple of machines for MacPorts developers (and others) to work on, but (at least so far) that's not something that MacOSForge offers for us. > I have the impression that Debian has > servers for the use of their developers, I wonder if there is > something > analogous for Macs. I'm not aware of any Mac OS X shell providers either. There may be someone on the list who would be willing to give you access to some machine somewhere, but your best bet is probably to either get the school to loan you a machine (or access to one) or buy a mac mini. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080314/3583c226/PGP.bin From wsiegrist at apple.com Fri Mar 14 09:34:46 2008 From: wsiegrist at apple.com (William Siegrist) Date: Fri Mar 14 09:35:50 2008 Subject: Remote build facilities In-Reply-To: <200803141018.13004.holy@wustl.edu> References: <200803141018.13004.holy@wustl.edu> Message-ID: <5C1352F6-BE84-4289-A039-3A6AE036FF3E@apple.com> Like Daniel said, MacPorts and MacOSForge do not offer shell accounts, but I'll ask around at Apple to see if there's anything ADC offers. I seem to remember something like that existing, but it was a long time ago. -Bill On Mar 14, 2008, at 8:18 AM, Tim Holy wrote: > Hi, > > I'm one of the main developers for a GPLed kid's educational game, > TuxMath. > (http://www.tux4kids.com). I develop on Linux, but my daughters' > school uses > Macs. Our Mac port is woefully out of date, and the teachers at > their school > are eager to get it updated. > > The other main developer of TuxMath has started a macports project for > TuxMath, but it's apparently running into snags in the build > process. I'd > like to try to help out, but I don't have a Mac. > > Is there a way to get some kind of developer account on a Mac > somewhere > (preferably one already set up as a macports development > environment), so > that I could work on it remotely? I have the impression that Debian > has > servers for the use of their developers, I wonder if there is > something > analogous for Macs. > > Best, > --Tim > _______________________________________________ > macports-users mailing list > macports-users@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo/macports-users ---- William Siegrist Software Support Engineer Mac OS Forge http://macosforge.org/ wsiegrist@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/20080314/28aa45d2/smime.bin From wsiegrist at apple.com Fri Mar 14 09:51:35 2008 From: wsiegrist at apple.com (William Siegrist) Date: Fri Mar 14 09:52:38 2008 Subject: Remote build facilities In-Reply-To: <200803141018.13004.holy@wustl.edu> References: <200803141018.13004.holy@wustl.edu> Message-ID: <38DAA047-FD94-4BE6-B96A-4F0D792CE64D@apple.com> Oh, here's what I was remembering: http://developer.apple.com/labs/ Its not free (and probably not remote), so hopefully someone else on this list can offer up a shell account on a Mac. -Bill On Mar 14, 2008, at 8:18 AM, Tim Holy wrote: > Hi, > > I'm one of the main developers for a GPLed kid's educational game, > TuxMath. > (http://www.tux4kids.com). I develop on Linux, but my daughters' > school uses > Macs. Our Mac port is woefully out of date, and the teachers at > their school > are eager to get it updated. > > The other main developer of TuxMath has started a macports project for > TuxMath, but it's apparently running into snags in the build > process. I'd > like to try to help out, but I don't have a Mac. > > Is there a way to get some kind of developer account on a Mac > somewhere > (preferably one already set up as a macports development > environment), so > that I could work on it remotely? I have the impression that Debian > has > servers for the use of their developers, I wonder if there is > something > analogous for Macs. > > Best, > --Tim > _______________________________________________ > macports-users mailing list > macports-users@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo/macports-users ---- William Siegrist Software Support Engineer Mac OS Forge http://macosforge.org/ wsiegrist@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/20080314/546706f0/smime.bin From holy at wustl.edu Fri Mar 14 10:15:57 2008 From: holy at wustl.edu (Tim Holy) Date: Fri Mar 14 10:15:32 2008 Subject: Remote build facilities In-Reply-To: <38DAA047-FD94-4BE6-B96A-4F0D792CE64D@apple.com> References: <200803141018.13004.holy@wustl.edu> <38DAA047-FD94-4BE6-B96A-4F0D792CE64D@apple.com> Message-ID: <200803141215.58049.holy@wustl.edu> Hi, I've received an offer---and, in one of those interesting coincidences, from a list-subscriber who is also a friend! Thanks all, --Tim On Friday 14 March 2008, William Siegrist wrote: > Oh, here's what I was remembering: > > http://developer.apple.com/labs/ > > Its not free (and probably not remote), so hopefully someone else on > this list can offer up a shell account on a Mac. > > -Bill > > On Mar 14, 2008, at 8:18 AM, Tim Holy wrote: > > Hi, > > > > I'm one of the main developers for a GPLed kid's educational game, > > TuxMath. > > (http://www.tux4kids.com). I develop on Linux, but my daughters' > > school uses > > Macs. Our Mac port is woefully out of date, and the teachers at > > their school > > are eager to get it updated. > > > > The other main developer of TuxMath has started a macports project for > > TuxMath, but it's apparently running into snags in the build > > process. I'd > > like to try to help out, but I don't have a Mac. > > > > Is there a way to get some kind of developer account on a Mac > > somewhere > > (preferably one already set up as a macports development > > environment), so > > that I could work on it remotely? I have the impression that Debian > > has > > servers for the use of their developers, I wonder if there is > > something > > analogous for Macs. > > > > Best, > > --Tim > > _______________________________________________ > > macports-users mailing list > > macports-users@lists.macosforge.org > > http://lists.macosforge.org/mailman/listinfo/macports-users > > ---- > William Siegrist > Software Support Engineer > Mac OS Forge > http://macosforge.org/ > wsiegrist@apple.com > 408 862 7337 From ryandesign at macports.org Fri Mar 14 13:10:15 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri Mar 14 13:10:08 2008 Subject: Difficulties installing PHP iMagick with MacPorts ImageMagick installation In-Reply-To: References: <270ABEA5-9D70-4AA6-BD55-7FB563350416@xs4all.nl> <632FD2DD-6992-4714-B4E0-1022E8E329DA@macports.org> Message-ID: <28282DE0-2DD3-4FB8-B76E-CC12F6970185@macports.org> Don't forget to Reply All so mailing list subscribers get your message too. Otherwise it goes just to me, and I might not personally know the answers to your questions. On Mar 14, 2008, at 08:10, Elise van Looij wrote: > Op 14 mrt 2008, om 12:23 heeft Ryan Schmidt het volgende geschreven: > >> Following up on my earlier message: >> >> On Mar 14, 2008, at 06:13, Ryan Schmidt wrote: >> >>> On Mar 13, 2008, at 10:25, Elise van Looij wrote: >>> >>>> >>>> >>>> > cd /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1 >>>> > sudo /opt/local/bin/phpize && ./configure --with-imagick=/opt/ >>>> local && make && make install >>>> >>>> > >>>> > >>>> So now I'm stymied. There is indeed a document named imagick.so, >>>> but it's in my download folder >>>> >>>> /Users/elisevanlooij/Downloads/imagick-2.1.1/imagick-2.1.1/ >>>> modules/imagick.so >>>> >>>> which I don't think is a good location, Should I move >>>> imagick.so and if so, where and how? The PHP extension_dir is >>>> set to ./ >>>> Any help would be appreciated. >>> >>> Try running "sudo make install" (instead of "make install"). > > Doesn't the sudo at the beginning of the line take care of that? It > would explain why I got the permissions error. On my bash shell, I would have to say no. The "sudo" applies only to the first command, before the first "&&". So you're running phpize as root, then configuring, making and installing as your normal user. >> But note that it looks like this will install the module into /usr/ >> lib/php/extensions, which is for Apple's PHP, not MacPorts's PHP. > > Actually, the default location for extensions, if I interpret the > results of my googling correctly, is /usr/lib/php/extensions/no- > debug-non-zts-20060613 That's what I meant. > -- I would guess that 20060613 is the date Apple's PHP was built. > Note that this folder is not indexed by Sherlock. What I finally > did was copy imagick.so from /Users/elisevanlooij/Downloads/ > imagick-2.1.1/imagick-2.1.1/modules/ to that folder I would have thought that "sudo make install" would have done exactly that. > and add the following lines to MacPorts' php.ini (/opt/local/etc/ > php.ini), around line 475: > > extension_dir = "/usr/lib/php/extensions/no-debug-non-zts-20060613/" > > and then, under Dynamic extensions, around line 580: > > extension=imagick.so > > I realize this is not the MacPorts way, but I need something that > works now. Ok. But note again that this is for Apple's PHP, not MacPorts's PHP. You had mentioned before that you had installed MacPorts's PHP, but now you won't be using it. >> You might also want to consider making a port for imagick so that >> others won't have to go through what you went through to get it >> installed. >>> > > I'm flattered, and if I knew what I was doing, I would. But I > imagine that making a port requires a bit more knowledge than can > be found in UNIX for Dummies. I do hope that by writing this, I can > help someone else. Not too much more. :) There is a guide: http://guide.macports.org/ And also you can look at the thousands of existing portfiles to see how things are done. For example, to see how the ImageMagick port is written, you can type "port cat ImageMagick" or, if you have your EDITOR environment variable set up correctly, "port edit ImageMagick". Or maybe the portfile of a php extension like php5- xdebug would be more instructive. >> You will probably need to find some additional parameters to tell >> imagick to install the module in the MacPorts prefix instead. > > Elise van Looij From boolegue at gmail.com Fri Mar 14 15:38:14 2008 From: boolegue at gmail.com (Antoine Dechaume) Date: Fri Mar 14 15:37:49 2008 Subject: Port library Message-ID: Dear macporters, I am unable to get the following library, not in macports, to compile on os x 10.5.2. : http://bebop.cs.berkeley.edu/oski I have gfortran 4.2.1 from apple preview, gfortran 4.3 from hpc.sourceforge.net, tried with updated automake and autoconf from macports and last libtool (2.2). I always get the same error: Undefined symbols: "_MAIN__", referenced from: _main in fmain.o Thanks for any help, Boolegue. From ryandesign at macports.org Fri Mar 14 15:53:27 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri Mar 14 15:53:21 2008 Subject: Port library In-Reply-To: References: Message-ID: On Mar 14, 2008, at 17:38, Antoine Dechaume wrote: > Dear macporters, > > I am unable to get the following library, not in macports, to > compile on os x 10.5.2. : http://bebop.cs.berkeley.edu/oski > I have gfortran 4.2.1 from apple preview, gfortran 4.3 from > hpc.sourceforge.net, tried with updated automake and autoconf from > macports and last libtool (2.2). > > I always get the same error: > Undefined symbols: > "_MAIN__", referenced from: > _main in fmain.o > > Thanks for any help, > Boolegue. That's not really the kind of thing we usually help with on this list. You should really be contacting the developer of that software. Is that the only error message you get? I have a feeling there might be more output above or below that? Have you tried using gfortran from the gcc42 or gcc43 port? Just to try something different. From ryandesign at macports.org Fri Mar 14 18:53:37 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri Mar 14 18:53:30 2008 Subject: libiconv problems after urxvt upgrade In-Reply-To: <20080314123841.GA27520@marco.fz-rossendorf.de> References: <20080313111127.GB8188@marco.fz-rossendorf.de> <31C8496C-2258-48D3-9871-E09112033AFD@macports.org> <20080314123841.GA27520@marco.fz-rossendorf.de> Message-ID: <7ADECFAB-B3D5-44EC-9752-D20C5112D5CB@macports.org> On Mar 14, 2008, at 07:38, Joerg van den Hoff wrote: > ryan, > > thanks a lot for bothering. I really appreciate this. > > On Fri, Mar 14, 2008 at 06:39:20AM -0500, Ryan Schmidt wrote: > >> On Mar 13, 2008, at 06:11, Joerg van den Hoff wrote: >> >>> during upgrade from urxvt8.7 to the current version I got the error >>> message >>> >>> ===================================CUT============================== >>> == >>> ======== >>> Portfile changed since last build; discarding previous state. >>> ---> Fetching libiconv >>> ---> Verifying checksum(s) for libiconv >>> ---> Extracting libiconv >>> ---> Applying patches to libiconv >>> ---> Configuring libiconv >>> ---> Building libiconv with target all >>> ---> Staging libiconv into destroot >>> ---> Packaging tgz archive for libiconv 1.12_0+darwin_8 >>> ---> Deactivating libiconv 1.11_0 >>> Error: Deactivating libiconv 1.11_0 failed: Active version of >>> libiconv is not 1.11_0 but 1.11_0+darwin_8. >>> ===================================CUT============================== >>> == >>> ======== >> >> Peculiar... >> >>> after which install proceded (apparently successful). >> >> I don't know why MacPorts proceeds when it encounters an error >> activating a port. This only leads to further errors down the road, >> as you've seen: > > deserves this an "official" bug report (I was hoping a bit the ml > might > suffice)? All bugs deserve a bug report in our issue tracker. :) I'm just not sure how to report this. I've seen it before, but I forget how it happened to be exactly. And you don't know how it happened to you either. Without a reproduction recipe, it'll be hard to fix. But it should still be filed. I tried to search just now (summary contains "activat", component = base) and didn't find it. >>> trying to start `urxvt' now throws the error: >>> ===================================CUT============================== >>> == >>> ======== >>> dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib >>> Referenced from: /opt/local/lib/libXft.2.dylib >>> Reason: Incompatible library version: libXft.2.dylib requires >>> version 7.0.0 >>> or later, but libiconv.2.dylib provides version 5.0.0 Trace/BPT trap >>> ===================================CUT============================== >>> == >>> ======== >> >> No libiconv is active, because of the earlier error, so ports that >> require libiconv now explode. >> >>> trying a >>> >>> `sudo port deactivate libiconv@1.11_0+darwin_8' >>> >>> yielded >>> ===================================CUT============================== >>> == >>> ======== >>> Error: port deactivate failed: Registry error: libiconv not >>> registered as >>> installed & active. >>> ===================================CUT============================== >>> == >>> ======== >>> which seems inconsistent with the error message during urxvt >>> install. >> >> Agreed. That seems inconsistent. Not sure how you got into this >> state. > > neither am I. I'm definitely _not_ tinkering with the system. > rather I try > to upgrade by and then relevant packages and go on with my work. > >>> after a `sudo port activate libiconv@1.12' now everything seems to >>> work, >> >> Great! >> >>> but >>> the above messages seems to hint at some grade of corruption of the >>> internal state of >>> port. is this the case? can I sanitize/check it somehow without >>> purging >>> everything? >> >> What does "port installed libiconv" show now? > > this: > > The following ports are currently installed: > libiconv @1.10_1+darwin_8 > libiconv @1.11_0+darwin_8 > libiconv @1.12_0+darwin_8 (active) > libiconv @1.9.2_1 Looks ok to me. You can force-uninstall those older inactive versions if you want since nothing is using them. >>> I also notice that many packages appear both with >>> `port list active' _and_ `port list inactive'. how can this be? >> >> "port list" does not do what you think it does. "port list" does the >> following: for each port, display the current version (not the >> installed version). >> >> You probably would rather use "port installed active" and "port >> installed inactive". > > thanks for this clarification. I read the manpage again: this > behaviour > is far from obvious from the manpage, since there "installed" and > "active" > are both listed as pseudo-portnames which should imply that 'port > list active' > should do what I expected. No... because "port list" does not do what you expected. Read the description of "port list" in the manpage: list If no argument is given, display a list of the the latest version of all available ports. If portname(s) are given as arguments, display a list of the latest version of each port. (I just noticed "the the" and fixed it in r35030.) So "port list active" lists the latest version of each active port, *not* the installed version of each active port. For example, if you deactivate libiconv @1.12_0+darwin_8 and then activate libiconv @1.11_0+darwin_8, "port list active" (or "port list libiconv") will still show "libiconv @1.12 textproc/ libiconv" because 1.12 is the latest version of that port. > also "port installed" (or "port installed active") > works while "port active" does not. should not the manpage be > modified to > make this point clear? "installed" is both a command (e.g. "port installed" -- show information about installed ports (by default, show information about all installed ports, but you can specify a subset if you want, e.g. "port installed libiconv")) and a pseudo-portname ("port info -- maintainer installed" -- show the maintainer of each installed port). "active" is only a pseudo-portname. It is not a command. Do you have a specific suggestion about what should be changed? A particular passage that is confusing, or a specific sentence you'd like to have added? Note that I believe the manpages have been rewritten since 1.6.0. That is, they used to be standalone manpages, but with the recent effort to write the web-based MacPorts guide, I believe the manpages have also been rewritten and reformatted in the same docbook style, though at the time MacPorts 1.6.0 was released there were some problems actually generating the manpages from the docbook sources so the old manpages were left in. I'm not sure if that situation has changed since then. >>> and a last question: the "active" ports are the only one in use >> >> Yes. >> >>> or are "inactive" ones (especially libs) secretly used by other >>> ports? >> >> No, inactive ports are not used at all. >> >>> I noted that a tentative >>> >>> `sudo port uninstall libiconv@1.11_0+darwin_8' >>> >>> showed me lots of ports depending on it which would need prior >>> uninstall. >> >> The message shown by MacPorts is misleading. The message says "Unable >> to uninstall libiconv 1.11_0+darwin_8, the following ports depend on >> it" but what the message should say is "Unable to uninstall libiconv, >> the following ports depend on it" (in other words it should not list >> the version or variants). Since you already have a newer version of >> libiconv installed, it's perfectly fine to remove the older version. >> MacPorts just doesn't know any better. Educate it by using "-f" when >> uninstalling ports in such situations: > > ah. maybe I manage to remember this in the future. > >> sudo port -f uninstall libiconv@1.11_0+darwin_8 >> >>> I understand that different versions of libs are needed at the same >>> time >> >> That's not how MacPorts works. Only one version of a library can be >> used at a time. If multiple versions of a library are needed at the >> same time, multiple separate ports must be created. See for example >> apr and apr0, db41 thru db46, and many other examples. > > please, could you clarify this a bit? does this not still mean > that, e.g. > apr requires/installs, say libtmp1.1, and apr0 libtmp1.2 so that both > need to be there and are used "at the same time" (meaning when apr or > apr0 are started)? whether this is necessitated by two variants of > an application (say apr) or by uncorrelated apps seems not to make a > difference. I'll try to clarify, with the APR example. APR is the Apache Portable Runtime, a library used by the Apache web server, Subversion, and other software that wants to run on multiple operating systems without having to write lots of OS-specific code. OS-specific code is encapsulated inside APR. We have two ports for Apache 2: apache2, which installs Apache 2.2.x, and apache20, which installs Apache 2.0.x. Most people will want the latest version and so they will choose apache2. Some people may want to use pre-compiled modules designed for Apache 2.0.x which won't work with Apache 2.2.x, therefore they will choose apache20. Apache 2.2.x requires APR 1.2.x and does not work with earlier versions. Apache 2.0.x requires APR 0.9.x and does not work with later versions. Back in 2005, the apr port installed APR 0.9.x. But then in December 2005, APR 1.2.x was released and the apr port was updated to that version. You cannot ask MacPorts to install an older version of a port. You can only install the current version of a port. Therefore, we need separate ports apr (provides APR 1.2.x) and apr0 (provides APR 0.9.x) so that ports that want the latest version (like apache2) can use apr, and ports that want the older 0.9.x version (like apache20) can use that version. Back to libiconv: there is only one libiconv port, so your only option is to install the latest version of libiconv. If there were a port that required an older version of libiconv in order to run, we would have to make a second libiconv port for that older version of the libiconv software. > so, this is still not clear to me: I would expect that > some ports rely on a certain version of a lib, others (e.g. more > up-to-date ones) need different versions. surely not all available > ports > always are in a state that they use the same library versions? In MacPorts, there is no way to specify that a port depends on a certain version of another port. It is only possible to specify that a port depends on another port. > and even > if so, would not otherwise a single upgrade of a single package > (inclduing some lib update) lead to necessity of upgrading virtually > _everything_ else which needs that library? (i'm not offended if > I get the "read the manual" message :-)) For most library updates, the library is a drop-in replacement for the old library. Software that linked with and worked with the old library will continue to work with the new library. But consider gettext, the GNU internationalization library used by many many other ports. When gettext was updated from 0.14.x to 0.15.x, the library changed in a binary-incompatible way so the library version was increased, which caused all other ports to break until they were rebuilt. See the problem hotlist: http://trac.macosforge.org/projects/macports/wiki/ ProblemHotlist#a2.Aportfailedtobuildupgradeorrunwithamessagereferringtol ibintl.3.dylib This may not be super, but it is the state of MacPorts at this time. >>> but why, then, is one declared "active" the others "inactive"? >> >> When you "sudo port upgrade foo", the old version is deactivated and >> the new version is activated. If you don't want the old version >> anymore, you can then uninstall the old version: >> >> sudo port uninstall foo @1.2.3 >> >> If you want MacPorts to automatically uninstall the old version >> during the upgrade, use the "-u" flag: >> >> sudo port -u upgrade foo >> >> This will fail if any port depends on foo. In that case you must also >> force it. But the force flag also causes MacPorts to rebuild all >> dependencies, possibly multiple times, which you don't want. So if >> you want to force an upgrade, you should also always use the >> nonrecursive flag: >> >> sudo port -nfu upgrade foo >> >>> so in short what's the difference between "active" and "inactive", >>> especially >>> for libs? >> >> Inactive ports are not used. They're just there so that you can >> activate them again, should you choose to do so (after deactivating >> the version that you currently have active.) If you don't want to >> reactivate old versions, you can uninstall them to reclaim the disk >> space. > > > thanks a lot for getting most of my questions answered. From boolegue at gmail.com Fri Mar 14 19:10:45 2008 From: boolegue at gmail.com (Antoine Dechaume) Date: Fri Mar 14 19:10:16 2008 Subject: Port library In-Reply-To: References: Message-ID: I contacted the developer, he doesn't know how to fix this. I asked on fortran-dev apple mailing list but without any luck so far. I haven't try yet building gfortran from macports, I am still hoping for an easier solution. :-/ Boolegue. On 14-Mar-08, at 4:53 PM, Ryan Schmidt wrote: > On Mar 14, 2008, at 17:38, Antoine Dechaume wrote: > >> Dear macporters, >> >> I am unable to get the following library, not in macports, to >> compile on os x 10.5.2. : http://bebop.cs.berkeley.edu/oski >> I have gfortran 4.2.1 from apple preview, gfortran 4.3 from >> hpc.sourceforge.net, tried with updated automake and autoconf from >> macports and last libtool (2.2). >> >> I always get the same error: >> Undefined symbols: >> "_MAIN__", referenced from: >> _main in fmain.o >> >> Thanks for any help, >> Boolegue. > > That's not really the kind of thing we usually help with on this > list. You should really be contacting the developer of that software. > > Is that the only error message you get? I have a feeling there might > be more output above or below that? > > Have you tried using gfortran from the gcc42 or gcc43 port? Just to > try something different. > > From Kurt.W.Andrews at sbcglobal.net Fri Mar 14 20:45:00 2008 From: Kurt.W.Andrews at sbcglobal.net (Kurt Andrews) Date: Fri Mar 14 20:44:30 2008 Subject: darwinports vs macports In-Reply-To: References: Message-ID: > > Folks, > > > all of my experience with building applications on a unix platform is with > ant and a java environment and this is the first time I've tried to use > darwinports. I tried it because I wanted a copy of scite for my mac. I'm > running one of the first intel based mac minis with the latest version of > Tiger. > > > Following the instructions on the website > > > This is a two-step process and is easy to get working. The first step is > to download and run the Darwin Ports installer located > here:download.darwinports.com. The second step is to update the ports so > that they are current on your Mac. To do this, open a terminal window and > check the project out of the CVS repository with the following command and > enter the root password when prompted: > > > % sudo port -d selfupdate > > Password: > > > > 1. > > I downloaded the binaries for darwinports ver 1.5 and let it do the > default install > > 2. > > sudo port would run even if /opt/local/bin was the current directory > so I added /opt/local/bin to the path like so: > > 3. > > once the selfupdate was running I started seeing some messages about > macports that's when I started getting confused but pressed on > > 4. > > I tried to cd to /opt/local/bin/portslocation/dports/scite but that > directory didn't exist > > 5. > > I just ran sudo port install scite from the /opt/local/bin directory > and it went off and started pulling down what I hope were just scite's > dependencies, but I was a little worried because I wasn't running the > install from the directory specified on the website. Eventually the install > failed with the following error: > > > ---> Fetching XFree86 > Error: Target org.macports.fetch returned: > > You have an Apple X11SDK installation already. > MacPorts will not overwrite it. > > If you wish to use Apple X11, > install it from your Mac OS X install disc. > > If you really want to use XFree86 instead, > please move it aside first : > > sudo mv /usr/X11R6 /usr/X11R6.apple > > Error: The following dependencies failed to build: gtk2 cairo xrender > XFree86 gtk-doc docbook-xml-4.1.2 xmlcatmgr docbook-xsl libxml2 perl5.8scrollkeeper docbook-xml > docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 libxslt > p5-xml-parser jpeg pango Xft2 xorg-xproto xorg-util-macros tiff xorg > Error: Status 1 encountered during processing. > > > Based on this experience I've got a couple of questions > > > 1. > > Does macports 1.6 replace darwinports 1.5 and should I be using > macports instead > > 2. > > If I should be using macports 1.6 do I need to uninstall darwinports > and install macports. > > 3. > > The macports installation instructions talk about installing x11 > support and XCode support which sounds like it may be related to the error > above but I don't understand the instructions in light of the fact that I've > already got x11 installed > > 4. > > can someone please provide detailed instructions on how to clean > things up and move forward. I can provide the output from the entire > terminal session but I wasn't sure if the list manager would allow me to > attach a file to this email > > > Any assistance would be greatly appreciated. > > > Thanks > > > Kurt > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080314/2f3934c1/attachment.html From ryandesign at macports.org Sat Mar 15 01:39:05 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat Mar 15 01:39:00 2008 Subject: darwinports vs macports In-Reply-To: References: Message-ID: <5441CAEF-4123-43A0-ABC6-B06C318E8F11@macports.org> On Mar 14, 2008, at 22:45, Kurt Andrews wrote: > Folks, > all of my experience with building applications on a unix platform > is with ant and a java environment and this is the first time I've > tried to use darwinports. I tried it because I wanted a copy of > scite for my mac. I'm running one of the first intel based mac > minis with the latest version of Tiger. > > Following the instructions on the website > >> This is a two-step process and is easy to get working. The first >> step is to download and run the Darwin Ports installer located >> here:download.darwinports.com. The second step is to update the >> ports so that they are current on your Mac. To do this, open a >> terminal window and check the project out of the CVS repository >> with the following command and enter the root password when prompted: >> >> % sudo port -d selfupdate >> Password: > > I downloaded the binaries for darwinports ver 1.5 and let it do the > default install > sudo port would run even if /opt/local/bin was the current > directory so I added /opt/local/bin to the path like so: > once the selfupdate was running I started seeing some messages > about macports that's when I started getting confused but pressed on > I tried to cd to /opt/local/bin/portslocation/dports/scite but that > directory didn't exist > I just ran sudo port install scite from the /opt/local/bin > directory and it went off and started pulling down what I hope were > just scite's dependencies, but I was a little worried because I > wasn't running the install from the directory specified on the > website. Eventually the install failed with the following error: > ---> Fetching XFree86 > Error: Target org.macports.fetch returned: > > You have an Apple X11SDK installation already. > MacPorts will not overwrite it. > > If you wish to use Apple X11, > install it from your Mac OS X install disc. > > If you really want to use XFree86 instead, > please move it aside first : > > sudo mv /usr/X11R6 /usr/X11R6.apple > > Error: The following dependencies failed to build: gtk2 cairo > xrender XFree86 gtk-doc docbook-xml-4.1.2 xmlcatmgr docbook-xsl > libxml2 perl5.8 scrollkeeper docbook-xml docbook-xml-4.2 docbook- > xml-4.3 docbook-xml-4.4 docbook-xml-4.5 libxslt p5-xml-parser jpeg > pango Xft2 xorg-xproto xorg-util-macros tiff xorg > Error: Status 1 encountered during processing. > > Based on this experience I've got a couple of questions > Does macports 1.6 replace darwinports 1.5 and should I be using > macports instead > If I should be using macports 1.6 do I need to uninstall > darwinports and install macports. > The macports installation instructions talk about installing x11 > support and XCode support which sounds like it may be related to > the error above but I don't understand the instructions in light of > the fact that I've already got x11 installed > can someone please provide detailed instructions on how to clean > things up and move forward. I can provide the output from the > entire terminal session but I wasn't sure if the list manager would > allow me to attach a file to this email > Any assistance would be greatly appreciated. The project currently known as MacPorts used to be known as DarwinPorts. Two main situations caused the name change: 1) The focus of the project changed to providing the best Mac OS X package manager, rather than trying to also provide a package manager for the stand-alone Darwin OS, which almost none of the port developers use and therefore almost none of the ports are tested on, and 2) the official web site was www.darwinports.org but someone not affiliated with the project set up a rogue web at www.d*****ports.com with conflicting and inaccurate information. Please do not refer to www.d*****ports.com for any information about the MacPorts project. Please refer to www.macports.org only. See our wonderful guide at guide.macports.org. Please read Chapter 2: Installing MacPorts and Chapter 3: Using MacPorts. May I ask what led you to www.d*****ports.com in the first place? I understand that unfortunately it scores a rather higher PageRank in Google... I wish it were not so, and I would like to know how to change that. To upgrade from DarwinPorts to MacPorts, or MacPorts to any future version, run "sudo port selfupdate". Sounds like you already did this so you should already have MacPorts 1.6.0. You seem to have part but not all of X11 installed. You need both the X11 User package from the Mac OS X DVD (which accounts for X11.app in your Utilities folder) and the X11 SDK package from Xcode (which is the part that lets you build other software for X11). Install X11 User first (you probably already have it), then install the latest Xcode for your OS, and make sure to tell it to install the X11 SDK as well. To install any port foo, just run "sudo port install foo". That's all you need to do. You don't need to be in any particular directory. But you may want to first see if there are any variants that you would like to select. Run "port info foo" and "port variants foo". Yes, you need to add /opt/local/bin and /opt/local/sbin to your PATH. That is, the MacPorts installer should do so for you. Versions prior to 1.6.0 did so for you. 1.6.0 has a bug where it does not do so for you and you must do it manually. This will be fixed in the next version. If you have any other questions please let us know. Welcome to MacPorts! From ryandesign at macports.org Sat Mar 15 03:11:12 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat Mar 15 03:11:07 2008 Subject: Port library In-Reply-To: References: Message-ID: <80C1A065-BE95-4723-B5AC-A1D891490055@macports.org> On Mar 14, 2008, at 21:10, Antoine Dechaume wrote: > On 14-Mar-08, at 4:53 PM, Ryan Schmidt wrote: > >> On Mar 14, 2008, at 17:38, Antoine Dechaume wrote: >> >>> Dear macporters, >>> >>> I am unable to get the following library, not in macports, to >>> compile on os x 10.5.2. : http://bebop.cs.berkeley.edu/oski >>> I have gfortran 4.2.1 from apple preview, gfortran 4.3 from >>> hpc.sourceforge.net, tried with updated automake and autoconf >>> from macports and last libtool (2.2). >>> >>> I always get the same error: >>> Undefined symbols: >>> "_MAIN__", referenced from: >>> _main in fmain.o >>> >>> Thanks for any help, >>> Boolegue. >> >> That's not really the kind of thing we usually help with on this >> list. You should really be contacting the developer of that software. >> >> Is that the only error message you get? I have a feeling there >> might be more output above or below that? >> >> Have you tried using gfortran from the gcc42 or gcc43 port? Just >> to try something different. > > I contacted the developer, he doesn't know how to fix this. > I asked on fortran-dev apple mailing list but without any luck so far. > I haven't try yet building gfortran from macports, I am still > hoping for an easier solution. :-/ I tried making a portfile for oski using the gcc42 port which I already had installed, and got the same error. I filed a ticket with my in-progress portfile if anyone would like to jump in and help here: http://trac.macosforge.org/projects/macports/ticket/14671 From walts at gate.net Sat Mar 15 04:57:33 2008 From: walts at gate.net (Walt Scrivens) Date: Sat Mar 15 04:57:05 2008 Subject: Unable to install gimp2 In-Reply-To: <309E0C31-68F4-43D5-8731-E837CA3F8C63@gate.net> References: <47D9B19D.5040602@aiala.ch> <47D9BA55.2080907@aiala.ch> <309E0C31-68F4-43D5-8731-E837CA3F8C63@gate.net> Message-ID: <98F980B5-85C4-4778-A67B-1D97D6F0F669@gate.net> Replying to my own post - I confess to being hasty. I don't know why it took three hours to install wireshark; I had done so under OS X 10.4 and it only took a few minutes. I was more disturbed by the very long boot time. After a night's sleep (and thanks for the info, Daniel) I went back into my notes for the last time I had trouble with boot-up and found the procedure for a Safe Boot. At that time the Apple technician explained that unlike Windows Safe Mode, Safe Boot in OS X actually does some repair work, which is why it takes so long. Anyway, I did a Safe Boot, the Repair Permissions, and the three cron jobs (daily, weekly, monthly) that I neglect so frequently, and now my Mac is happy again! I thought I'd pass that on in case others are having similar problems. Two issues remain: If I try to start Gimp by itself, it fails with a message box, "Failed to start X11" However if I start Wireshark first, Gimp runs OK since wireshark has started X11 (and does not shut it down when you exit Wireshark). I remember from some Linux distros I have used that there is s "startx" command to run X11, but that just gives me a screenful of error messages. Fatal server error: Cannot establish any listening sockets - Make sure an X server isn't already running AbortDDX Quitting XQuartz... giving up. xinit: Operation timed out (errno 60): unable to connect to X server xinit: No such process (errno 3): Server error. xauth: error in locking authority file /Users/walts/.Xauthority This was after a fresh start, so unless started automatically, no X server was running. For now, if I need Gimp I can work around it by running Wireshark first, but I'd really like to find the "right" way to do this! Now, does anybody know how to make the Air Port work in promiscuous mode? Walt On Mar 14, 2008, at 8:16 AM, Walt Scrivens wrote: > Related issue: > > I installed Gimp a while ago, along with X11, and it worked. > > Then an Apple upgrade came along, and Gimp quit with the message, > "You must have X11 installed". Since I only use gimp occasionally, > I didn't worry about it, but it appears the Apple upgrade changed > something with X (which still appears int he finder and "runs". > > This week, I installed Wireshark which also runs under X, and after > the installation Gimp started working. > > The issue is this: The Wireshark installation took THREE HOURS! > and now, a cold boot of the Mac takes over five minutes! I've > concluded that I must remove this stuff, and (maybe) start over. > > I violated my cardinal rule - before installing software, be sure > you know how to remove it! In my defense, the Mac has made me lazy > in that regard, with its "drag to the trash" uninstall procedure. I > can get rid of Gimp that way, and I can do a "port uninstall" to get > rid of Wireshark, but how do I get rid of Mac Ports? (Wireshark is > almost useless due to the AirPort not working in promiscuous mode, > and as i said I only use Gimp occasionally.) > > Walt > [SNIP] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080315/fd951175/attachment-0001.html From schalk at unf.edu Sat Mar 15 06:00:03 2008 From: schalk at unf.edu (Stuart Chalk) Date: Sat Mar 15 05:59:31 2008 Subject: Upgrade from tiger to lepoard Message-ID: <89597ABE-8E4E-435B-9F3D-FC1E30BF757D@unf.edu> I have macports 1.6.0 install on a computer running tiger (10.4.11) and I want to upgrade to lepoard. Should I uninstall the the ports, uninstall macports, install leopard, install macports for 10.5, and then install my ports or this there a better less involved way? Stuart Chalk From raimue at macports.org Sat Mar 15 06:32:30 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sat Mar 15 06:32:00 2008 Subject: Unable to install gimp2 In-Reply-To: <98F980B5-85C4-4778-A67B-1D97D6F0F669@gate.net> References: <47D9B19D.5040602@aiala.ch> <47D9BA55.2080907@aiala.ch> <309E0C31-68F4-43D5-8731-E837CA3F8C63@gate.net> <98F980B5-85C4-4778-A67B-1D97D6F0F669@gate.net> Message-ID: <47DBCFEE.5080108@macports.org> Walt Scrivens wrote: > Two issues remain: > If I try to start Gimp by itself, it fails with a message box, "Failed > to start X11" > > However if I start Wireshark first, Gimp runs OK since wireshark has > started X11 (and does not shut it down when you exit Wireshark). > > I remember from some Linux distros I have used that there is s "startx" > command to run X11, but that just gives me a screenful of error messages. Run command requiring X11 like this: $ open-x11 gimp This will take care of starting X11. > This was after a fresh start, so unless started automatically, no X > server was running. > For now, if I need Gimp I can work around it by running Wireshark first, > but I'd really like to find the "right" way to do this! Even more simple, put the X11.app into your dock and just click it to run it. Rainer From ryandesign at macports.org Sat Mar 15 13:05:35 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat Mar 15 13:05:28 2008 Subject: Upgrade from tiger to lepoard In-Reply-To: <89597ABE-8E4E-435B-9F3D-FC1E30BF757D@unf.edu> References: <89597ABE-8E4E-435B-9F3D-FC1E30BF757D@unf.edu> Message-ID: On Mar 15, 2008, at 08:00, Stuart Chalk wrote: > I have macports 1.6.0 install on a computer running tiger (10.4.11) > and I want to upgrade to lepoard. > Should I uninstall the the ports, uninstall macports, install > leopard, install macports for 10.5, and then install my ports Yes, that's what I recommend. Make sure to save any configuration files you edited or other unique data of yours inside your MacPorts prefix before you remove it. > or this there a better less involved way? Not one that I'm comfortable with. I can't guarantee that ports built on Tiger will work correctly on Leopard, and I wouldn't want to troubleshoot any issues you have as a result. From Kurt.W.Andrews at sbcglobal.net Sat Mar 15 21:12:42 2008 From: Kurt.W.Andrews at sbcglobal.net (Kurt Andrews) Date: Sat Mar 15 21:12:09 2008 Subject: darwinports vs macports In-Reply-To: <5441CAEF-4123-43A0-ABC6-B06C318E8F11@macports.org> References: <5441CAEF-4123-43A0-ABC6-B06C318E8F11@macports.org> Message-ID: Thanks for the help, your explanation made it easy to get all the proper components installed to get macports working properly. The scite install is still having problems, but I'll get to that after I take care of one of your questions. On Sat, Mar 15, 2008 at 3:39 AM, Ryan Schmidt wrote: > May I ask what led you to www.d*****ports.com in the first place? I > understand that unfortunately it scores a rather higher PageRank > in Google... I wish it were not so, and I would like to know how to > change that. > I don't remember my exact search terms it has something like scite and mac os X and maybe even darwin in one of the searches but after I read your response I even tried macports scite and the d*****ports.com page entry came up as the first one. We have a group of folks at work who do search engine optimization I'll ask them for some advice. If I get any, I'll pass it on. > > To upgrade from DarwinPorts to MacPorts, or MacPorts to any future > version, run "sudo port selfupdate". Sounds like you already did this > so you should already have MacPorts 1.6.0. I used the macports 1.6 dmg file to install over the top of what I had before. I know you said I didn't have to, but the idea of a rogue site made me a little nervous. > You seem to have part but not all of X11 installed. You need both the > X11 User package from the Mac OS X DVD (which accounts for X11.app in > your Utilities folder) and the X11 SDK package from Xcode (which is > the part that lets you build other software for X11). Install X11 > User first (you probably already have it), then install the latest > Xcode for your OS, and make sure to tell it to install the X11 SDK as > well. > All is well with x11. once I was using the installation instructions from the macports site, fixing the issue was relatively easy. To install any port foo, just run "sudo port install foo". That's all > you need to do. You don't need to be in any particular directory. But > you may want to first see if there are any variants that you would > like to select. Run "port info foo" and "port variants foo". > > Yes, you need to add /opt/local/bin and /opt/local/sbin to your PATH. > That is, the MacPorts installer should do so for you. Versions prior > to 1.6.0 did so for you. 1.6.0 has a bug where it does not do so for > you and you must do it manually. This will be fixed in the next version. One of the installs put a .profile in my home directory once I sourced that from .bash_profile everything worked fine. If you have any other questions please let us know. Welcome to MacPorts! The scite install is still giving me problems. Here is the output from my terminal session including every thing I did per the instructions to try to resolve the issue. I guess I'll have to open a ticket? ---> Fetching docbook-xsl ---> Attempting to fetch docbook-xsl-1.72.0.tar.bz2 from http://downloads.sourceforge.net/docbook ---> Verifying checksum(s) for docbook-xsl Error: Checksum (md5) mismatch for docbook-xsl-1.72.0.tar.bz2 Error: Checksum (sha1) mismatch for docbook-xsl-1.72.0.tar.bz2 Error: Checksum (rmd160) mismatch for docbook-xsl-1.72.0.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: The following dependencies failed to build: gtk2 gtk-doc docbook-xsl libxml2 perl5.8 scrollkeeper docbook-xml docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 libxslt p5-xml-parser jpeg pango Xft2 xorg-xproto xorg-util-macros tiff Error: Status 1 encountered during processing. discovery:~ kandrews$ sudo port sync Password: discovery:~ kandrews$ sudo port install scite ---> Verifying checksum(s) for docbook-xsl Error: Checksum (md5) mismatch for docbook-xsl-1.72.0.tar.bz2 Error: Checksum (sha1) mismatch for docbook-xsl-1.72.0.tar.bz2 Error: Checksum (rmd160) mismatch for docbook-xsl-1.72.0.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: The following dependencies failed to build: gtk2 gtk-doc docbook-xsl libxml2 perl5.8 scrollkeeper docbook-xml docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 libxslt p5-xml-parser jpeg pango Xft2 xorg-xproto xorg-util-macros tiff Error: Status 1 encountered during processing. discovery:~ kandrews$ sudo port clean --dist scite ---> Cleaning scite discovery:~ kandrews$ sudo port install scite ---> Verifying checksum(s) for docbook-xsl Error: Checksum (md5) mismatch for docbook-xsl-1.72.0.tar.bz2 Error: Checksum (sha1) mismatch for docbook-xsl-1.72.0.tar.bz2 Error: Checksum (rmd160) mismatch for docbook-xsl-1.72.0.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: The following dependencies failed to build: gtk2 gtk-doc docbook-xsl libxml2 perl5.8 scrollkeeper docbook-xml docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 libxslt p5-xml-parser jpeg pango Xft2 xorg-xproto xorg-util-macros tiff Error: Status 1 encountered during processing. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080315/486d54af/attachment.html From ryandesign at macports.org Sat Mar 15 21:30:36 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat Mar 15 21:30:24 2008 Subject: darwinports vs macports In-Reply-To: References: <5441CAEF-4123-43A0-ABC6-B06C318E8F11@macports.org> Message-ID: <56243B13-B79D-4972-AF1B-0D243C83154F@macports.org> On Mar 15, 2008, at 23:12, Kurt Andrews wrote: > The scite install is still giving me problems. Here is the output > from my terminal session including every thing I did per the > instructions to try to resolve the issue. I guess I'll have to > open a ticket? > > ---> Fetching docbook-xsl > ---> Attempting to fetch docbook-xsl-1.72.0.tar.bz2 from http:// > downloads.sourceforge.net/docbook > ---> Verifying checksum(s) for docbook-xsl > Error: Checksum (md5) mismatch for docbook-xsl-1.72.0.tar.bz2 > Error: Checksum (sha1) mismatch for docbook-xsl-1.72.0.tar.bz2 > Error: Checksum (rmd160) mismatch for docbook-xsl-1.72.0.tar.bz2 [snip] I tried it just now and the checksums verify just fine, so I think you just got a bad download. Clean it out and try again: sudo port clean --all docbook-xsl From ryandesign at macports.org Sat Mar 15 21:57:45 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat Mar 15 21:57:42 2008 Subject: Writing portfiels: How to avoid hardcoded paths? In-Reply-To: <8BAD5CC0-090D-4236-91E2-323B830E552A@mac.com> References: <8BAD5CC0-090D-4236-91E2-323B830E552A@mac.com> Message-ID: <0ED6C90B-9B13-46F5-8293-9C32C9B0FCD4@macports.org> On Mar 13, 2008, at 14:15, Giorgio Valoti wrote: > Hi all, with the help of William Siegrist I wrote a portfile for > pgpool-II (ticket #14647). I?ve added the following environment > setting: > configure.env PATH=$env(PATH):${prefix}/lib/postgresql83/bin > > In order to make pg_config available at configure time. Is there a > way to avoid hard coding the path? Is there an option in the configure script for pgpool-II to tell it where postgresql is located? Take a look at its "./configure --help" If not, then I guess you'll have to munge the PATH like that. Which isn't awful. From niels at pan.o.ra.ma Sun Mar 16 04:53:28 2008 From: niels at pan.o.ra.ma (Niels Ganser) Date: Sun Mar 16 04:53:16 2008 Subject: digikam & amarok ports? Message-ID: <47DD0A38.8070507@pan.o.ra.ma> Hi everybody, coming from an Ubuntu background, I've been using fink for the last months but am left quite unimpressed by the quality and up-to-dateness of their packages (as well as availability and speed of the mirrors). Of course it is an effort led solely by volunteers and as such I can't really complain about the service they are providing. I have found however, that software provided by the macports project is more recent and generally more hassle-free to install and work with. This of course was the long version of "thanks what you guys are doing!".. However, I am dearly missing two programs from my KDE days which are digikam and amarok. (http://www.digikam.org & http://amarok.kde.org). I could not find those in your ports database so my question is: are they provided by the "kde" port and as such not installable individually or aren't they part of the macports project at all? If so: are there any plans to include them in the future? In any case, thanks for providing this fantastic service and best regards, Niels. From David.Epstein at warwick.ac.uk Sun Mar 16 04:53:47 2008 From: David.Epstein at warwick.ac.uk (David Epstein) Date: Sun Mar 16 04:53:41 2008 Subject: detex Message-ID: <16078108.post@talk.nabble.com> Is there a macport of detex? This is a program that removes TeX control sequences and comments from files. I thought it was part of the teTeX distribution, and there is a port of teTex. Does anyone know how I can get hold of this? Should I do it outside /opt/local? Thanks David -- View this message in context: http://www.nabble.com/detex-tp16078108p16078108.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From walts at gate.net Sun Mar 16 06:04:09 2008 From: walts at gate.net (Walt Scrivens) Date: Sun Mar 16 06:03:35 2008 Subject: Wireless tools Message-ID: Is there a port of Wireless Tools? I'm familiar with a package by that name for the Zaurus, it contains a number of utilities for working with 802.11 wireless cards, but I don't see anything similar in "port list". I'm aware of the hidden "airport" program and that won't work. Walt From skip at pobox.com Sun Mar 16 08:09:53 2008 From: skip at pobox.com (skip@pobox.com) Date: Sun Mar 16 08:09:59 2008 Subject: Unable to build/install mono Message-ID: <18397.14401.888332.902871@montanaro-dyndns-org.local> I'm sitting there at PyCon listening to Mark Hammond's PyXPCOM talk. It crossed paths with IronPython and mono, so I decided to try installing it and getting IronPython running. But there was no joy. I got errors during compilation: /usr/bin/gcc-4.0 -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\"" -DPACKAGE_BUGREPORT=\"Hans_Boehm@hp.com\" -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include -I/opt/local/include -O2 -D_NONSTD_SOURCE -MT darwin_stop_world.lo -MD -MP -MF .deps/darwin_stop_world.Tpo -c darwin_stop_world.c -fno-common -DPIC -o .libs/darwin_stop_world.o darwin_stop_world.c: In function 'GC_push_all_stacks': darwin_stop_world.c:106: error: 'i386_thread_state_t' has no member named '__esp' darwin_stop_world.c:108: error: 'i386_thread_state_t' has no member named '__eax' darwin_stop_world.c:109: error: 'i386_thread_state_t' has no member named '__ebx' darwin_stop_world.c:110: error: 'i386_thread_state_t' has no member named '__ecx' darwin_stop_world.c:111: error: 'i386_thread_state_t' has no member named '__edx' darwin_stop_world.c:112: error: 'i386_thread_state_t' has no member named '__edi' darwin_stop_world.c:113: error: 'i386_thread_state_t' has no member named '__esi' darwin_stop_world.c:114: error: 'i386_thread_state_t' has no member named '__ebp' make[3]: *** [darwin_stop_world.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. Any idea how to move past this point? -- Skip Montanaro - skip@pobox.com - http://www.webfast.com/~skip/ From james.sumners at gmail.com Sun Mar 16 08:33:23 2008 From: james.sumners at gmail.com (James Sumners) Date: Sun Mar 16 08:32:51 2008 Subject: Wireless tools In-Reply-To: References: Message-ID: What are you looking to do? On Sun, Mar 16, 2008 at 9:04 AM, Walt Scrivens wrote: > Is there a port of Wireless Tools? I'm familiar with a package by > that name for the Zaurus, it contains a number of utilities for > working with 802.11 wireless cards, but I don't see anything similar > in "port list". I'm aware of the hidden "airport" program and that > won't work. > > Walt -- James Sumners http://james.roomfullofmirrors.com/ "All governments suffer a recurring problem: Power attracts pathological personalities. It is not that power corrupts but that it is magnetic to the corruptible. Such people have a tendency to become drunk on violence, a condition to which they are quickly addicted." Missionaria Protectiva, Text QIV (decto) CH:D 59 From queshaw at pacbell.net Sun Mar 16 10:07:03 2008 From: queshaw at pacbell.net (Kendall Shaw) Date: Sun Mar 16 10:06:27 2008 Subject: tclsh malloc error and what does -R do? Message-ID: <47DD53B7.2040907@pacbell.net> I use -R when upgrading something with dependents, because I think it is going to upgrade or recompile/relink the packages that depend on what I'm upgrading. But, I think it just upgrades all of my outdated ports, is that right? For example I used sudo port upgrade -R python24 and it upgraded most of my outdated ports, such as gtk2, and stopped on an error before moving on to the last port. So, what does -R do? Changing the subject: When I upgrade and many ports are upgraded, the process often ends with this error: tclsh(41595,0xa0081074) malloc: *** mmap(size=446464) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug unable to alloc 443225 bytes Abort trap I don't recall if this happens also when that happens, but this time, just before the malloc error, I get: Error: Variant headercache conflicts with db4 Error: Unable to open port: Error evaluating variants The final port that was going to probably be upgraded was mutt-devel, which depends on db44. I don't recall if mutt was among the ports being upgraded whenever I got this error. Actually, I'm not going to look at mutt now, so I've uninstalled it. But, do you know if the malloc error is a general problem with upgrading many ports, or if it means my ports system is screwed up somehow, or if it is a problem with db44 or mutt-devel? Kendall From walts at gate.net Sun Mar 16 11:18:19 2008 From: walts at gate.net (Walt Scrivens) Date: Sun Mar 16 11:17:42 2008 Subject: Wireless tools In-Reply-To: References: Message-ID: <165D613A-9A61-49BB-8F7F-576874BAA765@gate.net> Sorry, I should have hit "Reply ALL" :-) I want to put the Air Port Extreme in monitor mode (using iwconfig) On Mar 16, 2008, at 11:33 AM, James Sumners wrote: > What are you looking to do? > > On Sun, Mar 16, 2008 at 9:04 AM, Walt Scrivens wrote: >> Is there a port of Wireless Tools? I'm familiar with a package by >> that name for the Zaurus, it contains a number of utilities for >> working with 802.11 wireless cards, but I don't see anything similar >> in "port list". I'm aware of the hidden "airport" program and that >> won't work. >> >> Walt > > > -- > James Sumners > http://james.roomfullofmirrors.com/ > > "All governments suffer a recurring problem: Power attracts > pathological personalities. It is not that power corrupts but that it > is magnetic to the corruptible. Such people have a tendency to become > drunk on violence, a condition to which they are quickly addicted." > > Missionaria Protectiva, Text QIV (decto) > CH:D 59 From james.sumners at gmail.com Sun Mar 16 12:06:23 2008 From: james.sumners at gmail.com (James Sumners) Date: Sun Mar 16 12:05:45 2008 Subject: Wireless tools In-Reply-To: <165D613A-9A61-49BB-8F7F-576874BAA765@gate.net> References: <165D613A-9A61-49BB-8F7F-576874BAA765@gate.net> Message-ID: Sorry. I can't help with that. I know KisMAC has a driver for the card that supports monitor mode. On Sun, Mar 16, 2008 at 2:18 PM, Walt Scrivens wrote: > Sorry, I should have hit "Reply ALL" :-) > > I want to put the Air Port Extreme in monitor mode (using iwconfig) > > > On Mar 16, 2008, at 11:33 AM, James Sumners wrote: > > > > > What are you looking to do? > > > > On Sun, Mar 16, 2008 at 9:04 AM, Walt Scrivens wrote: > >> Is there a port of Wireless Tools? I'm familiar with a package by > >> that name for the Zaurus, it contains a number of utilities for > >> working with 802.11 wireless cards, but I don't see anything similar > >> in "port list". I'm aware of the hidden "airport" program and that > >> won't work. > >> > >> Walt > > > > > > -- > > James Sumners > > http://james.roomfullofmirrors.com/ > > > > "All governments suffer a recurring problem: Power attracts > > pathological personalities. It is not that power corrupts but that it > > is magnetic to the corruptible. Such people have a tendency to become > > drunk on violence, a condition to which they are quickly addicted." > > > > Missionaria Protectiva, Text QIV (decto) > > CH:D 59 > > -- James Sumners http://james.roomfullofmirrors.com/ "All governments suffer a recurring problem: Power attracts pathological personalities. It is not that power corrupts but that it is magnetic to the corruptible. Such people have a tendency to become drunk on violence, a condition to which they are quickly addicted." Missionaria Protectiva, Text QIV (decto) CH:D 59 From raimue at macports.org Sun Mar 16 12:57:37 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sun Mar 16 12:57:03 2008 Subject: digikam & amarok ports? In-Reply-To: <47DD0A38.8070507@pan.o.ra.ma> References: <47DD0A38.8070507@pan.o.ra.ma> Message-ID: <47DD7BB1.4020105@macports.org> Niels Ganser wrote: > However, I am dearly missing two programs from my KDE days which are > digikam and amarok. (http://www.digikam.org & http://amarok.kde.org). I > could not find those in your ports database so my question is: are they > provided by the "kde" port and as such not installable individually or > aren't they part of the macports project at all? If so: are there any > plans to include them in the future? For questions like this, "Do we plan to provide $foo with MacPorts?", there is only one answer: If you provide a Portfile and maintain it, we can include it. May sound a bit harsh, but that's the way it is. A ticket asking for inclusion can stay there for a few years... You can find documentation on how to write a Portfile in our Guide at http://guide.macports.org/#development.introduction First task would be to find out if we have all the dependencies digikam and amarok need. Next thing would be if they both compile in general. If not, it would need patching which can be in the range from easy to very hard. But the mailing lists and IRC can be a great help on getting a working port. Rainer From walts at gate.net Sun Mar 16 13:26:15 2008 From: walts at gate.net (walts) Date: Sun Mar 16 13:25:36 2008 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: <15439701.post@talk.nabble.com> References: <15439701.post@talk.nabble.com> Message-ID: <16083591.post@talk.nabble.com> I followed the instructions and did not notice any errors in setting up libpcap. Here's what I get: Macintosh:libpcap walts$ sudo kismet Launching kismet_server: /opt/local/bin/kismet_server Will drop privs to walts (501) gid 501 No specific sources given to be enabled, all will be enabled. Non-RFMon VAPs will be destroyed on multi-vap interfaces (ie, madwifi-ng) Enabling channel hopping. Enabling channel splitting. INFO: wlt1 looks like an Atheros card running under Darwin. Source 0 (airport_extreme): Enabling monitor mode for darwin source interface en1 channel 6... Source 0 (airport_extreme): Opening darwin source interface wlt1... FATAL: BIOCSETIF: wlt1: Device not configured Done. Macintosh:libpcap walts$ I have the source set in kismet.conf: source=darwin,en1,airport_extreme and it looks like it's opening that correctly, but then it stumbles on wlt1 (which does not exist in kismet.conf). I'm not sure what to do at this point. Walt njstaticuser wrote: > > What you need to do is to get the latest libpcap. You can get it through > CVS current: > > cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master login > > cvs -d :pserver:tcpdump@cvs.tcpdump.org:/tcpdump/master checkout libpcap > tcpdump > cd libpcap > ./configure > make > sudo make install > > then try running kismet again and it should work fine. > hope that helps. > > > ----- MacBook Pro (Intel) with 2GB RAM Leopard (10.5.1) BootCamp with Windows XP Pro -- View this message in context: http://www.nabble.com/Kismet-on-OSX-10.5.1-Leopard-tp13843207p16083591.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From paulbeard at gmail.com Sun Mar 16 14:04:21 2008 From: paulbeard at gmail.com (paul beard) Date: Sun Mar 16 14:03:42 2008 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: <16083591.post@talk.nabble.com> References: <15439701.post@talk.nabble.com> <16083591.post@talk.nabble.com> Message-ID: On Sun, Mar 16, 2008 at 1:26 PM, walts wrote: > > I followed the instructions and did not notice any errors in setting up > libpcap. Here's what I get: > does the Kismac binary work with 10.5.x? -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080316/830e8690/attachment.html From marcuscalhounlopez at mac.com Sun Mar 16 13:55:51 2008 From: marcuscalhounlopez at mac.com (Marcus Calhoun-Lopez) Date: Sun Mar 16 14:04:27 2008 Subject: Unable to build/install mono References: <18397.14401.888332.902871@montanaro-dyndns-org.local> Message-ID: pobox.com> writes: > > I'm sitting there at PyCon listening to Mark Hammond's PyXPCOM talk. It > crossed paths with IronPython and mono, so I decided to try installing it > and getting IronPython running. > > Any idea how to move past this point? > There is an open ticket concerning this issue: https://svn.macosforge.org/projects/macports/ticket/14454 There is also a proposed patch to fix the problem. From walts at gate.net Sun Mar 16 14:22:56 2008 From: walts at gate.net (Walt Scrivens) Date: Sun Mar 16 14:22:18 2008 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: References: <15439701.post@talk.nabble.com> <16083591.post@talk.nabble.com> Message-ID: <3AA9EDD8-DE3B-4048-A54A-210375CFB557@gate.net> I'm pretty comfortable with command-line and green-screen interfaces so I haven't tried it so far. I just downloaded and installed R65 (there are several versions shown in my google search and that seemed to be the highest number). In any event, here is the error I got: KisMAC is not able to load the Apple Airport driver, if you killed it by loading the Viha driver. Try restarting KisMAC. The error dialog box kept on popping up over and over, so I force-quit Kismac and restarted it, with the same result. The KisMac forum is definitely unfriendly, so I haven't posted any request for help there, but the consensus seems to be that the Air Port Extreme with the Atheros chipset won't work with KisMac anyway. I have Kismet on other devices so it's not a crisis, just that I would rather not lug around so much equipment :-) Walt On Mar 16, 2008, at 5:04 PM, paul beard wrote: > > > On Sun, Mar 16, 2008 at 1:26 PM, walts wrote: > > I followed the instructions and did not notice any errors in setting > up > libpcap. Here's what I get: > > does the Kismac binary work with 10.5.x? > -- > Paul Beard / www.paulbeard.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080316/e0fba48a/attachment.html From skip at pobox.com Sun Mar 16 14:43:09 2008 From: skip at pobox.com (skip@pobox.com) Date: Sun Mar 16 14:42:41 2008 Subject: Unable to build/install mono In-Reply-To: References: <18397.14401.888332.902871@montanaro-dyndns-org.local> Message-ID: <18397.37997.990792.57148@montanaro-dyndns-org.local> Marcus> There is an open ticket concerning this issue: Marcus> https://svn.macosforge.org/projects/macports/ticket/14454 Marcus> There is also a proposed patch to fix the problem. Thanks for the pointer. Unfortunately, some sort of authentication is required. It won't even let me look at the ticket, let alone download the patch or add a comment. Skip From marcuscalhounlopez at mac.com Sun Mar 16 14:52:46 2008 From: marcuscalhounlopez at mac.com (Marcus Calhoun-Lopez) Date: Sun Mar 16 14:52:14 2008 Subject: Unable to build/install mono In-Reply-To: <18397.37997.990792.57148@montanaro-dyndns-org.local> References: <18397.14401.888332.902871@montanaro-dyndns-org.local> <18397.37997.990792.57148@montanaro-dyndns-org.local> Message-ID: Sorry about that. With my setup, I am no long asked for my password. If you're interested, registering is easy. Is this link better? http://trac.macosforge.org/projects/macports/ticket/14454 On Mar 16, 2008, at 2:43 PM, skip@pobox.com wrote: > Marcus> There is an open ticket concerning this issue: > Marcus> https://svn.macosforge.org/projects/macports/ticket/14454 > > Marcus> There is also a proposed patch to fix the problem. > > Thanks for the pointer. Unfortunately, some sort of authentication is > required. It won't even let me look at the ticket, let alone > download the > patch or add a comment. > > Skip From paulbeard at gmail.com Sun Mar 16 15:26:39 2008 From: paulbeard at gmail.com (paul beard) Date: Sun Mar 16 15:26:03 2008 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: <3AA9EDD8-DE3B-4048-A54A-210375CFB557@gate.net> References: <15439701.post@talk.nabble.com> <16083591.post@talk.nabble.com> <3AA9EDD8-DE3B-4048-A54A-210375CFB557@gate.net> Message-ID: On Sun, Mar 16, 2008 at 2:22 PM, Walt Scrivens wrote: > I'm pretty comfortable with command-line and green-screen interfaces so I > haven't tried it so far. > Me too, but sometimes it's worth trying a known-good solution to isolate problems. > I just downloaded and installed R65 (there are several versions shown in > my google search and that seemed to be the highest number). > Hmm, I have r239 . . . it seems to work just fine. latest version seems to be 242 . > In any event, here is the error I got: > > KisMAC is not able to load the Apple Airport driver, if you killed it by > loading the Viha driver. Try restarting KisMAC. > > The error dialog box kept on popping up over and over, so I force-quit > Kismac and restarted it, with the same result. > I have never had a problem with it (late 2003 iBook, Airport Extreme card, 10.4.11). -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080316/17eb2a3f/attachment-0001.html From niels at pan.o.ra.ma Sun Mar 16 15:29:00 2008 From: niels at pan.o.ra.ma (Niels Ganser) Date: Sun Mar 16 15:28:36 2008 Subject: digikam & amarok ports? In-Reply-To: <47DD7BB1.4020105@macports.org> References: <47DD0A38.8070507@pan.o.ra.ma> <47DD7BB1.4020105@macports.org> Message-ID: <47DD9F2C.6000809@pan.o.ra.ma> Rainer M?ller wrote: > For questions like this, "Do we plan to provide $foo with MacPorts?", > there is only one answer: If you provide a Portfile and maintain it, we > can include it. May sound a bit harsh, but that's the way it is. A > ticket asking for inclusion can stay there for a few years... Rainer, I appreciate this. It doesn't sound harsh at all an I did not actually expect anybody to jump up and down in excitement over the opportunity to create a newly requested port. However I haven't followed the macports development so far and thought that these packages might already be in the works or there might actually be a port providing those programs out there. This is because I couldn't find a way to search for a port which provides a file identified only by a given name. Is this impossible due to the architecture of the system or is there a global index of all provided files? (? la "apt-file search" if anybody is familiar with this..) Rainer M?ller wrote: > You can find documentation on how to write a Portfile in our Guide at > http://guide.macports.org/#development.introduction > > First task would be to find out if we have all the dependencies digikam > and amarok need. Next thing would be if they both compile in general. If > not, it would need patching which can be in the range from easy to very > hard. But the mailing lists and IRC can be a great help on getting a > working port. Thanks for the pointers. I'll definitely look into it. I wouldn't be able to maintain a port in the long term but a working one might be a good starting point for other users and will certainly be a good way to learn more about the workings of the port system. Cheers, Niels From raimue at macports.org Sun Mar 16 15:45:41 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sun Mar 16 15:45:04 2008 Subject: digikam & amarok ports? In-Reply-To: <47DD9F2C.6000809@pan.o.ra.ma> References: <47DD0A38.8070507@pan.o.ra.ma> <47DD7BB1.4020105@macports.org> <47DD9F2C.6000809@pan.o.ra.ma> Message-ID: <47DDA315.4090800@macports.org> Niels Ganser wrote: > However I haven't followed the macports development so far and thought > that these packages might already be in the works or there might > actually be a port providing those programs out there. This is because I > couldn't find a way to search for a port which provides a file > identified only by a given name. Is this impossible due to the > architecture of the system or is there a global index of all provided > files? (? la "apt-file search" if anybody is familiar with this..) No, you can't search for a file at a specific location as the files installed by a port are not known prior to installing. But `port search' looks for the given search string in port names and their descriptions. Rainer From walts at gate.net Sun Mar 16 16:49:55 2008 From: walts at gate.net (Walt Scrivens) Date: Sun Mar 16 16:49:32 2008 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: References: <15439701.post@talk.nabble.com> <16083591.post@talk.nabble.com> <3AA9EDD8-DE3B-4048-A54A-210375CFB557@gate.net> Message-ID: That worked! I have only my own home network to look at here - will have to wait until I get to work tomorrow where I have a more robust test environment to really give this a workout, but it looks promising. Thanks for the help! Walt On Mar 16, 2008, at 6:26 PM, paul beard wrote: > [SNIP] > Hmm, I have r239 . . . it seems to work just fine. latest version > seems to be 242. > > [SNIP] > -- > Paul Beard / www.paulbeard.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080316/23c76626/attachment.html From paulbeard at gmail.com Sun Mar 16 16:51:15 2008 From: paulbeard at gmail.com (paul beard) Date: Sun Mar 16 16:50:46 2008 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: References: <15439701.post@talk.nabble.com> <16083591.post@talk.nabble.com> <3AA9EDD8-DE3B-4048-A54A-210375CFB557@gate.net> Message-ID: On Sun, Mar 16, 2008 at 4:49 PM, Walt Scrivens wrote: > That worked! I have only my own home network to look at here - will have > to wait until I get to work tomorrow where I have a more robust test > environment to really give this a workout, but it looks promising. Thanks > for the help! > > No problem. A walk around the block can be informative as well (I think I counted 30-something networks last time I tried it). -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080316/c2687cb1/attachment.html From ryandesign at macports.org Sun Mar 16 17:52:20 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun Mar 16 17:52:05 2008 Subject: detex In-Reply-To: <16078108.post@talk.nabble.com> References: <16078108.post@talk.nabble.com> Message-ID: <0C953B22-A275-4EF7-B019-B3378063AE38@macports.org> On Mar 16, 2008, at 06:53, David Epstein wrote: > Is there a macport of detex? $ port search detex No match for detex found $ > This is a program that removes TeX control > sequences and comments from files. I thought it was part of the teTeX > distribution, and there is a port of teTex. > > Does anyone know how I can get hold of this? Should I do it outside > /opt/local? You could compile it by hand, but so that other Mac users won't have to do this, it would be best to make a port. If you don't know how you can learn at http://guide.macports.org . If you don't have time to make a port, you could file a ticket in the issue tracker requesting that someone make this port. See the guide for how to file tickets. From giorgio_v at mac.com Sun Mar 16 23:55:57 2008 From: giorgio_v at mac.com (Giorgio Valoti) Date: Sun Mar 16 23:56:23 2008 Subject: Writing portfiels: How to avoid hardcoded paths? In-Reply-To: <0ED6C90B-9B13-46F5-8293-9C32C9B0FCD4@macports.org> References: <8BAD5CC0-090D-4236-91E2-323B830E552A@mac.com> <0ED6C90B-9B13-46F5-8293-9C32C9B0FCD4@macports.org> Message-ID: <3033E5A1-F97E-4888-B385-8B7748A630CF@mac.com> On 16/mar/08, at 05:57, Ryan Schmidt wrote: > > On Mar 13, 2008, at 14:15, Giorgio Valoti wrote: > >> Hi all, with the help of William Siegrist I wrote a portfile for >> pgpool-II (ticket #14647). I?ve added the following environment >> setting: >> configure.env PATH=$env(PATH):${prefix}/lib/postgresql83/ >> bin >> >> In order to make pg_config available at configure time. Is there a >> way to avoid hard coding the path? > > Is there an option in the configure script for pgpool-II to tell it > where postgresql is located? Take a look at its "./configure --help" I guess we could use --with-pgsql, however the problem is that we have to hard code the version of the postgres port. Of course, since you can have, say, both 8.2 and 8.3 versions installed and activated you have explicitly choose which one pgpool should use. I was hoping to be able to use the port dependency mechanism but we can the configure option. -- Giorgio Valoti From ryandesign at macports.org Mon Mar 17 01:54:31 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon Mar 17 01:54:23 2008 Subject: Writing portfiels: How to avoid hardcoded paths? In-Reply-To: <3033E5A1-F97E-4888-B385-8B7748A630CF@mac.com> References: <8BAD5CC0-090D-4236-91E2-323B830E552A@mac.com> <0ED6C90B-9B13-46F5-8293-9C32C9B0FCD4@macports.org> <3033E5A1-F97E-4888-B385-8B7748A630CF@mac.com> Message-ID: <1825AD0A-9C53-469B-B309-CDD02202D02C@macports.org> On Mar 17, 2008, at 01:55, Giorgio Valoti wrote: > On 16/mar/08, at 05:57, Ryan Schmidt wrote: > >> On Mar 13, 2008, at 14:15, Giorgio Valoti wrote: >> >>> Hi all, with the help of William Siegrist I wrote a portfile for >>> pgpool-II (ticket #14647). I?ve added the following environment >>> setting: >>> configure.env PATH=$env(PATH):${prefix}/lib/ >>> postgresql83/bin >>> >>> In order to make pg_config available at configure time. Is there >>> a way to avoid hard coding the path? >> >> Is there an option in the configure script for pgpool-II to tell >> it where postgresql is located? Take a look at its "./configure -- >> help" > > I guess we could use --with-pgsql, however the problem is that we > have to hard code the version of the postgres port. Of course, > since you can have, say, both 8.2 and 8.3 versions installed and > activated you have explicitly choose which one pgpool should use. I > was hoping to be able to use the port dependency mechanism but we > can the configure option. The usual solution would be to offer variants. So offer a postgresql83 variant, a postgresql82 variant, etc. Each one adds the right configure argument and depends on the right version of postgres. From ryandesign at macports.org Mon Mar 17 02:46:05 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon Mar 17 02:45:52 2008 Subject: detex In-Reply-To: <0C953B22-A275-4EF7-B019-B3378063AE38@macports.org> References: <16078108.post@talk.nabble.com> <0C953B22-A275-4EF7-B019-B3378063AE38@macports.org> Message-ID: <9B30406C-E636-4230-9AB8-726F590BC23A@macports.org> On Mar 16, 2008, at 19:52, Ryan Schmidt wrote: > On Mar 16, 2008, at 06:53, David Epstein wrote: > >> Is there a macport of detex? > > $ port search detex > No match for detex found > $ > >> This is a program that removes TeX control >> sequences and comments from files. I thought it was part of the teTeX >> distribution, and there is a port of teTex. >> >> Does anyone know how I can get hold of this? Should I do it outside >> /opt/local? > > You could compile it by hand, but so that other Mac users won't > have to do this, it would be best to make a port. If you don't know > how you can learn at http://guide.macports.org . If you don't have > time to make a port, you could file a ticket in the issue tracker > requesting that someone make this port. See the guide for how to > file tickets. In fact I took a look and it wasn't too hard to make a port for it, so I did. It should appear within 12 hours, at which point you should be able to $ sudo port install detex From walts at gate.net Mon Mar 17 05:00:43 2008 From: walts at gate.net (walts) Date: Mon Mar 17 05:01:40 2008 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: <16089378.post@talk.nabble.com> References: <15439701.post@talk.nabble.com> <16083591.post@talk.nabble.com> <16089378.post@talk.nabble.com> Message-ID: <16092237.post@talk.nabble.com> Thanks. The version of libpcap I got from CVS had a VERSION file containing 0.9-PRE-CVS. The bulk of the "important" files (to my mind anyway) are dated March 13 and 14 2008. In any event it works with KisMac but not with the command-line kismet. I'm confused about that - in the Linux installations of kismet that I'm familiar with, there is a server piece and several clients ranging from a text-only display to varying degrees of GUI. It looks like KisMac is a totally different package. I'm also confused about this forum. Your message came to me only from the Nabble forum, whereas the rest of the thread (and my replies) has been on the Mac Ports Users mailing list (macports-users@lists.macosforge.org). what's the connection, and where should I be posting? Walt njstaticuser wrote: > > libpcap is in charge of creating the wlt1 device. Since leopard changed > the way it handled its hardware since Tiger, you MUST have the latest > version of libpcap, which I believe is dated December of 2007. > [SNIP] ----- MacBook Pro (Intel) with 2GB RAM Leopard (10.5.1) BootCamp with Windows XP Pro -- View this message in context: http://www.nabble.com/Kismet-on-OSX-10.5.1-Leopard-tp13843207p16092237.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From raimue at macports.org Mon Mar 17 06:37:14 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon Mar 17 06:36:53 2008 Subject: Maintainer away tracking In-Reply-To: <47D48A05.2080301@macports.org> References: <47D48A05.2080301@macports.org> Message-ID: <47DE740A.20904@macports.org> Rainer M?ller wrote: > It happens from time to time that some maintainer is busy with work or > school, has to move, is on vacation or attends some other event which > prevents him from taking action on new tickets. > > So I want to setup a new wiki page (like MaintainerAway) where anybody > can add himself with a small explanation how long he is going to be away > and maybe also why. > > If someone adds himself onto this wiki page all of his/her ports will be > treated like if they have openmaintainer on them, so anybody can commit > updates without explicit permission. This should be taken like a > temporarily openmaintainer status. Or the maintainer could also add > someone else who should take care of his/her ports for this time. > > The main advantage would be that the 72h delay does not have to pass as > the maintainer will not answer anyway. So, this proposal was out now for about a week and nobody replied. If you don't like it, please tell me at least why you think it is not a good idea. Normally if I get no reply on a proposal, I would just take this as "no objections". But this time it is important that you as developers and maintainers are going to accept and use it. Therefore it would have been nice to get some replies what you think about this topic. Now it seems like nobody cares about it. Do you think we don't need this at all? Do you think nobody would use it? Or do you have another better solution? Rainer From j.van_den_hoff at fzd.de Mon Mar 17 06:49:34 2008 From: j.van_den_hoff at fzd.de (Joerg van den Hoff) Date: Mon Mar 17 06:49:19 2008 Subject: libiconv problems after urxvt upgrade In-Reply-To: <7ADECFAB-B3D5-44EC-9752-D20C5112D5CB@macports.org> References: <20080313111127.GB8188@marco.fz-rossendorf.de> <31C8496C-2258-48D3-9871-E09112033AFD@macports.org> <20080314123841.GA27520@marco.fz-rossendorf.de> <7ADECFAB-B3D5-44EC-9752-D20C5112D5CB@macports.org> Message-ID: <20080317134934.GB5119@marco.fz-rossendorf.de> On Fri, Mar 14, 2008 at 08:53:37PM -0500, Ryan Schmidt wrote: > On Mar 14, 2008, at 07:38, Joerg van den Hoff wrote: > > >ryan, > > > >thanks a lot for bothering. I really appreciate this. > > > >On Fri, Mar 14, 2008 at 06:39:20AM -0500, Ryan Schmidt wrote: > > > >>On Mar 13, 2008, at 06:11, Joerg van den Hoff wrote: > >> > >>>during upgrade from urxvt8.7 to the current version I got the error > >>>message > >>> > >>>===================================CUT============================== > >>>== > >>>======== > >>>Portfile changed since last build; discarding previous state. > >>>---> Fetching libiconv > >>>---> Verifying checksum(s) for libiconv > >>>---> Extracting libiconv > >>>---> Applying patches to libiconv > >>>---> Configuring libiconv > >>>---> Building libiconv with target all > >>>---> Staging libiconv into destroot > >>>---> Packaging tgz archive for libiconv 1.12_0+darwin_8 > >>>---> Deactivating libiconv 1.11_0 > >>>Error: Deactivating libiconv 1.11_0 failed: Active version of > >>>libiconv is not 1.11_0 but 1.11_0+darwin_8. > >>>===================================CUT============================== > >>>== > >>>======== > >> > >>Peculiar... > >> > >>>after which install proceded (apparently successful). > >> > >>I don't know why MacPorts proceeds when it encounters an error > >>activating a port. This only leads to further errors down the road, > >>as you've seen: > > > >deserves this an "official" bug report (I was hoping a bit the ml > >might > >suffice)? > > All bugs deserve a bug report in our issue tracker. :) I'm just not > sure how to report this. I've seen it before, but I forget how it > happened to be exactly. And you don't know how it happened to you > either. Without a reproduction recipe, it'll be hard to fix. But it > should still be filed. I tried to search just now (summary contains > "activat", component = base) and didn't find it. > > > >>>trying to start `urxvt' now throws the error: > >>>===================================CUT============================== > >>>== > >>>======== > >>>dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib > >>>Referenced from: /opt/local/lib/libXft.2.dylib > >>>Reason: Incompatible library version: libXft.2.dylib requires > >>>version 7.0.0 > >>>or later, but libiconv.2.dylib provides version 5.0.0 Trace/BPT trap > >>>===================================CUT============================== > >>>== > >>>======== > >> > >>No libiconv is active, because of the earlier error, so ports that > >>require libiconv now explode. > >> > >>>trying a > >>> > >>>`sudo port deactivate libiconv@1.11_0+darwin_8' > >>> > >>>yielded > >>>===================================CUT============================== > >>>== > >>>======== > >>>Error: port deactivate failed: Registry error: libiconv not > >>>registered as > >>>installed & active. > >>>===================================CUT============================== > >>>== > >>>======== > >>>which seems inconsistent with the error message during urxvt > >>>install. > >> > >>Agreed. That seems inconsistent. Not sure how you got into this > >>state. > > > >neither am I. I'm definitely _not_ tinkering with the system. > >rather I try > >to upgrade by and then relevant packages and go on with my work. > > > >>>after a `sudo port activate libiconv@1.12' now everything seems to > >>>work, > >> > >>Great! > >> > >>>but > >>>the above messages seems to hint at some grade of corruption of the > >>>internal state of > >>>port. is this the case? can I sanitize/check it somehow without > >>>purging > >>>everything? > >> > >>What does "port installed libiconv" show now? > > > >this: > > > >The following ports are currently installed: > >libiconv @1.10_1+darwin_8 > >libiconv @1.11_0+darwin_8 > >libiconv @1.12_0+darwin_8 (active) > >libiconv @1.9.2_1 > > Looks ok to me. You can force-uninstall those older inactive versions > if you want since nothing is using them. > > > >>>I also notice that many packages appear both with > >>>`port list active' _and_ `port list inactive'. how can this be? > >> > >>"port list" does not do what you think it does. "port list" does the > >>following: for each port, display the current version (not the > >>installed version). > >> > >>You probably would rather use "port installed active" and "port > >>installed inactive". > > > >thanks for this clarification. I read the manpage again: this > >behaviour > >is far from obvious from the manpage, since there "installed" and > >"active" > >are both listed as pseudo-portnames which should imply that 'port > >list active' > >should do what I expected. > > No... because "port list" does not do what you expected. Read the > description of "port list" in the manpage: > > list > If no argument is given, display a list of the the latest > version of all > available ports. If portname(s) are given as arguments, > display a list > of the latest version of each port. > > (I just noticed "the the" and fixed it in r35030.) > > So "port list active" lists the latest version of each active port, > *not* the installed version of each active port. For example, if you > deactivate libiconv @1.12_0+darwin_8 and then activate libiconv > @1.11_0+darwin_8, "port list active" (or "port list libiconv") will > still show "libiconv @1.12 textproc/ > libiconv" because 1.12 is the latest version of that port. > > > >also "port installed" (or "port installed active") > >works while "port active" does not. should not the manpage be > >modified to > >make this point clear? maybe a hint concerning the 'double nature' of `installed' (command _and_ pseudo-portname) at both places where `installed' is defined in the manpage would help. a few examples like yours (port list active vs. port installed active, e.g.) might be good, too. but of course you are right. it _is_ described correctly in the manpage, one only has to read it completetly... > > "installed" is both a command (e.g. "port installed" -- show > information about installed ports (by default, show information about > all installed ports, but you can specify a subset if you want, e.g. > "port installed libiconv")) and a pseudo-portname ("port info -- > maintainer installed" -- show the maintainer of each installed port). > > "active" is only a pseudo-portname. It is not a command. > > Do you have a specific suggestion about what should be changed? A > particular passage that is confusing, or a specific sentence you'd > like to have added? > > Note that I believe the manpages have been rewritten since 1.6.0. > That is, they used to be standalone manpages, but with the recent > effort to write the web-based MacPorts guide, I believe the manpages > have also been rewritten and reformatted in the same docbook style, > though at the time MacPorts 1.6.0 was released there were some > problems actually generating the manpages from the docbook sources so > the old manpages were left in. I'm not sure if that situation has > changed since then. > > > >>>and a last question: the "active" ports are the only one in use > >> > >>Yes. > >> > >>>or are "inactive" ones (especially libs) secretly used by other > >>>ports? > >> > >>No, inactive ports are not used at all. > >> > >>>I noted that a tentative > >>> > >>>`sudo port uninstall libiconv@1.11_0+darwin_8' > >>> > >>>showed me lots of ports depending on it which would need prior > >>>uninstall. > >> > >>The message shown by MacPorts is misleading. The message says "Unable > >>to uninstall libiconv 1.11_0+darwin_8, the following ports depend on > >>it" but what the message should say is "Unable to uninstall libiconv, > >>the following ports depend on it" (in other words it should not list > >>the version or variants). Since you already have a newer version of and could _this_ not be done in future releases? > >>libiconv installed, it's perfectly fine to remove the older version. > >>MacPorts just doesn't know any better. Educate it by using "-f" when > >>uninstalling ports in such situations: > > > >ah. maybe I manage to remember this in the future. > > > >>sudo port -f uninstall libiconv@1.11_0+darwin_8 > >> > >>>I understand that different versions of libs are needed at the same > >>>time > >> > >>That's not how MacPorts works. Only one version of a library can be > >>used at a time. If multiple versions of a library are needed at the > >>same time, multiple separate ports must be created. See for example > >>apr and apr0, db41 thru db46, and many other examples. > > > >please, could you clarify this a bit? does this not still mean > >that, e.g. > >apr requires/installs, say libtmp1.1, and apr0 libtmp1.2 so that both > >need to be there and are used "at the same time" (meaning when apr or > >apr0 are started)? whether this is necessitated by two variants of > >an application (say apr) or by uncorrelated apps seems not to make a > >difference. > > I'll try to clarify, with the APR example. APR is the Apache Portable > Runtime, a library used by the Apache web server, Subversion, and > other software that wants to run on multiple operating systems > without having to write lots of OS-specific code. OS-specific code is > encapsulated inside APR. > > We have two ports for Apache 2: apache2, which installs Apache 2.2.x, > and apache20, which installs Apache 2.0.x. Most people will want the > latest version and so they will choose apache2. Some people may want > to use pre-compiled modules designed for Apache 2.0.x which won't > work with Apache 2.2.x, therefore they will choose apache20. > > Apache 2.2.x requires APR 1.2.x and does not work with earlier > versions. Apache 2.0.x requires APR 0.9.x and does not work with > later versions. > > Back in 2005, the apr port installed APR 0.9.x. But then in December > 2005, APR 1.2.x was released and the apr port was updated to that > version. > > You cannot ask MacPorts to install an older version of a port. You > can only install the current version of a port. > > Therefore, we need separate ports apr (provides APR 1.2.x) and apr0 > (provides APR 0.9.x) so that ports that want the latest version (like > apache2) can use apr, and ports that want the older 0.9.x version > (like apache20) can use that version. > > Back to libiconv: there is only one libiconv port, so your only > option is to install the latest version of libiconv. If there were a > port that required an older version of libiconv in order to run, we > would have to make a second libiconv port for that older version of > the libiconv software. > > > >so, this is still not clear to me: I would expect that > >some ports rely on a certain version of a lib, others (e.g. more > >up-to-date ones) need different versions. surely not all available > >ports > >always are in a state that they use the same library versions? > > In MacPorts, there is no way to specify that a port depends on a > certain version of another port. It is only possible to specify that > a port depends on another port. > > >and even > >if so, would not otherwise a single upgrade of a single package > >(inclduing some lib update) lead to necessity of upgrading virtually > >_everything_ else which needs that library? (i'm not offended if > >I get the "read the manual" message :-)) > > For most library updates, the library is a drop-in replacement for > the old library. Software that linked with and worked with the old > library will continue to work with the new library. But consider > gettext, the GNU internationalization library used by many many other > ports. When gettext was updated from 0.14.x to 0.15.x, the library > changed in a binary-incompatible way so the library version was > increased, which caused all other ports to break until they were > rebuilt. See the problem hotlist: > > http://trac.macosforge.org/projects/macports/wiki/ > ProblemHotlist#a2.Aportfailedtobuildupgradeorrunwithamessagereferringtol > ibintl.3.dylib > > This may not be super, but it is the state of MacPorts at this time. > ryan, thanks a lot for taking (again) the time to explain this so thoroughly. it really helped clarifying things up quite a bit for me. joerg > > >>>but why, then, is one declared "active" the others "inactive"? > >> > >>When you "sudo port upgrade foo", the old version is deactivated and > >>the new version is activated. If you don't want the old version > >>anymore, you can then uninstall the old version: > >> > >>sudo port uninstall foo @1.2.3 > >> > >>If you want MacPorts to automatically uninstall the old version > >>during the upgrade, use the "-u" flag: > >> > >>sudo port -u upgrade foo > >> > >>This will fail if any port depends on foo. In that case you must also > >>force it. But the force flag also causes MacPorts to rebuild all > >>dependencies, possibly multiple times, which you don't want. So if > >>you want to force an upgrade, you should also always use the > >>nonrecursive flag: > >> > >>sudo port -nfu upgrade foo > >> > >>>so in short what's the difference between "active" and "inactive", > >>>especially > >>>for libs? > >> > >>Inactive ports are not used. They're just there so that you can > >>activate them again, should you choose to do so (after deactivating > >>the version that you currently have active.) If you don't want to > >>reactivate old versions, you can uninstall them to reclaim the disk > >>space. > > > > > >thanks a lot for getting most of my questions answered. > > From sal at ri.cmu.edu Mon Mar 17 06:52:01 2008 From: sal at ri.cmu.edu (Salvatore Domenick Desiano) Date: Mon Mar 17 06:51:44 2008 Subject: Maintainer away tracking In-Reply-To: <47DE740A.20904@macports.org> References: <47D48A05.2080301@macports.org> <47DE740A.20904@macports.org> Message-ID: As a maintainer who is sometimes "away", I like the idea in principle, but I think there may be a simpler problem that will affect whether this is necesary. The volume on the MP lists has gone up astronomically of late, meaning that I have to shunt my MP email into a folder and read it itermittently. If there was some way to indicate that something required action by me, I would be much more responsive. I can't think of anything particularly good, but perhaps a standard prefix of "action: username" that I can filter for... As for the proposal, it seems fine, since people can easily opt out. I tend to think that people won't use it, but I see no harm in it. I would, however, like to be a more responsive maintainer, so it would be nice if there were some standard way to see which of the MP e-mails I really need to read, and which can wait for a week or so. -- Sal smile. On Mon, 17 Mar 2008, Rainer M?ller wrote: o Rainer M?ller wrote: o > It happens from time to time that some maintainer is busy with work or o > school, has to move, is on vacation or attends some other event which o > prevents him from taking action on new tickets. o > o > So I want to setup a new wiki page (like MaintainerAway) where anybody can o > add himself with a small explanation how long he is going to be away and o > maybe also why. o > o > If someone adds himself onto this wiki page all of his/her ports will be o > treated like if they have openmaintainer on them, so anybody can commit o > updates without explicit permission. This should be taken like a temporarily o > openmaintainer status. Or the maintainer could also add someone else who o > should take care of his/her ports for this time. o > o > The main advantage would be that the 72h delay does not have to pass as the o > maintainer will not answer anyway. o o So, this proposal was out now for about a week and nobody replied. If you o don't like it, please tell me at least why you think it is not a good idea. o o Normally if I get no reply on a proposal, I would just take this as "no o objections". But this time it is important that you as developers and o maintainers are going to accept and use it. Therefore it would have been nice o to get some replies what you think about this topic. o o Now it seems like nobody cares about it. Do you think we don't need this at o all? Do you think nobody would use it? Or do you have another better solution? o o Rainer o _______________________________________________ o macports-users mailing list o macports-users@lists.macosforge.org o http://lists.macosforge.org/mailman/listinfo/macports-users o o -------------- Salvatore Domenick Desiano Doctoral Candidate Robotics Institute Carnegie Mellon University From dluke at geeklair.net Mon Mar 17 07:00:40 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Mon Mar 17 07:00:08 2008 Subject: Maintainer away tracking In-Reply-To: References: <47D48A05.2080301@macports.org> <47DE740A.20904@macports.org> Message-ID: <3D90B934-B5C4-445E-ADE2-A967B40D1311@geeklair.net> On Mar 17, 2008, at 9:52 AM, Salvatore Domenick Desiano wrote: > If there was some way to indicate that something > required action by me, like say, a ticket assigned or CC'd to you? ;-) -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080317/8c667f13/PGP-0001.bin From dluke at geeklair.net Mon Mar 17 07:03:07 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Mon Mar 17 07:04:10 2008 Subject: Maintainer away tracking In-Reply-To: <47DE740A.20904@macports.org> References: <47D48A05.2080301@macports.org> <47DE740A.20904@macports.org> Message-ID: On Mar 17, 2008, at 9:37 AM, Rainer M?ller wrote: > So, this proposal was out now for about a week and nobody replied. > If you don't like it, please tell me at least why you think it is > not a good idea. We already have the 72 hour timeout, the option of putting 'openmaintainer' on our ports or having co-maintainers who can also commit. In addition, ports that are seriously broken (ie, don't build, security vulnerability, distfile no longer available) can be fixed to work (without major changes) without waiting for the timeout already. I don't see the additional speed benefit as worth the extra book keeping. That said, I'm not going to object if others want to use it (I do know that I don't really plan on advertising to the world any time I may be going away on vacation). -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080317/2c055c9e/PGP.bin From raimue at macports.org Mon Mar 17 07:26:18 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon Mar 17 07:26:01 2008 Subject: Maintainer away tracking In-Reply-To: References: <47D48A05.2080301@macports.org> <47DE740A.20904@macports.org> Message-ID: <47DE7F8A.3080908@macports.org> Daniel J. Luke wrote: > On Mar 17, 2008, at 9:37 AM, Rainer M?ller wrote: >> So, this proposal was out now for about a week and nobody replied. >> If you don't like it, please tell me at least why you think it is >> not a good idea. > > We already have the 72 hour timeout, the option of putting > 'openmaintainer' on our ports or having co-maintainers who can also > commit. Exactly, we have to wait 72h even if the person in question will not respond anyway. > In addition, ports that are seriously broken (ie, don't build, > security vulnerability, distfile no longer available) can be fixed to > work (without major changes) without waiting for the timeout already. These points are not exactly clarified in the guide. # A critical port is broken that affects many users. Doesn't sound like 'missing distfile' or 'doesn't build' to me. I can't find another section regarding committing without maintainers' acknowledgment. > I don't see the additional speed benefit as worth the extra book > keeping. The extra book keeping is done my each individual maintainer. So not much work for a maintainers themself. > That said, I'm not going to object if others want to use it (I do know > that I don't really plan on advertising to the world any time I may be > going away on vacation). Hm, why not? You are not going to be around for any work on MacPorts, so tell the project about it. If we know you are just away for a few days, someone could also hold on committing not-so-important tickets until the known date at which you are back. Rainer From dluke at geeklair.net Mon Mar 17 07:32:22 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Mon Mar 17 07:31:58 2008 Subject: Maintainer away tracking In-Reply-To: <47DE7F8A.3080908@macports.org> References: <47D48A05.2080301@macports.org> <47DE740A.20904@macports.org> <47DE7F8A.3080908@macports.org> Message-ID: <1133D61D-1EA0-456C-AF96-2AB84764FE52@geeklair.net> On Mar 17, 2008, at 10:26 AM, Rainer M?ller wrote: >> In addition, ports that are seriously broken (ie, don't build, >> security vulnerability, distfile no longer available) can be fixed >> to work (without major changes) without waiting for the timeout >> already. > > These points are not exactly clarified in the guide. > # A critical port is broken that affects many users. > Doesn't sound like 'missing distfile' or 'doesn't build' to me. I > can't find another section regarding committing without maintainers' > acknowledgment. I don't recall where it was documented, but it had been discussed on the mailing lists (perhaps quite a while ago). It may have even been in the old darwinports committer information. A committer may make a minimal change to a port that is broken in order to fix it without waiting for the 72hr timeout (it's good to still ping the maintainer, though). If it's not documented anywhere anymore, we should probably get the documentation updated. >> I don't see the additional speed benefit as worth the extra book >> keeping. > > The extra book keeping is done my each individual maintainer. So not > much work for a maintainers themself. it's still extra work ;-) >> That said, I'm not going to object if others want to use it (I do >> know that I don't really plan on advertising to the world any time >> I may be going away on vacation). > > Hm, why not? You are not going to be around for any work on > MacPorts, so tell the project about it. If we know you are just away > for a few days, someone could also hold on committing not-so- > important tickets until the known date at which you are back. ... because I feel that the 72 hour timeout is sufficient, and I don't like the idea of a public place where people could get a good indication that my house is probably empty. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080317/fe5cb2f0/PGP.bin From walts at gate.net Mon Mar 17 07:36:18 2008 From: walts at gate.net (Walt Scrivens) Date: Mon Mar 17 07:35:42 2008 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: <16092237.post@talk.nabble.com> References: <15439701.post@talk.nabble.com> <16083591.post@talk.nabble.com> <16089378.post@talk.nabble.com> <16092237.post@talk.nabble.com> Message-ID: <17B3965B-18B8-4337-AFB5-F80ED267F2FC@gate.net> I don't understand what's happening here. Yesterday I got a message that there was a reply to a message I had posted on this mailing list, from "njstaticuser" on the Nabble forum. The message did NOT appear in my mailbox from MacPorts Users. I logged in to the Nabble forum and submitted a reply, which is shown below. Then a few hours later I got a message that the moderator was refusing to post my message. What is the deal here? I can submit freely to this list, and my messages get cross-posted to Nabble, but I can't answer them there? Walt ======================= Message submitted to Nabble follows: njstaticuser wrote: libpcap is in charge of creating the wlt1 device. Since leopard changed the way it handled its hardware since Tiger, you MUST have the latest version of libpcap, which I believe is dated December of 2007. [SNIP] Thanks. The version of libpcap I got from CVS had a VERSION file containing 0.9-PRE-CVS. The bulk of the "important" files (to my mind anyway) are dated March 13 and 14 2008. In any event it works with KisMac but not with the command-line kismet. I'm confused about that - in the Linux installations of kismet that I'm familiar with, there is a server piece and several clients ranging from a text-only display to varying degrees of GUI. It looks like KisMac is a totally different package. I'm also confused about this forum. Your message came to me only from the Nabble forum, whereas the rest of the thread (and my replies) has been on the Mac Ports Users mailing list (macports-users@lists.macosforge.org ). what's the connection, and where should I be posting? Walt ============== -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080317/28ec3d1b/attachment.html From sal at ri.cmu.edu Mon Mar 17 07:44:50 2008 From: sal at ri.cmu.edu (Salvatore Domenick Desiano) Date: Mon Mar 17 07:52:42 2008 Subject: Maintainer away tracking In-Reply-To: <3D90B934-B5C4-445E-ADE2-A967B40D1311@geeklair.net> References: <47D48A05.2080301@macports.org> <47DE740A.20904@macports.org> <3D90B934-B5C4-445E-ADE2-A967B40D1311@geeklair.net> Message-ID: o > If there was some way to indicate that something o > required action by me, o o like say, a ticket assigned or CC'd to you? ;-) Is that true? If I, at a minimum, look at all e-mails cc'd to me, will that be sufficent to make sure I'm not holding anyone up? If not, maybe that would be a good policy. I'm pretty sure there are tasks that don't require tickets, so, I don't think that's enough, but maybe that would work... Maybe, if someone is about to clarify the 72 hour rule, they could add "the 72 hours begins when the maintainer has been directly e-mailed regarding the change". Then I'll update my filters. As for the vacation page, I also would not advertise being on "vacation", but I don't mind if anyone else does. -- Sal smile. -------------- Salvatore Domenick Desiano Doctoral Candidate Robotics Institute Carnegie Mellon University From raimue at macports.org Mon Mar 17 07:53:57 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon Mar 17 08:05:33 2008 Subject: Maintainer away tracking In-Reply-To: References: <47D48A05.2080301@macports.org> <47DE740A.20904@macports.org> <3D90B934-B5C4-445E-ADE2-A967B40D1311@geeklair.net> Message-ID: <47DE8605.9070509@macports.org> Salvatore Domenick Desiano wrote: > o > If there was some way to indicate that something > o > required action by me, > o > o like say, a ticket assigned or CC'd to you? ;-) > > Is that true? If I, at a minimum, look at all e-mails cc'd to me, will > that be sufficent to make sure I'm not holding anyone up? If not, maybe > that would be a good policy. I'm pretty sure there are tasks that don't > require tickets, so, I don't think that's enough, but maybe that would > work... You can also query the Trac database to find cc'ed tickets: http://trac.macosforge.org/projects/macports/query?cc=$EMAIL If you are set on CC for a ticket, Trac also sends the mail with your email address in the CC header. If you are the reporter or assignee, your email address is in the To header. > Maybe, if someone is about to clarify the 72 hour rule, they could add > "the 72 hours begins when the maintainer has been directly e-mailed > regarding the change". Right, this should be added. Rainer From dluke at geeklair.net Mon Mar 17 08:27:14 2008 From: dluke at geeklair.net (Daniel J. Luke) Date: Mon Mar 17 08:26:37 2008 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: <17B3965B-18B8-4337-AFB5-F80ED267F2FC@gate.net> References: <15439701.post@talk.nabble.com> <16083591.post@talk.nabble.com> <16089378.post@talk.nabble.com> <16092237.post@talk.nabble.com> <17B3965B-18B8-4337-AFB5-F80ED267F2FC@gate.net> Message-ID: <0357F5C9-FF71-4B20-8904-B90C3693F707@geeklair.net> On Mar 17, 2008, at 10:36 AM, Walt Scrivens wrote: > What is the deal here? I can submit freely to this list, and my > messages get cross-posted to Nabble, but I can't answer them there? Maybe you should ask Nabble? I don't know who set up the bridge from the mailing list to that web forum, but as far as I know, it's not something that the project specifically set up or supports. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080317/81399a84/PGP.bin From sal at ri.cmu.edu Mon Mar 17 09:22:47 2008 From: sal at ri.cmu.edu (Salvatore Domenick Desiano) Date: Mon Mar 17 09:22:13 2008 Subject: Maintainer away tracking In-Reply-To: <47DE8605.9070509@macports.org> References: <47D48A05.2080301@macports.org> <47DE740A.20904@macports.org> <3D90B934-B5C4-445E-ADE2-A967B40D1311@geeklair.net> <47DE8605.9070509@macports.org> Message-ID: o > o > If there was some way to indicate that something o > o > required action by me, o > o o like say, a ticket assigned or CC'd to you? ;-) o > o > Is that true? If I, at a minimum, look at all e-mails cc'd to me, will that o > be sufficent to make sure I'm not holding anyone up? If not, maybe that o > would be a good policy. I'm pretty sure there are tasks that don't require o > tickets, so, I don't think that's enough, but maybe that would work... o o You can also query the Trac database to find cc'ed tickets: o http://trac.macosforge.org/projects/macports/query?cc=$EMAIL o o If you are set on CC for a ticket, Trac also sends the mail with your email o address in the CC header. If you are the reporter or assignee, your email o address is in the To header. This requires polling. Is there a "push" way to ensure that you know about any tickets for your ports? Can we guarantee that the maintainer(s) are listed as CC's (I can't think of a situation where they shouldn't be). -- Sal smile. -------------- Salvatore Domenick Desiano Doctoral Candidate Robotics Institute Carnegie Mellon University From ecronin at macports.org Mon Mar 17 13:16:12 2008 From: ecronin at macports.org (Eric Cronin) Date: Mon Mar 17 13:16:00 2008 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: <16092237.post@talk.nabble.com> References: <15439701.post@talk.nabble.com> <16083591.post@talk.nabble.com> <16089378.post@talk.nabble.com> <16092237.post@talk.nabble.com> Message-ID: <12E240D3-A1C9-437B-960F-C55195050BAE@macports.org> As you noticed in the Kismet notes this is a known issue... Bumping Kismet to a macports hosted svn snapshot is on my todo list (Mike says an official one or release isn't in the works until a number of other bugs get sorted out), but I've been hoping pcap would do an update also. Since pcap is a dependency for a number of things I'm a little less excited about making that track cvs... Thanks, Eric > njstaticuser wrote: >> >> libpcap is in charge of creating the wlt1 device. Since leopard >> changed >> the way it handled its hardware since Tiger, you MUST have the latest >> version of libpcap, which I believe is dated December of 2007. >> > [SNIP] > > ----- > MacBook Pro (Intel) with 2GB RAM > Leopard (10.5.1) > BootCamp with Windows XP Pro > -- > View this message in context: http://www.nabble.com/Kismet-on-OSX-10.5.1-Leopard-tp13843207p16092237.html > Sent from the MacPorts - Users mailing list archive at Nabble.com. > > _______________________________________________ > macports-users mailing list > macports-users@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo/macports-users > From mac at the-evangelist.info Mon Mar 17 16:11:55 2008 From: mac at the-evangelist.info (mac@the-evangelist.info) Date: Mon Mar 17 17:18:51 2008 Subject: HELP -> GNS3 port Message-ID: Hi, I need help to make GNS3 Port, it is used with Dynamips and Dynagen (both already ported). I tried to port but my knowledge is not enough. Could any help me ???? Thanks in advance. -- ----- The Evangelist ----- web.: www.the-evangelist.info RIPE: IM795-RIPE LinkedIn: http://www.linkedin.com/in/imartinez -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080318/a10e5901/attachment.html From walts at gate.net Mon Mar 17 17:03:38 2008 From: walts at gate.net (Walt Scrivens) Date: Mon, 17 Mar 2008 20:03:38 -0400 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: <12121264.210001205796778692.JavaMail.nabble@isper.nabble.com> References: <12121264.210001205796778692.JavaMail.nabble@isper.nabble.com> Message-ID: <71D8220C-1DC8-4020-8B47-276E561BB739@gate.net> No, it was only working in active mode. I passive mode it runs for a few seconds and dies. It also leaves the AirPort disconnected. Here's teh dump file it created - I don't know if that will help anyone. Model: MacBookPro1,1, BootROM MBP11.0055.B08, 2 processors, Intel Core Duo, 2.16 GHz, 2 GB Graphics: kHW_ATIr520Item, ATY,RadeonX1600, spdisplays_pcie_device, 256 MB Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), 1.3.2 Bluetooth: Version 2.1.0f14, 2 service, 1 devices, 1 incoming serial ports Network Service: Parallels NAT, Ethernet, en3 Network Service: Parallels Host-Guest, Ethernet, en4 Serial ATA Device: ST9100824AS, 93.16 GB Parallel ATA Device: MATSHITADVD-R UJ-857 USB Device: Built-in iSight, Micron, high_speed, 500 mA USB Device: iPod, Apple, high_speed, 500 mA USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, full_speed, 500 mA USB Device: Bluetooth USB Host Controller, Apple, Inc., full_speed, 500 mA USB Device: IR Receiver, Apple Computer, Inc., full_speed, 500 mA On the whole I'm pretty discouraged with KisMac and would rather use plain vanilla kismet, except that does not work either. From what I read it's all Apple's fault and I don't know if there will ever be a workaround. Fortunately I have a Zaurus and a Nokia 800, both of which run kismet just fine. I can take the files created by either to the Mac for analysis with Wireshark. (Now if CACE Technologies would come out with a Mac version of AirPcap and their channel-hopping modification of wireshark....) Walt On Mar 17, 2008, at 7:32 PM, gcorominas at gmail.com wrote: > did you get it working on leopard?? > i got a macbook pro core duo (july 2006) running leopard (10.5.1), > and can't get it working in passive mode. > did you get it working in passive? > Searching at google, I haven't seen anybody that has got it working > in passive mode on leopard... > > Please explain how you did it! > > thanks > walts wrote: >> >> That worked! I have only my own home network to look at here - will >> have to wait until I get to work tomorrow where I have a more robust >> test environment to really give this a workout, but it looks >> promising. Thanks for the help! >> >> Walt >> >> On Mar 16, 2008, at 6:26 PM, paul beard wrote: >> >>> [SNIP] >>> Hmm, I have r239 . . . it seems to work just fine. latest version >>> seems to be 242. >>> >>> [SNIP] >>> -- >>> Paul Beard / www.paulbeard.org/ >>> >> >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo/macports-users >> >> >> ----- >> MacBook Pro (Intel) with 2GB RAM >> Leopard (10.5.1) >> BootCamp with Windows XP Pro >> > Quoted from: > http://www.nabble.com/Kismet-on-OSX-10.5.1-Leopard-tp13843207p16085962.html > From ben at cogs.com Mon Mar 17 17:12:51 2008 From: ben at cogs.com (Ben Greenfield) Date: Mon, 17 Mar 2008 20:12:51 -0400 Subject: Kismet on OSX 10.5.1 Leopard In-Reply-To: <71D8220C-1DC8-4020-8B47-276E561BB739@gate.net> References: <12121264.210001205796778692.JavaMail.nabble@isper.nabble.com> <71D8220C-1DC8-4020-8B47-276E561BB739@gate.net> Message-ID: On Mar 17, 2008, at 8:03 PM, Walt Scrivens wrote: > No, it was only working in active mode. I passive mode it runs for > a few seconds and dies. It also leaves the AirPort disconnected. > Here's teh dump file it created - I don't know if that will help > anyone. I have .21a rev.242 running on a macbook air in passive and active mode. I had to set my bpf device in advanced preferences to match my airport card. I'm using Apple Airport Extreme card, passive mode driver. > > > Model: MacBookPro1,1, BootROM MBP11.0055.B08, 2 processors, Intel > Core Duo, 2.16 GHz, 2 GB > Graphics: kHW_ATIr520Item, ATY,RadeonX1600, spdisplays_pcie_device, > 256 MB > Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz > Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz > AirPort: spairport_wireless_card_type_airport_extreme (0x168C, > 0x86), 1.3.2 > Bluetooth: Version 2.1.0f14, 2 service, 1 devices, 1 incoming serial > ports > Network Service: Parallels NAT, Ethernet, en3 > Network Service: Parallels Host-Guest, Ethernet, en4 > Serial ATA Device: ST9100824AS, 93.16 GB > Parallel ATA Device: MATSHITADVD-R UJ-857 > USB Device: Built-in iSight, Micron, high_speed, 500 mA > USB Device: iPod, Apple, high_speed, 500 mA > USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, > full_speed, 500 mA > USB Device: Bluetooth USB Host Controller, Apple, Inc., full_speed, > 500 mA > USB Device: IR Receiver, Apple Computer, Inc., full_speed, 500 mA > > On the whole I'm pretty discouraged with KisMac and would rather use > plain vanilla kismet, except that does not work either. From what I > read it's all Apple's fault and I don't know if there will ever be a > workaround. I have read this and wordered since it does work for me. Ben > > > Fortunately I have a Zaurus and a Nokia 800, both of which run > kismet just fine. I can take the files created by either to the Mac > for analysis with Wireshark. (Now if CACE Technologies would come > out with a Mac version of AirPcap and their channel-hopping > modification of wireshark....) > > Walt > > > On Mar 17, 2008, at 7:32 PM, gcorominas at gmail.com wrote: > >> did you get it working on leopard?? >> i got a macbook pro core duo (july 2006) running leopard (10.5.1), >> and can't get it working in passive mode. >> did you get it working in passive? >> Searching at google, I haven't seen anybody that has got it working >> in passive mode on leopard... >> >> Please explain how you did it! >> >> thanks >> walts wrote: >>> >>> That worked! I have only my own home network to look at here - will >>> have to wait until I get to work tomorrow where I have a more robust >>> test environment to really give this a workout, but it looks >>> promising. Thanks for the help! >>> >>> Walt >>> >>> On Mar 16, 2008, at 6:26 PM, paul beard wrote: >>> >>>> [SNIP] >>>> Hmm, I have r239 . . . it seems to work just fine. latest version >>>> seems to be 242. >>>> >>>> [SNIP] >>>> -- >>>> Paul Beard / www.paulbeard.org/ >>>> >>> >>> >>> _______________________________________________ >>> macports-users mailing list >>> macports-users at lists.macosforge.org >>> http://lists.macosforge.org/mailman/listinfo/macports-users >>> >>> >>> ----- >>> MacBook Pro (Intel) with 2GB RAM >>> Leopard (10.5.1) >>> BootCamp with Windows XP Pro >>> >> Quoted from: >> http://www.nabble.com/Kismet-on-OSX-10.5.1-Leopard-tp13843207p16085962.html >> > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo/macports-users From cs at zip.com.au Mon Mar 17 19:03:43 2008 From: cs at zip.com.au (Cameron Simpson) Date: Tue, 18 Mar 2008 13:03:43 +1100 Subject: "unable to execute -DNDEBUG" - strange gnucash build failure In-Reply-To: <356030.50578.qm@web26901.mail.ukl.yahoo.com> Message-ID: <20080318020342.GA27931@janus> On 01Jan1970 00:00, Peter Schneider wrote: | After a "sudo port install gnucash +without_docs" I got this, probably | my favorite Christmas-bug, so far I haven't been able to reduplicate it | (another run of "sudo port -d install gnucash +without_docs" gave me | another error ... see next posting). | | It's completely obscure for me that the error message seems to be | related to gdbm, a fair while after that port was activated. "-DNDEBUG" | doesn't probably exist as a command, well, I thought so. "libdaemon" | ("libdaemon @0.12_0 (active)"!) has got through its activation, too, | though any feedback was missing ... see console messages below. [...snip...] | ---> Building libdaemon with target all | ---> Staging libdaemon into destroot | ---> Installing libdaemon 0.12_0 | running build_ext | building 'gdbm' extension | creating build | creating build/temp.macosx-10.3-ppc-2.5 | -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/python2.5 -c gdbmmodule.c -o build/temp.macosx-10.3-ppc-2.5/gdbmmodule.o | unable to execute -DNDEBUG: No such file or directory | error: command '-DNDEBUG' failed with exit status 1 Did you ever figure this out? It's happening to me, too, so several packages, often in the build step. It looks like the compiler name is missing i.e. the command line should start with "gcc" or "cc". It seems to be related to the python install. "which python" was finding /usr/bin/python (the MacOSX python). I have now done this: cd /opt/local/bin ln -s python2.5 python and with /opt/local/bin at the start of my $PATH things are now working. Shouldn't the python packages "know" their preferred python? (/opt/local/bin/python2.4 or /opt/local/bin/python2.5)? Or shouldn't /opt/local/bin/python already be set up? Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ It's as if all of Scottish cuisine is based on a dare. - Saturday Night Live Squidliness is next to DoDliness. - Ancient Tibetan Proverb From ryandesign at macports.org Mon Mar 17 22:26:00 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 18 Mar 2008 00:26:00 -0500 Subject: "unable to execute -DNDEBUG" - strange gnucash build failure In-Reply-To: <20080318020342.GA27931@janus> References: <20080318020342.GA27931@janus> Message-ID: On Mar 17, 2008, at 21:03, Cameron Simpson wrote: > It seems to be related to the python install. "which python" was > finding /usr/bin/python (the MacOSX python). I have now done this: > > cd /opt/local/bin > ln -s python2.5 python > > and with /opt/local/bin at the start of my $PATH things are now > working. > > Shouldn't the python packages "know" their preferred python? > (/opt/local/bin/python2.4 or /opt/local/bin/python2.5)? > Or shouldn't /opt/local/bin/python already be set up? You don't need to manually link python2.5 to python. Use the python_select port instead. From ryandesign at macports.org Mon Mar 17 22:26:26 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 18 Mar 2008 00:26:26 -0500 Subject: HELP -> GNS3 port In-Reply-To: References: Message-ID: <0758B9EA-2F88-4A65-9F2B-23FE6D3437DB@macports.org> On Mar 17, 2008, at 18:11, mac at the-evangelist.info wrote: > I need help to make GNS3 Port, it is used with Dynamips and > Dynagen (both already ported). > > I tried to port but my knowledge is not enough. > > Could any help me ???? What's the problem? Have you read the guide? http://guide.macports.org From cs at zip.com.au Mon Mar 17 23:18:04 2008 From: cs at zip.com.au (Cameron Simpson) Date: Tue, 18 Mar 2008 17:18:04 +1100 Subject: "unable to execute -DNDEBUG" - strange gnucash build failure In-Reply-To: Message-ID: <20080318061804.GA10445@janus> On 18Mar2008 00:26, Ryan Schmidt wrote: >> It seems to be related to the python install. "which python" was >> finding /usr/bin/python (the MacOSX python). I have now done this: >> cd /opt/local/bin >> ln -s python2.5 python >> >> and with /opt/local/bin at the start of my $PATH things are now working. >> >> Shouldn't the python packages "know" their preferred python? >> (/opt/local/bin/python2.4 or /opt/local/bin/python2.5)? >> Or shouldn't /opt/local/bin/python already be set up? > > You don't need to manually link python2.5 to python. Use the python_select > port instead. Hmm, ok: ae003730:~ root# port search python_select python_select sysutils/python_select 0.1 Switch the default python interpreter ae003730:~ root# rm /opt/local/bin/python ae003730:~ root# port install python_select ---> Fetching python_select ---> Attempting to fetch select-0.1.tar.gz from http://svn.macports.org/repository/macports/users/mww/select/ ---> Verifying checksum(s) for python_select ---> Extracting python_select ---> Configuring python_select ---> Building python_select with target all ---> Staging python_select into destroot ---> Installing python_select 0.1_3+darwin_9 ---> Activating python_select 0.1_3+darwin_9 ---> Cleaning python_select ae003730:~ root# ls -ld /opt/local/bin/python lrwxr-xr-x 1 root admin 18 Mar 18 17:11 /opt/local/bin/python -> /usr/bin/python2.5 ae003730:~ root# which python2.5 /opt/local/bin/python2.5 ae003730:~ root# Surprised! [...] Ah: ae003730:~ root# python_select python25 Selecting version "python25" for python ae003730:~ root# ls -ld /opt/local/bin/python lrwxr-xr-x 1 root admin 24 Mar 18 17:15 /opt/local/bin/python -> /opt/local/bin/python2.5 Victory! Thanks. Did your -NDEBUG problem go away? Is python_select a macports thing or more general? The man page doesn't document the options (besides mentioning that they exist). How to fix that? Cheers, -- Cameron Simpson DoD#743 http://www.cskk.ezoshosting.com/cs/ Standing on the faces of midgets, I can see for yards. - David N Stivers D0D#857 From ryandesign at macports.org Mon Mar 17 23:43:26 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 18 Mar 2008 01:43:26 -0500 Subject: "unable to execute -DNDEBUG" - strange gnucash build failure In-Reply-To: <20080318061804.GA10445@janus> References: <20080318061804.GA10445@janus> Message-ID: <5B89B943-5218-436F-A958-93278B53C59F@macports.org> On Mar 18, 2008, at 01:18, Cameron Simpson wrote: > On 18Mar2008 00:26, Ryan Schmidt wrote: > >> You don't need to manually link python2.5 to python. Use the >> python_select >> port instead. [snip] > Is python_select a macports thing or more general? The man page > doesn't > document the options (besides mentioning that they exist). How to fix > that? python_select was created by MacPorts contributor Markus Weissman for the MacPorts project. Its source is in the MacPorts repository: http://svn.macports.org/repository/macports/users/mww/select/ You can send suggestions to Markus, or file tickets for them in our issue tracker, or look at the source and submit patches... From protsman at mac.com Tue Mar 18 12:35:58 2008 From: protsman at mac.com (Shawn Protsman) Date: Tue, 18 Mar 2008 12:35:58 -0700 Subject: sqlite3 build failure Message-ID: <7AE21137-7DC5-43ED-A397-3EC132DEC56B@mac.com> Just moved to Leopard (10.5.2) and now I'm getting my port installed when I ran into this problem. Any ideas on what can be done? $ sudo port install subversion apr-util sqlite3 neon openssl Password: ---> Building sqlite3 with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.7" && gnumake all " returned error 2 Command output: sort -n -b -k 3 opcodes.h | -f ./mkopcodec.awk >opcodes.c /bin/sh: -f: command not found gnumake: *** [opcodes.c] Error 127 Error: The following dependencies failed to build: apr-util sqlite3 neon openssl Error: Status 1 encountered during processing. From mac at the-evangelist.info Tue Mar 18 14:44:23 2008 From: mac at the-evangelist.info (mac at the-evangelist.info) Date: Tue, 18 Mar 2008 22:44:23 +0100 Subject: HELP -> GNS3 port In-Reply-To: <0758B9EA-2F88-4A65-9F2B-23FE6D3437DB@macports.org> References: <0758B9EA-2F88-4A65-9F2B-23FE6D3437DB@macports.org> Message-ID: Hi Ryan, What's the problem? Ignorance....... :-( Have you read the guide? http://guide.macports.org > Ok, I will read it and try it again then will ask for if i have problems. thanks. -- ----- The Evangelist ----- web.: www.the-evangelist.info RIPE: IM795-RIPE LinkedIn: http://www.linkedin.com/in/imartinez -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080318/39ea9918/attachment.html From david.g.barnes at gmail.com Tue Mar 18 18:27:27 2008 From: david.g.barnes at gmail.com (David Barnes) Date: Wed, 19 Mar 2008 12:27:27 +1100 Subject: Leopard, curl, proxy problem Message-ID: Hi all, I am unable to sort out what must be a silly proxy / curl / macports config issue on Leopard. I've scraped the web for solutions, but found none. I am installing MacPorts 1.6 (from DMG or svn source, no difference) on a Leopard Intel box. We are behind an http proxy, which I have configured precisely on the Leopard box as on my Tiger (also Intel) box. However, "sudo port install xv" hangs when it tries to fetch: jpegsrc.v6b.tar.gz from http://www.ijg.org/files It just sits there, then eventually tries another source for the file, then another. Clearly (I think) a proxy problem. Peculiar thing is, that curl from the command line works just fine ... curl http://www.ijg.org/files/jpegsrc.v6b.tar.gz What gives? I've played with the macports.conf file which allows you to indicate shell vars that shouldn't be deleted etc., but to no avail. I hope someone can help, or at least agree this is an issue on Leopard. thanks, - David Barnes. From ryandesign at macports.org Tue Mar 18 18:30:49 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 18 Mar 2008 20:30:49 -0500 Subject: sqlite3 build failure In-Reply-To: <7AE21137-7DC5-43ED-A397-3EC132DEC56B@mac.com> References: <7AE21137-7DC5-43ED-A397-3EC132DEC56B@mac.com> Message-ID: <7B8B603B-D118-47AF-9D6F-92E99C8C9223@macports.org> On Mar 18, 2008, at 14:35, Shawn Protsman wrote: > Just moved to Leopard (10.5.2) and now I'm getting my port installed > when I ran into this problem. Any ideas on what can be done? > > $ sudo port install subversion apr-util sqlite3 neon openssl > Password: > ---> Building sqlite3 with target all > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync > .macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.7" && > gnumake all " returned error 2 > Command output: sort -n -b -k 3 opcodes.h | -f ./mkopcodec.awk >> opcodes.c > /bin/sh: -f: command not found I just upgraded to sqlite3 3.5.7 on Tiger (10.4.11) and the relevant line of output should be: sort -n -b -k 3 opcodes.h | /opt/local/bin/gawk -f ./mkopcodec.awk >opcodes.c So on your system it can't find awk/gawk. This is a common problem on Leopard to which I don't know the solution. Some say simply retrying the install will work. (Just do "sudo port install sqlite3" again.) That's a workaround of course, not a permanent solution... From nb at saltybanana.com Wed Mar 19 08:49:58 2008 From: nb at saltybanana.com (Nathan Brazil) Date: Wed, 19 Mar 2008 08:49:58 -0700 Subject: Questions About memcached Message-ID: Hi. According to this page, memcached needs to be patched on Tiger and Panther in order to perform. Do you know if the patch linked on the aforementioned page is included in its port? Also, do you know if the kqueue issue (same page) has been fixed in Leopard? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080319/848f6891/attachment-0001.html From kevin at kevinkempterllc.com Wed Mar 19 09:34:42 2008 From: kevin at kevinkempterllc.com (kevin kempter) Date: Wed, 19 Mar 2008 10:34:42 -0600 Subject: Errors installing gtk2 Message-ID: <33D6A5C7-FBEB-41D0-9334-71EDBA6A27F0@kevinkempterllc.com> Hi List; I'm a complete newbie to mac and macports - I'm a long time Linux user with my first mac. I installed macports on my new macbook (os X 10.5.2) If I run this: "sudo /opt/local/bin/port install gtk2" Then it exits like this: opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /opt/local/ lib/libfreetype.dylib -lz /opt/local/lib/libXrender.dylib /usr/X11/lib/ libX11.6.2.0.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/ libexpat.dylib /opt/local/lib/libtiff.dylib /opt/local/lib/ libjpeg.dylib /opt/local/lib/libpng12.dylib -lm ../gdk-pixbuf/.libs/ libgdk_pixbuf-2.0.dylib -Wl,-framework -Wl,CoreServices -Wl,- framework -Wl,ApplicationServices -install_name /opt/local/lib/libgdk- x11-2.0.0.dylib -compatibility_version 1201 -current_version 1201.9 i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory make[4]: *** [libgdk-x11-2.0.la] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. Anyone have any thoughts / suggestions ? Thanks in advance... From afb at macports.org Wed Mar 19 09:49:13 2008 From: afb at macports.org (=?ISO-8859-1?Q?Anders_F_Bj=F6rklund?=) Date: Wed, 19 Mar 2008 17:49:13 +0100 Subject: Errors installing gtk2 In-Reply-To: <33D6A5C7-FBEB-41D0-9334-71EDBA6A27F0@kevinkempterllc.com> References: <33D6A5C7-FBEB-41D0-9334-71EDBA6A27F0@kevinkempterllc.com> Message-ID: kevin kempter wrote: > i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No > such file or directory > make[4]: *** [libgdk-x11-2.0.la] Error 1 > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > Error: Status 1 encountered during processing. > > > Anyone have any thoughts / suggestions ? http://trac.macports.org/projects/macports/ticket/14592 --anders From protsman at mac.com Wed Mar 19 10:32:06 2008 From: protsman at mac.com (Shawn Protsman) Date: Wed, 19 Mar 2008 10:32:06 -0700 Subject: sqlite3 build failure In-Reply-To: <7B8B603B-D118-47AF-9D6F-92E99C8C9223@macports.org> References: <7AE21137-7DC5-43ED-A397-3EC132DEC56B@mac.com> <7B8B603B-D118-47AF-9D6F-92E99C8C9223@macports.org> Message-ID: On Mar 18, 2008, at 6:30 PM, Ryan Schmidt wrote: > On Mar 18, 2008, at 14:35, Shawn Protsman wrote: > >> Just moved to Leopard (10.5.2) and now I'm getting my port installed >> when I ran into this problem. Any ideas on what can be done? >> >> $ sudo port install subversion apr-util sqlite3 neon openssl >> Password: >> ---> Building sqlite3 with target all >> Error: Target org.macports.build returned: shell command " cd "/opt/ >> local/var/macports/build/ >> _opt_local_var_macports_sources_rsync >> .macports.org_release_ports_databases_sqlite3/work/sqlite-3.5.7" && >> gnumake all " returned error 2 >> Command output: sort -n -b -k 3 opcodes.h | -f ./mkopcodec.awk >>> opcodes.c >> /bin/sh: -f: command not found > > I just upgraded to sqlite3 3.5.7 on Tiger (10.4.11) and the relevant > line of output should be: > > sort -n -b -k 3 opcodes.h | /opt/local/bin/gawk -f ./mkopcodec.awk > >opcodes.c > > So on your system it can't find awk/gawk. This is a common problem > on Leopard to which I don't know the solution. Some say simply > retrying the install will work. (Just do "sudo port install sqlite3" > again.) That's a workaround of course, not a permanent solution... Well ? oddly enough, that worked: $ sudo port clean sqlite3 ---> Cleaning sqlite3 $ sudo port install sqlite3 ---> Fetching sqlite3 ---> Verifying checksum(s) for sqlite3 ---> Extracting sqlite3 ---> Configuring sqlite3 ---> Building sqlite3 with target all ---> Staging sqlite3 into destroot ---> Installing sqlite3 3.5.7_0 ---> Activating sqlite3 3.5.7_0 ---> Cleaning sqlite3 --Shawn From paul at gracion.com Wed Mar 19 11:20:26 2008 From: paul at gracion.com (Paul Collins) Date: Wed, 19 Mar 2008 11:20:26 -0700 Subject: php 5.2.5, entropy.ch binary vs MacPorts Message-ID: We run an HTTPS server using the entropy.ch php5 5.2.4 binary. Clearly its time to upgrade to php 5.2.5. Plus we're going to need WebDAV. We'd rather not switch the server from Tiger to Leopard any sooner than necessary (as entropy's php 5.2.5 binary will apparently require). What are most people doing with OS X-based production web servers? Running the entropy.ch php 5.2.4 binary from here until 5.2.5 is released, then upgrading to Leopard? (Ignoring the beta for the moment.) I've installed, worked with, and like MacPorts, but to use its php would require us to replace OS X's Apache and SSL module, which we don't want to do. But is that what people are doing? Or, are many production servers running OS X Server instead of Client and letting Apple handle the upgrades? Any recommendations or field reports would be appreciated. Paul Collins ** Gracion Software LLC http://www.gracion.com/ ** Tel: +1 (541) 488-3488 iChat/AIM/Skype: gracionsoft ** Enclose - removes the email attachment bottleneck ** DigiTunnel 1.4 PPTP/VPN client for OS X ** Pronto Patent - search/download US patents fast From mwilden at twistage.com Wed Mar 19 12:04:33 2008 From: mwilden at twistage.com (Mark Wilden) Date: Wed, 19 Mar 2008 12:04:33 -0700 Subject: mod_python-3.3.1 build fails References: <22DA40AF-3F88-4079-BD55-CBBF9CBAA0DF@twistage.com> Message-ID: <81DF17D6-EB9E-47E3-825F-13195EDAB8C1@twistage.com> > I'm afraid I'm still dead in the water, unable to use mod_python: > >> http://trac.macosforge.org/projects/macports/ticket/14582 > > Can I get any love for a happy Vista convert? :) > > ///ark > From protsman at mac.com Wed Mar 19 15:34:03 2008 From: protsman at mac.com (Shawn Protsman) Date: Wed, 19 Mar 2008 15:34:03 -0700 Subject: ntop ticket 14308 Message-ID: <7FDA5183-1C7A-4D56-BAC4-6853B96E0468@mac.com> This is in reference to http://trac.macosforge.org/projects/macports/ticket/14308 and hopefully helps the macport get fixed. Though the macport fails to build, the source can be built just fine: 1 - Download ntop 3.3 source 2 - Run autogen.sh 3 - ./configure --with-gdbm-lib=/opt/local/lib --with-gdbm-include=/ opt/local/include 4 - make; sudo make install 5 - run it and then log in to http://localhost:3000 Everything works just fine. --Shawn From macports.users at gmail.com Wed Mar 19 19:53:10 2008 From: macports.users at gmail.com (Charlse Darwin) Date: Wed, 19 Mar 2008 22:53:10 -0400 Subject: ntop ticket 14308 In-Reply-To: <7FDA5183-1C7A-4D56-BAC4-6853B96E0468@mac.com> References: <7FDA5183-1C7A-4D56-BAC4-6853B96E0468@mac.com> Message-ID: <0C42D9DC-C3A6-4A33-AFAD-30D9582F7946@gmail.com> ~/ntop $ make /local/lib/libntop-3.3.5.dylib ld: warning -L: directory name (/usr/local/lib) does not exist ld: warning -L: directory name (/opt/local/lib/lib) does not exist ld: flag: -undefined dynamic_lookup can't be used with MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1/usr/ libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed make[2]: *** [libntop.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Charles On Mar 19, 2008, at 6:34 PM, Shawn Protsman wrote: > This is in reference to http://trac.macosforge.org/projects/ > macports/ticket/14308 > and hopefully helps the macport get fixed. > > Though the macport fails to build, the source can be built just fine: > > 1 - Download ntop 3.3 source > 2 - Run autogen.sh > 3 - ./configure --with-gdbm-lib=/opt/local/lib --with-gdbm-include=/ > opt/local/include > 4 - make; sudo make install > 5 - run it and then log in to http://localhost:3000 > > Everything works just fine. > > --Shawn > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From ryandesign at macports.org Wed Mar 19 20:56:10 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 19 Mar 2008 22:56:10 -0500 Subject: php 5.2.5, entropy.ch binary vs MacPorts In-Reply-To: References: Message-ID: On Mar 19, 2008, at 13:20, Paul Collins wrote: > We run an HTTPS server using the entropy.ch php5 5.2.4 binary. > Clearly its time to upgrade to php 5.2.5. Plus we're going to need > WebDAV. We'd rather not switch the server from Tiger to Leopard any > sooner than necessary (as entropy's php 5.2.5 binary will apparently > require). > > What are most people doing with OS X-based production web servers? > Running the entropy.ch php 5.2.4 binary from here until 5.2.5 is > released, then upgrading to Leopard? (Ignoring the beta for the > moment.) > > I've installed, worked with, and like MacPorts, but to use its php > would require us to replace OS X's Apache and SSL module, which we > don't want to do. But is that what people are doing? > > Or, are many production servers running OS X Server instead of Client > and letting Apple handle the upgrades? > > Any recommendations or field reports would be appreciated. Using the +apache variant of the php5 port will use Apple's Apache 1.3 server. This option will be renamed to +apache_apple in the future. If you are using Apple's Apache 2 server, for example with Mac OS X Server or with Leopard, there is no option to make the php5 port work with that at this time. There will be an option +apache2_apple in the future for this. From ryandesign at macports.org Wed Mar 19 21:06:19 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 19 Mar 2008 23:06:19 -0500 Subject: ntop ticket 14308 In-Reply-To: <0C42D9DC-C3A6-4A33-AFAD-30D9582F7946@gmail.com> References: <7FDA5183-1C7A-4D56-BAC4-6853B96E0468@mac.com> <0C42D9DC-C3A6-4A33-AFAD-30D9582F7946@gmail.com> Message-ID: <7647253C-DAEF-4FA4-892A-811FB28364F5@macports.org> On Mar 19, 2008, at 21:53, Charlse Darwin wrote: > On Mar 19, 2008, at 6:34 PM, Shawn Protsman wrote: > >> This is in reference to http://trac.macosforge.org/projects/ >> macports/ticket/14308 >> and hopefully helps the macport get fixed. >> >> Though the macport fails to build, the source can be built just fine: >> >> 1 - Download ntop 3.3 source >> 2 - Run autogen.sh >> 3 - ./configure --with-gdbm-lib=/opt/local/lib --with-gdbm-include=/ >> opt/local/include >> 4 - make; sudo make install >> 5 - run it and then log in to http://localhost:3000 >> >> Everything works just fine. > > ~/ntop $ make > /local/lib/libntop-3.3.5.dylib > ld: warning -L: directory name (/usr/local/lib) does not exist Lots of software packages look in /usr/local automatically. It's not a problem that this directory is absent. > ld: warning -L: directory name (/opt/local/lib/lib) does not exist I wonder why it says that. Could you show all previous lines that mention /opt/local/lib/lib in the output? > ld: flag: -undefined dynamic_lookup can't be used with > MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 Since you appear to be using Mac OS X 10.4, set the MACOSX_DEPLOYMENT_TARGET environment variable to 10.4 for the duration of your attempt to build this software. MacPorts sets this variable for you automatically but if you're compiling manually, set the variable manually, e.g. if your shell is bash: export MACOSX_DEPLOYMENT_TARGET=10.4 > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link > edit > command failed Probably due to the above. > make[2]: *** [libntop.la] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 From paulbeard at gmail.com Wed Mar 19 21:43:02 2008 From: paulbeard at gmail.com (paul beard) Date: Wed, 19 Mar 2008 21:43:02 -0700 Subject: ticket 14547 (libgnomecups printing problem) Message-ID: Anyone in a position to verify and commit that patch that's with this ticket? http://trac.macosforge.org/projects/macports/ticket/14547 -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080319/23c999b4/attachment.html From noisebrain at gmail.com Wed Mar 19 21:46:41 2008 From: noisebrain at gmail.com (noisebrain) Date: Wed, 19 Mar 2008 21:46:41 -0700 (PDT) Subject: [!SPAM?:XXXII] Re: matplotlib: no interactive backends appear to work Message-ID: <16143639.post@talk.nabble.com> I am also getting a segfault on show(), and also at the location com.tcltk.tcllibrary 0x01c53f40 TclpFree + 73 this is with ports python2.5 on osx 10.4.11. Adam Mercer wrote: > > 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 > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > -- View this message in context: http://www.nabble.com/matplotlib%3A-no-interactive-backends-appear-to-work-tp15110400p16143639.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From noisebrain at gmail.com Wed Mar 19 22:04:27 2008 From: noisebrain at gmail.com (J P Lewis) Date: Thu, 20 Mar 2008 18:04:27 +1300 Subject: how to delete deactivated ports Message-ID: Hello, (a novice question) I installed a package (py25-matplotlib), had some trouble with using it, then did a port selfupdate, then upgraded the package. In the process, a number of packages were deactivated. For example, it looks like I now have two copies of python25, numpy, 3 copies of libpng, etc. How can I uninstall these now (to clean up and save disk space)? For example port uninstall python25 @2.5.1_2+darwin_8 says that I cannot uninstall this (deactivated) python because other things depend on it. Most of those things are things that I'm actively using (py-readline for example). should I uninstall and reinstall all of these? If so, it seems like upgrading is a bad strategy, one can save work by uninstalling and reinstalling? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/6255e840/attachment.html From paulbeard at gmail.com Wed Mar 19 22:11:55 2008 From: paulbeard at gmail.com (paul beard) Date: Wed, 19 Mar 2008 22:11:55 -0700 Subject: how to delete deactivated ports In-Reply-To: References: Message-ID: On Wed, Mar 19, 2008 at 10:04 PM, J P Lewis wrote: > Hello, > > (a novice question) > > I installed a package (py25-matplotlib), had some trouble with using it, > then did a port selfupdate, > > then upgraded the package. In the process, a number of packages were > deactivated. > > For example, it looks like I now have two copies of python25, numpy, > 3 copies of libpng, etc. > > How can I uninstall these now (to clean up and save disk space)? > > For example > port uninstall python25 @2.5.1_2+darwin_8 > says that I cannot uninstall this (deactivated) python because other > things > depend on it. > > Most of those things are things that I'm actively using (py-readline for > example). > > should I uninstall and reinstall all of these? If so, it seems like > upgrading is a bad > strategy, one can save work by uninstalling and reinstalling? > port -f uninstall inactive should do it. -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080319/4c1ec090/attachment.html From markd at macports.org Wed Mar 19 23:04:22 2008 From: markd at macports.org (markd at macports.org) Date: Wed, 19 Mar 2008 23:04:22 -0700 Subject: ntop fials to build Message-ID: Someone just proposed a fix for the port here: http://trac.macosforge.org/projects/macports/ticket/13610 Can someone verify or comment on this fix? Ihaven't had time to look at it. Mark From ryandesign at macports.org Wed Mar 19 23:11:50 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 20 Mar 2008 01:11:50 -0500 Subject: ntop fials to build In-Reply-To: References: Message-ID: <3FB6C811-D249-4D0A-8F12-89D7F032991C@macports.org> On Mar 20, 2008, at 01:04, markd at macports.org wrote: > Someone just proposed a fix for the port here: > http://trac.macosforge.org/projects/macports/ticket/13610 > > Can someone verify or comment on this fix? Ihaven't had time to > look at > it. That appears to fix an entirely unrelated build issue with ntop than the one reported in this thread. From ryandesign at macports.org Thu Mar 20 00:08:44 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 20 Mar 2008 02:08:44 -0500 Subject: how to delete deactivated ports In-Reply-To: References: Message-ID: <583CC5C6-51DE-4197-B39B-2DEC30AD11F8@macports.org> On Mar 20, 2008, at 00:04, J P Lewis wrote: > (a novice question) > > I installed a package (py25-matplotlib), had some trouble with > using it, > then did a port selfupdate, > > then upgraded the package. In the process, a number of packages > were deactivated. > > For example, it looks like I now have two copies of python25, numpy, > 3 copies of libpng, etc. > > How can I uninstall these now (to clean up and save disk space)? > > For example > port uninstall python25 @2.5.1_2+darwin_8 > says that I cannot uninstall this (deactivated) python because > other things > depend on it. > > Most of those things are things that I'm actively using (py- > readline for example). > > should I uninstall and reinstall all of these? If so, it seems > like upgrading is a bad > strategy, one can save work by uninstalling and reinstalling? Welcome to MacPorts! The message you're referring to is misleading. It says that this specific version of the port cannot be uninstalled because other ports depend on it. In fact, MacPorts has no concept of depending on a specific version of a port, so the message should just say that other ports depend on that port. And since you already have a newer version of that port installed, there is no problem with uninstalling the older version. MacPorts is just being overly cautious. You can force the uninstallation as Paul said: sudo port -f uninstall python25 If you already know when you upgrade that you want to uninstall the older version, you can use the -u flag: sudo port -u upgrade python25 This will fail if any other ports depend on python25, with the same error message as discussed above. So you need to force it. But forcing the upgrade of e.g. python25 also forces the upgrade of all ports that python25 depends on, possibly multiple times. This is not what you want. So if you're going to force an upgrade, always use the -n flag with the -f flag to indicate that you do not want the recursive port upgrade feature: sudo port -nfu upgrade python25 Yes, this whole situation is a little less than ideal, but it's what we have right now. From Denis.Buffenoir at inria.fr Thu Mar 20 02:44:37 2008 From: Denis.Buffenoir at inria.fr (Denis Buffenoir) Date: Thu, 20 Mar 2008 10:44:37 +0100 Subject: perl and tk Message-ID: <7F4918DF-060F-4CEB-B0D1-C6E0939BB71D@inria.fr> Hi I just install MacPorts-1.6.0-10.5-Leopard on Leopard version 10.5.2. I wanted to use perltk, I for that I do (perhaps that I'm wrong): port install perl5.10 port install p5-tk for perl5.10, everything is fine, but when I try to install p5-tk, I get an error (see bellow) thanks for your help Denis ------------------------------ Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync .macports.org_release_ports_perl_p5-tk/work/Tk-804.027" && make all " returned error 2 Command output: tkGlue.c: In function 'PushObjCallbackArgs': tkGlue.c:1625: warning: unknown conversion type character '_' in format tkGlue.c:1625: warning: too many arguments for format tkGlue.c:1649: warning: unknown conversion type character '_' in format tkGlue.c:1649: warning: too many arguments for format tkGlue.c:1673: warning: unknown conversion type character '_' in format tkGlue.c:1673: warning: too many arguments for format tkGlue.c:1732: warning: format '%ld' expects type 'long int', but argument 2 has type 'unsigned int' tkGlue.c: In function 'Lang_TaintCheck': tkGlue.c:2151: warning: unknown conversion type character '_' in format tkGlue.c:2151: warning: too many arguments for format tkGlue.c: In function 'do_comp': tkGlue.c:5237: error: 'PMOP' has no member named 'op_pmdynflags' tkGlue.c:5237: error: 'PMdf_DYN_UTF8' undeclared (first use in this function) tkGlue.c:5237: error: (Each undeclared identifier is reported only once tkGlue.c:5237: error: for each function it appears in.) tkGlue.c:5238: warning: passing argument 1 of 'Perl_pregcomp' from incompatible pointer type tkGlue.c:5238: warning: passing argument 2 of 'Perl_pregcomp' makes integer from pointer without a cast tkGlue.c:5238: error: too many arguments to function 'Perl_pregcomp' tkGlue.c: In function 'Tcl_RegExpRange': tkGlue.c:5360: error: 'struct regexp' has no member named 'startp' tkGlue.c:5360: error: 'struct regexp' has no member named 'endp' tkGlue.c:5362: error: 'struct regexp' has no member named 'startp' tkGlue.c:5363: error: 'struct regexp' has no member named 'endp' tkGlue.c: In function 'install_vtab': tkGlue.c:5459: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' tkGlue.c: In function 'Boot_Glue': tkGlue.c:5493: warning: initialization from incompatible pointer type tkGlue.c:5501: warning: assignment from incompatible pointer type make: *** [tkGlue.o] Error 1 Error: Status 1 encountered during processing. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/91e2df31/attachment-0001.html From macports.users at gmail.com Thu Mar 20 03:32:05 2008 From: macports.users at gmail.com (Charlse Darwin) Date: Thu, 20 Mar 2008 06:32:05 -0400 Subject: how to delete deactivated ports In-Reply-To: <583CC5C6-51DE-4197-B39B-2DEC30AD11F8@macports.org> References: <583CC5C6-51DE-4197-B39B-2DEC30AD11F8@macports.org> Message-ID: I have a shell script that I run when I go to bed called good-night and part of it that pertains to Macports goes like this: #!/opt/local/bin/bash cd "~/base/" && /opt/local/bin/svn update && PATH=/bin:/sbin:/usr/ bin:/usr/sbin ./configure --enable-readline && /usr/bin/make && /opt/ local/bin/sudo /usr/bin/make install && /usr/bin/make clean && /opt/ local/bin/port -v selfupdate && /opt/local/bin/port -fvdRnu upgrade outdated && /opt/local/bin/port -fvdR clean --all installed && /opt/ local/bin/port -fvdR uninstall inactive && /opt/local/bin/port -fvdR clean --all uninstalled Your thoughts please. Regards, On Mar 20, 2008, at 3:08 AM, Ryan Schmidt wrote: > On Mar 20, 2008, at 00:04, J P Lewis wrote: > >> (a novice question) >> >> I installed a package (py25-matplotlib), had some trouble with >> using it, >> then did a port selfupdate, >> >> then upgraded the package. In the process, a number of packages >> were deactivated. >> >> For example, it looks like I now have two copies of python25, numpy, >> 3 copies of libpng, etc. >> >> How can I uninstall these now (to clean up and save disk space)? >> >> For example >> port uninstall python25 @2.5.1_2+darwin_8 >> says that I cannot uninstall this (deactivated) python because >> other things >> depend on it. >> >> Most of those things are things that I'm actively using (py- >> readline for example). >> >> should I uninstall and reinstall all of these? If so, it seems >> like upgrading is a bad >> strategy, one can save work by uninstalling and reinstalling? > > Welcome to MacPorts! > > The message you're referring to is misleading. It says that this > specific version of the port cannot be uninstalled because other > ports depend on it. In fact, MacPorts has no concept of depending on > a specific version of a port, so the message should just say that > other ports depend on that port. And since you already have a newer > version of that port installed, there is no problem with uninstalling > the older version. MacPorts is just being overly cautious. You can > force the uninstallation as Paul said: > > sudo port -f uninstall python25 > > If you already know when you upgrade that you want to uninstall the > older version, you can use the -u flag: > > sudo port -u upgrade python25 > > This will fail if any other ports depend on python25, with the same > error message as discussed above. So you need to force it. But > forcing the upgrade of e.g. python25 also forces the upgrade of all > ports that python25 depends on, possibly multiple times. This is not > what you want. So if you're going to force an upgrade, always use the > -n flag with the -f flag to indicate that you do not want the > recursive port upgrade feature: > > sudo port -nfu upgrade python25 > > Yes, this whole situation is a little less than ideal, but it's what > we have right now. > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From macports.users at gmail.com Thu Mar 20 03:46:56 2008 From: macports.users at gmail.com (Charlse Darwin) Date: Thu, 20 Mar 2008 06:46:56 -0400 Subject: ntop fials to build In-Reply-To: References: Message-ID: <96054769-8CF7-4083-927F-F909299F0C1E@gmail.com> How do I patch this one? http://trac.macosforge.org/projects/macports/attachment/ticket/13610/ patch-globals-structtypes.h $ sudo patch -p0 < ~/Dl/patch-globals-structtypes.h can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: --------------------------|--- globals-structtypes.h 2008-03-18 22:24:02.000000000 +1030 |+++ globals-structtypes.h.new 2008-03-18 22:23:51.000000000 +1030-------------------------- File to patch: ~/Dl/patch-globals-structtypes.h~/Dl/patch-globals-structtypes.h: No such file or directorySkip this patch? [y] ySkipping patch.1 out of 1 hunk ignored On Mar 20, 2008, at 2:04 AM, markd at macports.org wrote: > Someone just proposed a fix for the port here: > http://trac.macosforge.org/projects/macports/ticket/13610 > > Can someone verify or comment on this fix? Ihaven't had time to > look at > it. > > Mark > From macports.users at gmail.com Thu Mar 20 04:11:34 2008 From: macports.users at gmail.com (Charlse Darwin) Date: Thu, 20 Mar 2008 07:11:34 -0400 Subject: ntop ticket 14308 In-Reply-To: <7647253C-DAEF-4FA4-892A-811FB28364F5@macports.org> References: <7FDA5183-1C7A-4D56-BAC4-6853B96E0468@mac.com> <0C42D9DC-C3A6-4A33-AFAD-30D9582F7946@gmail.com> <7647253C-DAEF-4FA4-892A-811FB28364F5@macports.org> Message-ID: On Mar 20, 2008, at 12:06 AM, Ryan Schmidt wrote: > > On Mar 19, 2008, at 21:53, Charlse Darwin wrote: > >> On Mar 19, 2008, at 6:34 PM, Shawn Protsman wrote: >> >>> This is in reference to http://trac.macosforge.org/projects/ >>> macports/ticket/14308 >>> and hopefully helps the macport get fixed. >>> >>> Though the macport fails to build, the source can be built just >>> fine: >>> >>> 1 - Download ntop 3.3 source >>> 2 - Run autogen.sh >>> 3 - ./configure --with-gdbm-lib=/opt/local/lib --with-gdbm-include=/ >>> opt/local/include >>> 4 - make; sudo make install >>> 5 - run it and then log in to http://localhost:3000 >>> >>> Everything works just fine. >> >> ~/ntop $ make >> /local/lib/libntop-3.3.5.dylib >> ld: warning -L: directory name (/usr/local/lib) does not exist > > Lots of software packages look in /usr/local automatically. It's > not a problem that this directory is absent. > >> ld: warning -L: directory name (/opt/local/lib/lib) does not exist > > I wonder why it says that. Could you show all previous lines that > mention /opt/local/lib/lib in the output? $ sudo make install Making install in . test -z "/usr/local/lib" || /opt/local/bin/gmkdir -p "/usr/local/lib" /bin/sh ./libtool --mode=install /opt/local/bin/ginstall -c 'libntop.la' '/usr/local/lib/libntop.la' /opt/local/bin/ginstall -c .libs/libntop-3.3.5.dylib /usr/local/lib/ libntop-3.3.5.dylib (cd /usr/local/lib && rm -f libntop.dylib && ln -s libntop-3.3.5.dylib libntop.dylib) /opt/local/bin/ginstall -c .libs/libntop.lai /usr/local/lib/libntop.la /opt/local/bin/ginstall -c .libs/libntop.a /usr/local/lib/libntop.a ranlib /usr/local/lib/libntop.a chmod 644 /usr/local/lib/libntop.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable during execution See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/sh ./libtool --mode=install /opt/local/bin/ginstall -c 'libntopreport.la' '/usr/local/lib/libntopreport.la' libtool: install: warning: relinking `libntopreport.la' (cd /Users/pm/ntop; /bin/sh ./libtool --mode=relink gcc -no-cpp- precomp -g -O2 -I/usr/local/include -I/opt/local/include -Wshadow - Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested- externs -fno-common -DPIC -release 3.3.5 -export-dynamic -L/usr/local/ lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib/lib -o libntopreport.la -rpath /usr/local/lib emitter.lo globals-report.lo graph.lo fcReport.lo http.lo report.lo reportUtils.lo ssl.lo webInterface.lo libntop.la -lpthread -lc -lssl -lrrd_th -lpcre -lgdbm -L/usr/lib -lnetsnmp -lcrypto -lz -lm -lwrap -lpcap ) mv: rename libntopreport-3.3.5.dylib to libntopreport-3.3.5.dylibU: No such file or directory libtool: install: error: relink `libntopreport.la' with the above command before installing it make[2]: *** [install-libLTLIBRARIES] Error 1 make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1 $ > >> ld: flag: -undefined dynamic_lookup can't be used with >> MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1 > > Since you appear to be using Mac OS X 10.4, set the > MACOSX_DEPLOYMENT_TARGET environment variable to 10.4 for the > duration of your attempt to build this software. MacPorts sets this > variable for you automatically but if you're compiling manually, > set the variable manually, e.g. if your shell is bash: > > export MACOSX_DEPLOYMENT_TARGET=10.4 > >> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal >> link edit >> command failed > > Probably due to the above. > >> make[2]: *** [libntop.la] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 > > From skip at pobox.com Thu Mar 20 05:06:39 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 20 Mar 2008 07:06:39 -0500 Subject: how to delete deactivated ports In-Reply-To: References: <583CC5C6-51DE-4197-B39B-2DEC30AD11F8@macports.org> Message-ID: <18402.21327.614816.458429@montanaro-dyndns-org.local> Charlse> I have a shell script that I run when I go to bed called Charlse> good-night and part of it that pertains to Macports goes like Charlse> this: ... Charlse> Your thoughts please. My only thought would be to wrap the lines suitably: #!/opt/local/bin/bash cd "~/base/" \ && /opt/local/bin/svn update \ && PATH=/bin:/sbin:/usr/bin:/usr/sbin ./configure --enable-readline \ && /usr/bin/make \ && /opt/local/bin/sudo /usr/bin/make install \ && /usr/bin/make clean \ && /opt/local/bin/port -v selfupdate \ && /opt/local/bin/port -fvdRnu upgrade outdated \ && /opt/local/bin/port -fvdR clean --all installed \ && /opt/local/bin/port -fvdR uninstall inactive \ && /opt/local/bin/port -fvdR clean --all uninstalled Now that I can read what you wrote ;-) I have a couple other questions: * Why not put /opt/local/bin in your PATH? * Why prefer /opt/local/bin/sudo over the version Apple installed? * Referencing /usr/bin/make suggests you think there's another version earlier in your PATH. Kinda curious about that. -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From jkorchok at hotmail.com Thu Mar 20 07:41:21 2008 From: jkorchok at hotmail.com (John Korchok) Date: Thu, 20 Mar 2008 10:41:21 -0400 Subject: Tiger software update replaces apachectl In-Reply-To: <18402.21327.614816.458429@montanaro-dyndns-org.local> References: <583CC5C6-51DE-4197-B39B-2DEC30AD11F8@macports.org> <18402.21327.614816.458429@montanaro-dyndns-org.local> Message-ID: Hello all, I found out (the hard way) that the latest Apple Security Update 2008-002 for Tiger replaces the apachectl file in /usr/sbin. If, like me, you had copied the apachectl file from /opt/local/apache2/bin to /usr/sbin (this enables you to turn Apache on and off using the System Prefs/Sharing/Personal Web Sharing), you will find that the next time you restart Apache, things go haywire, like none of your PHP works any more. It's because your system has reverted to the Apache 1.3 that comes with Tiger. John Korchok From tomc at sounddsl.com Thu Mar 20 08:18:33 2008 From: tomc at sounddsl.com (Thomas Condon) Date: Thu, 20 Mar 2008 08:18:33 -0700 Subject: Tiger software update replaces apachectl In-Reply-To: References: <583CC5C6-51DE-4197-B39B-2DEC30AD11F8@macports.org> <18402.21327.614816.458429@montanaro-dyndns-org.local> Message-ID: <47E28049.7050706@sounddsl.com> John Korchok wrote: > Hello all, > > I found out (the hard way) that the latest Apple Security Update 2008-002 > for Tiger replaces the apachectl file in /usr/sbin. If, like me, you had > copied the apachectl file from /opt/local/apache2/bin to /usr/sbin (this > enables you to turn Apache on and off using the System > Prefs/Sharing/Personal Web Sharing), you will find that the next time you > restart Apache, things go haywire, like none of your PHP works any more. > It's because your system has reverted to the Apache 1.3 that comes with > Tiger. John, I know about assuming, but I'll still assume that you fixed this somehow (like re-copied apachectl to /usr/sbin). Are there other steps to making Personal Web Sharing run Apache2? If so, could you please detail them for those of us who just can't remember anything? In A Chord, Tom Condon Bass, Agate Passage Quartet Bass & Proud Member, Kitsap Chordsmen Dir. Music Education, Evergreen District, BHS From hippely at gmail.com Thu Mar 20 08:33:15 2008 From: hippely at gmail.com (Matt Hippely) Date: Thu, 20 Mar 2008 09:33:15 -0600 Subject: Tiger software update replaces apachectl In-Reply-To: <47E28049.7050706@sounddsl.com> References: <583CC5C6-51DE-4197-B39B-2DEC30AD11F8@macports.org> <18402.21327.614816.458429@montanaro-dyndns-org.local> <47E28049.7050706@sounddsl.com> Message-ID: If you are comfortable with the command line, all you need to do is to link to the installation of apache that you want to control from the preferance panes. 1. $cd /usr/sbin 2. $mv apachectl apachectl1-3 3. $ln -s /opt/local/apache2/bin/apachectl apachectl when you list the directory it should give you something like this: ... apachectl -> /opt/local/apache2/bin/apachectl ... and you should now be able to control macports apache2 from you preference pane. On Thu, Mar 20, 2008 at 9:18 AM, Thomas Condon wrote: > John Korchok wrote: > > Hello all, > > > > I found out (the hard way) that the latest Apple Security Update > 2008-002 > > for Tiger replaces the apachectl file in /usr/sbin. If, like me, you had > > copied the apachectl file from /opt/local/apache2/bin to /usr/sbin (this > > enables you to turn Apache on and off using the System > > Prefs/Sharing/Personal Web Sharing), you will find that the next time > you > > restart Apache, things go haywire, like none of your PHP works any more. > > It's because your system has reverted to the Apache 1.3 that comes with > > Tiger. > > John, > > I know about assuming, but I'll still assume that you fixed this somehow > (like re-copied apachectl to /usr/sbin). > > Are there other steps to making Personal Web Sharing run Apache2? If > so, could you please detail them for those of us who just can't remember > anything? > > > In A Chord, > > Tom Condon > Bass, Agate Passage Quartet > Bass & Proud Member, Kitsap Chordsmen > Dir. Music Education, Evergreen District, BHS > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/2b85be08/attachment-0001.html From markd at macports.org Thu Mar 20 08:48:19 2008 From: markd at macports.org (markd at macports.org) Date: Thu, 20 Mar 2008 08:48:19 -0700 Subject: ntop fails to build Message-ID: I just committed the patch as revision 1 to the port. The patch worked fine for me. In short order the new port should be updated for you after doing a selfupdate. Mark >How do I patch this one? > >http://trac.macosforge.org/projects/macports/attachment/ticket/13610/ >patch-globals-structtypes.h > >$ sudo patch -p0 < ~/Dl/patch-globals-structtypes.h >can't find file to patch at input line 3 >Perhaps you used the wrong -p or --strip option? >The text leading up to this was: >--------------------------|--- globals-structtypes.h 2008-03-18 >22:24:02.000000000 +1030 >|+++ globals-structtypes.h.new 2008-03-18 22:23:51.000000000 >+1030-------------------------- >File to patch: >~/Dl/patch-globals-structtypes.h~/Dl/patch-globals-structtypes.h: No >such file or directorySkip this patch? [y] ySkipping patch.1 out of 1 >hunk ignored > >On Mar 20, 2008, at 2:04 AM, markd at macports.org wrote: >> Someone just proposed a fix for the port here: >> http://trac.macosforge.org/projects/macports/ticket/13610 >> >> Can someone verify or comment on this fix? Ihaven't had time to >> look at >> it. >> >> Mark From protsman at mac.com Thu Mar 20 10:08:42 2008 From: protsman at mac.com (Shawn Protsman) Date: Thu, 20 Mar 2008 10:08:42 -0700 Subject: ntop ticket 14308 In-Reply-To: <0C42D9DC-C3A6-4A33-AFAD-30D9582F7946@gmail.com> References: <7FDA5183-1C7A-4D56-BAC4-6853B96E0468@mac.com> <0C42D9DC-C3A6-4A33-AFAD-30D9582F7946@gmail.com> Message-ID: <1A19CD75-E624-4DCF-9BF1-DC2FE3C6DE65@mac.com> Well, after seeing your output I decided to build ntop on 10.5.2 (previously built on 10.4.11). I had to add a parameter to configure: $ ./configure --with-gdbm-lib=/opt/local/lib --with-gdbm-include=/opt/ local/include --with-localedir=/usr/share/locale naiad:~/workspace/ntop-3.3 $ make make all-recursive Making all in . /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - I. -I/opt/local/include -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 -DDARWIN -I/usr/local/include -I/opt/local/ include -no-cpp-precomp -g -O2 -I/usr/local/include -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 mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I/opt/local/include -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 -DDARWIN -I/usr/local/include -I/opt/local/include - no-cpp-precomp -g -O2 -I/usr/local/include -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 make[2]: *** [address.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Bummer! --Shawn On Mar 19, 2008, at 7:53 PM, Charlse Darwin wrote: > ~/ntop $ make > /local/lib/libntop-3.3.5.dylib > ld: warning -L: directory name (/usr/local/lib) does not exist > ld: warning -L: directory name (/opt/local/lib/lib) does not exist > ld: flag: -undefined dynamic_lookup can't be used with > MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1/usr/ > libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit > command failed > make[2]: *** [libntop.la] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > Charles > > On Mar 19, 2008, at 6:34 PM, Shawn Protsman wrote: >> This is in reference to http://trac.macosforge.org/projects/macports/ticket/14308 >> and hopefully helps the macport get fixed. >> >> Though the macport fails to build, the source can be built just fine: >> >> 1 - Download ntop 3.3 source >> 2 - Run autogen.sh >> 3 - ./configure --with-gdbm-lib=/opt/local/lib --with-gdbm-include=/ >> opt/local/include >> 4 - make; sudo make install >> 5 - run it and then log in to http://localhost:3000 >> >> Everything works just fine. From protsman at mac.com Thu Mar 20 10:49:33 2008 From: protsman at mac.com (Shawn Protsman) Date: Thu, 20 Mar 2008 10:49:33 -0700 Subject: ntop fials to build In-Reply-To: References: Message-ID: <6DD9195D-B6FF-4B8E-B62C-FC676BDE4A54@mac.com> Excellent! I ran selfupdate and then installed the ntop port. Thanks guys! --Shawn On Mar 19, 2008, at 11:04 PM, markd at macports.org wrote: > Someone just proposed a fix for the port here: > http://trac.macosforge.org/projects/macports/ticket/13610 > > Can someone verify or comment on this fix? Ihaven't had time to > look at > it. From zavpublic at mac.com Thu Mar 20 12:10:29 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Thu, 20 Mar 2008 14:10:29 -0500 Subject: ntop fials to build In-Reply-To: <6DD9195D-B6FF-4B8E-B62C-FC676BDE4A54@mac.com> References: <6DD9195D-B6FF-4B8E-B62C-FC676BDE4A54@mac.com> Message-ID: Could you detail how to do this? I'm not well schooled in the install/ build process and have been holding off on getting ntop compiled because of all the problems mentioned. Thanks, - Alex On Mar 20, 2008, at 12:49 PM, Shawn Protsman wrote: > Excellent! I ran selfupdate and then installed the ntop port. Thanks > guys! > > --Shawn > > On Mar 19, 2008, at 11:04 PM, markd at macports.org wrote: > >> Someone just proposed a fix for the port here: >> http://trac.macosforge.org/projects/macports/ticket/13610 >> >> Can someone verify or comment on this fix? Ihaven't had time to >> look at >> it. > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From protsman at mac.com Thu Mar 20 12:13:40 2008 From: protsman at mac.com (Shawn Protsman) Date: Thu, 20 Mar 2008 12:13:40 -0700 Subject: ntop fials to build In-Reply-To: References: <6DD9195D-B6FF-4B8E-B62C-FC676BDE4A54@mac.com> Message-ID: <4F718F63-A796-4433-8815-3FCC180FC189@mac.com> Alex, Two steps: $ sudo port selfupdate $ sudo port install ntop --Shawn On Mar 20, 2008, at 12:10 PM, Alex Zavatone wrote: > Could you detail how to do this? I'm not well schooled in the > install/build process and have been holding off on getting ntop > compiled because of all the problems mentioned. > > Thanks, > - Alex > On Mar 20, 2008, at 12:49 PM, Shawn Protsman wrote: > >> Excellent! I ran selfupdate and then installed the ntop port. Thanks >> guys! >> >> --Shawn >> >> On Mar 19, 2008, at 11:04 PM, markd at macports.org wrote: >> >>> Someone just proposed a fix for the port here: >>> http://trac.macosforge.org/projects/macports/ticket/13610 >>> >>> Can someone verify or comment on this fix? Ihaven't had time to >>> look at >>> it. From zavpublic at mac.com Thu Mar 20 12:35:52 2008 From: zavpublic at mac.com (Alex Zavatone) Date: Thu, 20 Mar 2008 14:35:52 -0500 Subject: ntop fials to build In-Reply-To: <4F718F63-A796-4433-8815-3FCC180FC189@mac.com> References: <6DD9195D-B6FF-4B8E-B62C-FC676BDE4A54@mac.com> <4F718F63-A796-4433-8815-3FCC180FC189@mac.com> Message-ID: Yay. ntop is compiled and happy. Thanks all. On Mar 20, 2008, at 2:13 PM, Shawn Protsman wrote: > Alex, > > Two steps: > > $ sudo port selfupdate > $ sudo port install ntop > > --Shawn > > On Mar 20, 2008, at 12:10 PM, Alex Zavatone wrote: > >> Could you detail how to do this? I'm not well schooled in the >> install/build process and have been holding off on getting ntop >> compiled because of all the problems mentioned. >> >> Thanks, >> - Alex >> On Mar 20, 2008, at 12:49 PM, Shawn Protsman wrote: >> >>> Excellent! I ran selfupdate and then installed the ntop port. Thanks >>> guys! >>> >>> --Shawn >>> >>> On Mar 19, 2008, at 11:04 PM, markd at macports.org wrote: >>> >>>> Someone just proposed a fix for the port here: >>>> http://trac.macosforge.org/projects/macports/ticket/13610 >>>> >>>> Can someone verify or comment on this fix? Ihaven't had time to >>>> look at >>>> it. From florian.ebeling at gmail.com Thu Mar 20 12:49:46 2008 From: florian.ebeling at gmail.com (Florian Ebeling) Date: Thu, 20 Mar 2008 20:49:46 +0100 Subject: ruby 1.9? Message-ID: <5cbbe4ae0803201249h3f7373c3le894434fb4455f02@mail.gmail.com> Is there a way to install ruby 1.9 through MacPorts? I think it becomes quite reasonable to have a closer look at this for many people. I would add a simple portfile myself, but I'm a bit scared of the amount fo patches that come with the 1.8 ruby -- what is the nature of them and are they essential for regular usage? Florian -- Florian Ebeling florian.ebeling at gmail.com From vivacarlie at gmail.com Thu Mar 20 13:03:52 2008 From: vivacarlie at gmail.com (Nehemiah Dacres) Date: Thu, 20 Mar 2008 15:03:52 -0500 Subject: deactivated port issue Message-ID: <65fadfc30803201303p6be6472enb3f3974db657e97b@mail.gmail.com> when i install git core after uninstalling git-core , git-core +no_svn I recieve this error message ---> Activating git-core 1.5.3.7_0+doc Error: Target org.macports.activate returned: Image error: /opt/local/lib/perl5/5.8.8/darwin-2level/perllocal.pod already exists and does not belong to a registered port. Unable to activate port git-core. Error: Status 1 encountered during processing. -- "lalalalala! it's not broken because I can use it" http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/ebafec32/attachment.html From ryandesign at macports.org Thu Mar 20 15:09:20 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 20 Mar 2008 17:09:20 -0500 Subject: deactivated port issue In-Reply-To: <65fadfc30803201303p6be6472enb3f3974db657e97b@mail.gmail.com> References: <65fadfc30803201303p6be6472enb3f3974db657e97b@mail.gmail.com> Message-ID: On Mar 20, 2008, at 15:03, Nehemiah Dacres wrote: > when i install git core after uninstalling git-core , git-core > +no_svn I recieve this error message > > ---> Activating git-core 1.5.3.7_0+doc > Error: Target org.macports.activate returned: Image error: /opt/ > local/lib/perl5/5.8.8/darwin-2level/perllocal.pod already exists > and does not belong to a registered port. Unable to activate port > git-core. > Error: Status 1 encountered during processing. This problem was fixed in r34462 on 2008-02-25. That means your port definitions are out of date. "sudo port selfupdate" to get the latest MacPorts and port definitions. Then "sudo port uninstall git-core @1.5.3.7_0+doc" and "sudo port install git-core", which will this time get you the current version which is 1.5.4.4. From ryandesign at macports.org Thu Mar 20 15:17:39 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 20 Mar 2008 17:17:39 -0500 Subject: how to delete deactivated ports In-Reply-To: <18402.21327.614816.458429@montanaro-dyndns-org.local> References: <583CC5C6-51DE-4197-B39B-2DEC30AD11F8@macports.org> <18402.21327.614816.458429@montanaro-dyndns-org.local> Message-ID: <1AAC64B0-C174-46E2-B3B7-25C6E43963E0@macports.org> On Mar 20, 2008, at 07:06, skip at pobox.com wrote: > Charlse> I have a shell script that I run when I go to bed called > Charlse> good-night and part of it that pertains to Macports > goes like > Charlse> this: > > ... > > Charlse> Your thoughts please. > > My only thought would be to wrap the lines suitably: > > #!/opt/local/bin/bash > > cd "~/base/" \ > && /opt/local/bin/svn update \ > && PATH=/bin:/sbin:/usr/bin:/usr/sbin ./configure --enable- > readline \ > && /usr/bin/make \ > && /opt/local/bin/sudo /usr/bin/make install \ > && /usr/bin/make clean \ > && /opt/local/bin/port -v selfupdate \ > && /opt/local/bin/port -fvdRnu upgrade outdated \ > && /opt/local/bin/port -fvdR clean --all installed \ > && /opt/local/bin/port -fvdR uninstall inactive \ > && /opt/local/bin/port -fvdR clean --all uninstalled > > Now that I can read what you wrote ;-) I wish you wouldn't indiscriminately use the -f (force) flag all the time. If it were intended to be used all the time it would have been made the default. In particular it should only be needed for "port -f uninstall inactive". It should not be needed for clean, and the only times it would be needed for upgrade are in unusual situations, which you would probably want to handle by hand individually rather than automate. From ryandesign at macports.org Thu Mar 20 15:30:45 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 20 Mar 2008 17:30:45 -0500 Subject: deactivated port issue In-Reply-To: <65fadfc30803201521h6c01ee0dk416cd6d288071349@mail.gmail.com> References: <65fadfc30803201303p6be6472enb3f3974db657e97b@mail.gmail.com> <65fadfc30803201513q5be72c5fp53713ac970b729a1@mail.gmail.com> <65fadfc30803201521h6c01ee0dk416cd6d288071349@mail.gmail.com> Message-ID: On Mar 20, 2008, at 17:21, Nehemiah Dacres wrote: > On Thu, Mar 20, 2008 at 5:13 PM, Nehemiah Dacres wrote: > >> On Thu, Mar 20, 2008 at 5:09 PM, Ryan Schmidt wrote: >> >>> On Mar 20, 2008, at 15:03, Nehemiah Dacres wrote: >>> >>> > when i install git core after uninstalling git-core , git-core >>> > +no_svn I recieve this error message >>> > >>> > ---> Activating git-core 1.5.3.7_0+doc >>> > Error: Target org.macports.activate returned: Image error: /opt/ >>> > local/lib/perl5/5.8.8/darwin-2level/perllocal.pod already exists >>> > and does not belong to a registered port. Unable to activate port >>> > git-core. >>> > Error: Status 1 encountered during processing. >>> >>> This problem was fixed in r34462 on 2008-02-25. That means your port >>> definitions are out of date. "sudo port selfupdate" to get the >>> latest >>> MacPorts and port definitions. Then "sudo port uninstall git-core >>> @1.5.3.7_0+doc" and "sudo port install git-core", which will this >>> time get you the current version which is 1.5.4.4. >> >> thanks, sorry it didn't occur to me to do that but im use to the >> debian modle which requires network access to check the repo >> everytime you install (so this one is superior) > > spoke too soon .. > MacPorts base version 1.600 installed > > Downloaded MacPorts base version 1.600 > > The MacPorts installation is not outdated and so was not updated > selfupdate done! That is correct. MacPorts base was not outdated, therefore MacPorts base was not updated. However, your port definitions were outdated, and they were updated, even if it didn't say so. Now try installing git-core again. From ryandesign at macports.org Thu Mar 20 15:44:26 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 20 Mar 2008 17:44:26 -0500 Subject: deactivated port issue In-Reply-To: <65fadfc30803201540r5601b367p5c1b835d1eb92c55@mail.gmail.com> References: <65fadfc30803201303p6be6472enb3f3974db657e97b@mail.gmail.com> <65fadfc30803201513q5be72c5fp53713ac970b729a1@mail.gmail.com> <65fadfc30803201521h6c01ee0dk416cd6d288071349@mail.gmail.com> <65fadfc30803201540r5601b367p5c1b835d1eb92c55@mail.gmail.com> Message-ID: <087AEF15-0F3B-494D-98A1-8284D28EE387@macports.org> On Mar 20, 2008, at 17:40, Nehemiah Dacres wrote: > On Thu, Mar 20, 2008 at 5:30 PM, Ryan Schmidt wrote: > >> On Mar 20, 2008, at 17:21, Nehemiah Dacres wrote: >> >> > On Thu, Mar 20, 2008 at 5:13 PM, Nehemiah Dacres wrote: >> > >> >> On Thu, Mar 20, 2008 at 5:09 PM, Ryan Schmidt wrote: >> >> >> >>> On Mar 20, 2008, at 15:03, Nehemiah Dacres wrote: >> >>> >> >>> > when i install git core after uninstalling git-core , git-core >> >>> > +no_svn I recieve this error message >> >>> > >> >>> > ---> Activating git-core 1.5.3.7_0+doc >> >>> > Error: Target org.macports.activate returned: Image error: / >> opt/ >> >>> > local/lib/perl5/5.8.8/darwin-2level/perllocal.pod already >> exists >> >>> > and does not belong to a registered port. Unable to >> activate port >> >>> > git-core. >> >>> > Error: Status 1 encountered during processing. >> >>> >> >>> This problem was fixed in r34462 on 2008-02-25. That means >> your port >> >>> definitions are out of date. "sudo port selfupdate" to get the >> >>> latest >> >>> MacPorts and port definitions. Then "sudo port uninstall git-core >> >>> @1.5.3.7_0+doc" and "sudo port install git-core", which will this >> >>> time get you the current version which is 1.5.4.4. >> >> >> >> thanks, sorry it didn't occur to me to do that but im use to the >> >> debian modle which requires network access to check the repo >> >> everytime you install (so this one is superior) >> > >> > spoke too soon .. >> > MacPorts base version 1.600 installed >> > >> > Downloaded MacPorts base version 1.600 >> > >> > The MacPorts installation is not outdated and so was not updated >> > selfupdate done! >> >> That is correct. MacPorts base was not outdated, therefore MacPorts >> base was not updated. However, your port definitions were outdated, >> and they were updated, even if it didn't say so. Now try installing >> git-core again. > > naturlaly i already tried, I should note that I am on a Tiger based > system. should I use port clean? (how ever one might use that) Sure, you could try port clean. "sudo port clean --work git-core". Then try installing again. Manually cleaning shouldn't be necessary though if the portfile was updated, since MacPorts will see that the portfile differs and will clean automatically. Does it try to install 1.5.4.4 now or still 1.5.3.7? If it still doesn't work, what is the error message? P.S: Please use Reply All when replying so everybody gets your reply, not just me. It also helps the flow of conversation if you bottom- post instead of top-post. From dlb at davidlballenger.com Thu Mar 20 16:25:54 2008 From: dlb at davidlballenger.com (David L Ballenger) Date: Thu, 20 Mar 2008 16:25:54 -0700 Subject: ntop fials to build In-Reply-To: References: <6DD9195D-B6FF-4B8E-B62C-FC676BDE4A54@mac.com> <4F718F63-A796-4433-8815-3FCC180FC189@mac.com> Message-ID: <2AE1B6BE-99CF-4DA6-89F3-F9AC17D85D6D@davidlballenger.com> Does ntop run cleanly for you? I did: $ sudo port selfupdate $ sudo port install ntop Ntop seemed to install cleanly, but when I try to run it, it can't find it's plugins: Thu Mar 20 16:19:16 2008 Loading Plugins Thu Mar 20 16:19:16 2008 Searching for plugins in /opt/local/lib/ntop/ plugins Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/icmpPlugin.so' entry function [symbol not found] Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/lastSeenPlugin.so' entry function [symbol not found] Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/netflowPlugin.so' entry function [symbol not found] Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/pdaPlugin.so' entry function [symbol not found] Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/remotePlugin.so' entry function [symbol not found] Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/rrdPlugin.so' entry function [symbol not found] Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/sflowPlugin.so' entry function [symbol not found] After the errors ntop keeps running but I suspect with reduced functionality. But when I try to connect to its webserver, ntop crashes with the following errors: dyld: lazy symbol binding failed: Symbol not found: ___sprintf_chk $LDBLStub Referenced from: /opt/local/lib/libntopreport-3.3.dylib Expected in: dynamic lookup dyld: Symbol not found: ___sprintf_chk$LDBLStub Referenced from: /opt/local/lib/libntopreport-3.3.dylib Expected in: dynamic lookup Trace/BPT trap Anyone else trying to us ntop have this problem? I'm running OSX 10.5.2 on a PowerPC G5. Thanks - David On Mar 20, 2008, at 12:35 PM, Alex Zavatone wrote: > Yay. > > ntop is compiled and happy. > > Thanks all. > > On Mar 20, 2008, at 2:13 PM, Shawn Protsman wrote: > >> Alex, >> >> Two steps: >> >> $ sudo port selfupdate >> $ sudo port install ntop >> >> --Shawn >> >> On Mar 20, 2008, at 12:10 PM, Alex Zavatone wrote: >> >>> Could you detail how to do this? I'm not well schooled in the >>> install/build process and have been holding off on getting ntop >>> compiled because of all the problems mentioned. >>> >>> Thanks, >>> - Alex >>> On Mar 20, 2008, at 12:49 PM, Shawn Protsman wrote: >>> >>>> Excellent! I ran selfupdate and then installed the ntop port. >>>> Thanks >>>> guys! >>>> >>>> --Shawn >>>> >>>> On Mar 19, 2008, at 11:04 PM, markd at macports.org wrote: >>>> >>>>> Someone just proposed a fix for the port here: >>>>> http://trac.macosforge.org/projects/macports/ticket/13610 >>>>> >>>>> Can someone verify or comment on this fix? Ihaven't had time to >>>>> look at >>>>> it. > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From mwilden at twistage.com Thu Mar 20 16:27:43 2008 From: mwilden at twistage.com (Mark Wilden) Date: Thu, 20 Mar 2008 16:27:43 -0700 Subject: deactivated port issue In-Reply-To: <087AEF15-0F3B-494D-98A1-8284D28EE387@macports.org> References: <65fadfc30803201303p6be6472enb3f3974db657e97b@mail.gmail.com> <65fadfc30803201513q5be72c5fp53713ac970b729a1@mail.gmail.com> <65fadfc30803201521h6c01ee0dk416cd6d288071349@mail.gmail.com> <65fadfc30803201540r5601b367p5c1b835d1eb92c55@mail.gmail.com> <087AEF15-0F3B-494D-98A1-8284D28EE387@macports.org> Message-ID: <05E4A6C0-22F6-462B-9660-7F7869D43BDB@twistage.com> On Mar 20, 2008, at 3:44 PM, Ryan Schmidt wrote: > On Mar 20, 2008, at 17:40, Nehemiah Dacres wrote: > >> On Thu, Mar 20, 2008 at 5:30 PM, Ryan Schmidt wrote: >> >>> On Mar 20, 2008, at 17:21, Nehemiah Dacres wrote: >>> >>>> On Thu, Mar 20, 2008 at 5:13 PM, Nehemiah Dacres wrote: >>>> >>>>> On Thu, Mar 20, 2008 at 5:09 PM, Ryan Schmidt wrote: >>>>> >>>>>> On Mar 20, 2008, at 15:03, Nehemiah Dacres wrote: >>>>>> >>>>>>> when i install git core after uninstalling git-core , git-core >>>>>>> +no_svn I recieve this error message >>>>>>> >>>>>>> ---> Activating git-core 1.5.3.7_0+doc >>>>>>> Error: Target org.macports.activate returned: Image error: / >>> opt/ >>>>>>> local/lib/perl5/5.8.8/darwin-2level/perllocal.pod already >>> exists >>>>>>> and does not belong to a registered port. Unable to >>> activate port >>>>>>> git-core. >>>>>>> Error: Status 1 encountered during processing. >>>>>> >>>>>> This problem was fixed in r34462 on 2008-02-25. That means >>> your port >>>>>> definitions are out of date. "sudo port selfupdate" to get the >>>>>> latest >>>>>> MacPorts and port definitions. Then "sudo port uninstall git-core >>>>>> @1.5.3.7_0+doc" and "sudo port install git-core", which will this >>>>>> time get you the current version which is 1.5.4.4. >>>>> >>>>> thanks, sorry it didn't occur to me to do that but im use to the >>>>> debian modle which requires network access to check the repo >>>>> everytime you install (so this one is superior) >>>> >>>> spoke too soon .. >>>> MacPorts base version 1.600 installed >>>> >>>> Downloaded MacPorts base version 1.600 >>>> >>>> The MacPorts installation is not outdated and so was not updated >>>> selfupdate done! >>> >>> That is correct. MacPorts base was not outdated, therefore MacPorts >>> base was not updated. However, your port definitions were outdated, >>> and they were updated, even if it didn't say so. Now try installing >>> git-core again. >> >> naturlaly i already tried, I should note that I am on a Tiger based >> system. should I use port clean? (how ever one might use that) > > Sure, you could try port clean. "sudo port clean --work git-core". > Then try installing again. Manually cleaning shouldn't be necessary > though if the portfile was updated, since MacPorts will see that the > portfile differs and will clean automatically. > > Does it try to install 1.5.4.4 now or still 1.5.3.7? > > If it still doesn't work, what is the error message? > > P.S: Please use Reply All when replying so everybody gets your reply, > not just me. It also helps the flow of conversation if you bottom- > post instead of top-post. Let it be said, however, that not everyone agrees. When I've read all the other messages already, I don't like having to scroll. ///ark From raimue at macports.org Thu Mar 20 16:33:20 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Fri, 21 Mar 2008 00:33:20 +0100 Subject: deactivated port issue In-Reply-To: <05E4A6C0-22F6-462B-9660-7F7869D43BDB@twistage.com> References: <65fadfc30803201303p6be6472enb3f3974db657e97b@mail.gmail.com> <65fadfc30803201513q5be72c5fp53713ac970b729a1@mail.gmail.com> <65fadfc30803201521h6c01ee0dk416cd6d288071349@mail.gmail.com> <65fadfc30803201540r5601b367p5c1b835d1eb92c55@mail.gmail.com> <087AEF15-0F3B-494D-98A1-8284D28EE387@macports.org> <05E4A6C0-22F6-462B-9660-7F7869D43BDB@twistage.com> Message-ID: <47E2F440.9090502@macports.org> Mark Wilden wrote: > Let it be said, however, that not everyone agrees. When I've read all > the other messages already, I don't like having to scroll. So only quote the relevant part you are referring to - as I do here. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Very helpful: http://en.wikipedia.org/wiki/Posting_style Rainer From protsman at mac.com Thu Mar 20 16:43:03 2008 From: protsman at mac.com (Shawn Protsman) Date: Thu, 20 Mar 2008 16:43:03 -0700 Subject: ntop fials to build In-Reply-To: <2AE1B6BE-99CF-4DA6-89F3-F9AC17D85D6D@davidlballenger.com> References: <6DD9195D-B6FF-4B8E-B62C-FC676BDE4A54@mac.com> <4F718F63-A796-4433-8815-3FCC180FC189@mac.com> <2AE1B6BE-99CF-4DA6-89F3-F9AC17D85D6D@davidlballenger.com> Message-ID: <430870F4-423A-4788-BF55-D7A35100F129@mac.com> Perhaps I spoke too soon? naiad:~ $ ntop -P /opt/local/var/ntop Thu Mar 20 16:38:48 2008 NOTE: Interface merge enabled by default Thu Mar 20 16:38:48 2008 Initializing gdbm databases Thu Mar 20 16:38:48 2008 **ERROR** ....open of /opt/local/var/ntop/ prefsCache.db failed: File open error Thu Mar 20 16:38:48 2008 Possible solution: please use '-P ' Thu Mar 20 16:38:48 2008 **FATAL_ERROR** GDBM open failed, ntop shutting down... Thu Mar 20 16:38:48 2008 CLEANUP[t2693840800]: ntop caught signal 2 Thu Mar 20 16:38:48 2008 THREADMGMT[t2693840800]: ntop RUNSTATE: SHUTDOWN(7) Thu Mar 20 16:38:48 2008 CLEANUP[t2693840800] catching thread is unknown Thu Mar 20 16:38:48 2008 CLEANUP: Running threads Thu Mar 20 16:38:48 2008 CLEANUP: Locking purge mutex (may block for a little while) Thu Mar 20 16:38:48 2008 CLEANUP: Locked purge mutex, continuing shutdown Thu Mar 20 16:38:48 2008 CLEANUP: Continues Thu Mar 20 16:38:48 2008 PLUGIN_TERM: Unloading plugins (if any) Thu Mar 20 16:38:48 2008 CLEANUP: Clean up complete Thu Mar 20 16:38:48 2008 THREADMGMT[t2693840800]: ntop RUNSTATE: TERM(8) Thu Mar 20 16:38:48 2008 =================================== Thu Mar 20 16:38:48 2008 ntop is shutdown... Thu Mar 20 16:38:48 2008 =================================== naiad:/opt/local/var/ntop $ port installed gdbm The following ports are currently installed: gdbm @1.8.3_1 (active) naiad:/opt/local/var/ntop $ ll /opt/local/var/ntop total 0 -rw-r--r-- 2 nobody admin 0B Mar 20 10:44 addressQueue.db -rw-r--r-- 2 nobody admin 0B Mar 20 10:44 dnsCache.db -rw-r--r-- 2 nobody admin 0B Mar 20 10:44 macPrefix.db -rw-r--r-- 2 nobody admin 0B Mar 20 10:44 ntop_pw.db -rw-r--r-- 2 nobody admin 0B Mar 20 10:44 prefsCache.db drwxr-xr-x 3 nobody admin 102B Mar 20 10:44 rrd/ Hmm? --Shawn On Mar 20, 2008, at 4:25 PM, David L Ballenger wrote: > Does ntop run cleanly for you? > > I did: > > $ sudo port selfupdate > $ sudo port install ntop > > Ntop seemed to install cleanly, but when I try to run it, it can't > find it's plugins: > > Thu Mar 20 16:19:16 2008 Loading Plugins > Thu Mar 20 16:19:16 2008 Searching for plugins in /opt/local/lib/ > ntop/plugins > Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/icmpPlugin.so' entry function [symbol not > found] > Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/lastSeenPlugin.so' entry function [symbol not > found] > Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/netflowPlugin.so' entry function [symbol not > found] > Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/pdaPlugin.so' entry function [symbol not found] > Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/remotePlugin.so' entry function [symbol not > found] > Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/rrdPlugin.so' entry function [symbol not found] > Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/sflowPlugin.so' entry function [symbol not > found] > > After the errors ntop keeps running but I suspect with reduced > functionality. But when I try to connect to its webserver, ntop > crashes with the following errors: > > dyld: lazy symbol binding failed: Symbol not found: ___sprintf_chk > $LDBLStub > Referenced from: /opt/local/lib/libntopreport-3.3.dylib > Expected in: dynamic lookup > > dyld: Symbol not found: ___sprintf_chk$LDBLStub > Referenced from: /opt/local/lib/libntopreport-3.3.dylib > Expected in: dynamic lookup > > Trace/BPT trap > > Anyone else trying to us ntop have this problem? I'm running OSX > 10.5.2 on a PowerPC G5. > > Thanks - David > On Mar 20, 2008, at 12:35 PM, Alex Zavatone wrote: > >> Yay. >> >> ntop is compiled and happy. >> >> Thanks all. >> >> On Mar 20, 2008, at 2:13 PM, Shawn Protsman wrote: >> >>> Alex, >>> >>> Two steps: >>> >>> $ sudo port selfupdate >>> $ sudo port install ntop >>> >>> --Shawn >>> >>> On Mar 20, 2008, at 12:10 PM, Alex Zavatone wrote: >>> >>>> Could you detail how to do this? I'm not well schooled in the >>>> install/build process and have been holding off on getting ntop >>>> compiled because of all the problems mentioned. >>>> >>>> Thanks, >>>> - Alex >>>> On Mar 20, 2008, at 12:49 PM, Shawn Protsman wrote: >>>> >>>>> Excellent! I ran selfupdate and then installed the ntop port. >>>>> Thanks >>>>> guys! >>>>> >>>>> --Shawn >>>>> >>>>> On Mar 19, 2008, at 11:04 PM, markd at macports.org wrote: >>>>> >>>>>> Someone just proposed a fix for the port here: >>>>>> http://trac.macosforge.org/projects/macports/ticket/13610 >>>>>> >>>>>> Can someone verify or comment on this fix? Ihaven't had time to >>>>>> look at >>>>>> it. >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> > From protsman at mac.com Thu Mar 20 16:51:24 2008 From: protsman at mac.com (Shawn Protsman) Date: Thu, 20 Mar 2008 16:51:24 -0700 Subject: ntop fials to build In-Reply-To: <430870F4-423A-4788-BF55-D7A35100F129@mac.com> References: <6DD9195D-B6FF-4B8E-B62C-FC676BDE4A54@mac.com> <4F718F63-A796-4433-8815-3FCC180FC189@mac.com> <2AE1B6BE-99CF-4DA6-89F3-F9AC17D85D6D@davidlballenger.com> <430870F4-423A-4788-BF55-D7A35100F129@mac.com> Message-ID: Please disregard my last email. I jumped the gun and didn't start ntop correctly. Here it is starting and working. The web interface works fine too. David, yes, I am also getting the WARNINGS about the plugins. naiad:~ $ sudo ntop -i en1 Thu Mar 20 16:48:27 2008 NOTE: Interface merge enabled by default Thu Mar 20 16:48:27 2008 Initializing gdbm databases Thu Mar 20 16:48:27 2008 ntop will be started as user nobody Thu Mar 20 16:48:27 2008 ntop v.3.3 Thu Mar 20 16:48:27 2008 Configured on Mar 20 2008 10:43:02, built on Mar 20 2008 10:43:41. Thu Mar 20 16:48:27 2008 Copyright 1998-2007 by Luca Deri Thu Mar 20 16:48:27 2008 Get the freshest ntop from http://www.ntop.org/ Thu Mar 20 16:48:27 2008 NOTE: ntop is running from '/opt/local/bin' Thu Mar 20 16:48:27 2008 NOTE: (but see warning on man page for the -- instance parameter) Thu Mar 20 16:48:27 2008 NOTE: ntop libraries are in '/opt/local/lib' Thu Mar 20 16:48:27 2008 Initializing ntop Thu Mar 20 16:48:27 2008 Checking en1 for additional devices Thu Mar 20 16:48:27 2008 Resetting traffic statistics for device en1 Thu Mar 20 16:48:27 2008 Initializing device en1 (0) Thu Mar 20 16:48:27 2008 DLT: Device 0 [en1] is 1, mtu 1514, header 14 Thu Mar 20 16:48:27 2008 Initializing gdbm databases Thu Mar 20 16:48:27 2008 VENDOR: Loading MAC address table. Thu Mar 20 16:48:27 2008 VENDOR: Checking for MAC address table file Thu Mar 20 16:48:27 2008 VENDOR: File '/opt/local/etc/ntop/ specialMAC.txt.gz' does not need to be reloaded Thu Mar 20 16:48:27 2008 VENDOR: ntop continues ok Thu Mar 20 16:48:27 2008 VENDOR: Checking for MAC address table file Thu Mar 20 16:48:27 2008 VENDOR: File '/opt/local/etc/ntop/ oui.txt.gz' does not need to be reloaded Thu Mar 20 16:48:27 2008 VENDOR: ntop continues ok Thu Mar 20 16:48:27 2008 Fingerprint: Loading signature file Thu Mar 20 16:48:27 2008 Fingerprint: Checking for Fingerprint file... file Thu Mar 20 16:48:27 2008 Fingerprint: Loading file '/opt/local/etc/ ntop/etter.finger.os.gz' Thu Mar 20 16:48:27 2008 Fingerprint: ...loaded 1765 records Thu Mar 20 16:48:27 2008 ASN: Checking for Autonomous System Number table file Thu Mar 20 16:48:27 2008 ASN: Loading file '/opt/local/etc/ntop/AS- list.txt.gz' Thu Mar 20 16:48:27 2008 ASN: ...found 111435 lines Thu Mar 20 16:48:27 2008 ASN: ....Used 3780 KB of memory (12 per entry) Thu Mar 20 16:48:27 2008 I18N: This instance of ntop does not support multiple languages Thu Mar 20 16:48:27 2008 IP2CC: Checking for IP address <-> Country Code mapping file Thu Mar 20 16:48:27 2008 IP2CC: Loading file '/opt/local/etc/ntop/ p2c.opt.table.gz' Thu Mar 20 16:48:28 2008 IP2CC: ...found 52395 lines Thu Mar 20 16:48:28 2008 Database support not compiled into ntop Thu Mar 20 16:48:28 2008 Initializing external applications Thu Mar 20 16:48:28 2008 THREADMGMT[t2953318400]: NPA: Started thread for network packet analyzer (en1) Thu Mar 20 16:48:28 2008 THREADMGMT[t2953850880]: SFP: Started thread for fingerprinting Thu Mar 20 16:48:28 2008 THREADMGMT[t2954383360]: SIH: Started thread for idle hosts detection Thu Mar 20 16:48:28 2008 THREADMGMT[t2954915840]: DNSAR(1): Started thread for DNS address resolution Thu Mar 20 16:48:28 2008 THREADMGMT[t2955448320]: DNSAR(2): Started thread for DNS address resolution Thu Mar 20 16:48:28 2008 THREADMGMT[t2955980800]: DNSAR(3): Started thread for DNS address resolution Thu Mar 20 16:48:28 2008 Calling plugin start functions (if any) Thu Mar 20 16:48:28 2008 THREADMGMT[t2953318400]: NPA: network packet analyzer (packet processor) thread running [p39612] Thu Mar 20 16:48:28 2008 THREADMGMT[t2954383360]: SIH: Idle host scan thread starting [p39612] Thu Mar 20 16:48:28 2008 THREADMGMT[t2954915840]: DNSAR(1): Address resolution thread running Thu Mar 20 16:48:28 2008 THREADMGMT[t2953850880]: SFP: Fingerprint scan thread starting [p39612] Thu Mar 20 16:48:28 2008 THREADMGMT[t2955980800]: DNSAR(3): Address resolution thread running Thu Mar 20 16:48:28 2008 THREADMGMT[t2955448320]: DNSAR(2): Address resolution thread running Thu Mar 20 16:48:28 2008 SSL is present but https is disabled: use -W for enabling it Thu Mar 20 16:48:28 2008 INITWEB: Initializing web server ntop startup - waiting for user response! Please enter the password for the admin user: Please enter the password again: Thu Mar 20 16:48:35 2008 Admin user password has been set Thu Mar 20 16:48:35 2008 INITWEB: Initializing TCP/IP socket connections for web server Thu Mar 20 16:48:35 2008 INITWEB: Initialized socket, port 3000, address (any) Thu Mar 20 16:48:35 2008 INITWEB: Waiting for HTTP connections on port 3000 Thu Mar 20 16:48:35 2008 INITWEB: Starting web server Thu Mar 20 16:48:35 2008 THREADMGMT[t2956513280]: INITWEB: Started thread for web server Thu Mar 20 16:48:35 2008 Listening on [en1] Thu Mar 20 16:48:35 2008 Loading Plugins Thu Mar 20 16:48:35 2008 Searching for plugins in /opt/local/lib/ntop/ plugins Thu Mar 20 16:48:35 2008 THREADMGMT[t2956513280]: WEB: Server connection thread starting [p39612] Thu Mar 20 16:48:35 2008 Note: SIGPIPE handler set (ignore) Thu Mar 20 16:48:35 2008 THREADMGMT[t2956513280]: WEB: Server connection thread running [p39612] Thu Mar 20 16:48:35 2008 WEB: ntop's web server is now processing requests Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/icmpPlugin.so' entry function [symbol not found] Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/lastSeenPlugin.so' entry function [symbol not found] Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/netflowPlugin.so' entry function [symbol not found] Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/pdaPlugin.so' entry function [symbol not found] Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/remotePlugin.so' entry function [symbol not found] Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/rrdPlugin.so' entry function [symbol not found] Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ local/lib/ntop/plugins/sflowPlugin.so' entry function [symbol not found] Thu Mar 20 16:48:35 2008 Calling plugin start functions (if any) Thu Mar 20 16:48:35 2008 INIT: Created pid file (/var/run/ntop.pid) Thu Mar 20 16:48:35 2008 THREADMGMT[t2693840800]: ntop RUNSTATE: INITNONROOT(3) Thu Mar 20 16:48:35 2008 Now running as requested user 'nobody' (-2:-2) Thu Mar 20 16:48:35 2008 Note: Reporting device initally set to 0 [en1] (merged) Thu Mar 20 16:48:35 2008 THREADMGMT[t2693840800]: ntop RUNSTATE: RUN(4) Thu Mar 20 16:48:35 2008 THREADMGMT[t2957045760]: NPS(1): Started thread for network packet sniffing [en1] Thu Mar 20 16:48:35 2008 THREADMGMT[t2953850880]: SFP: Fingerprint scan thread running [p39612] Thu Mar 20 16:48:35 2008 THREADMGMT[t2954383360]: SIH: Idle host scan thread running [p39612] Thu Mar 20 16:48:35 2008 THREADMGMT[t2957045760]: NPS(en1): pcapDispatch thread starting [p39612] Thu Mar 20 16:48:35 2008 THREADMGMT[t2957045760]: NPS(en1): pcapDispatch thread running [p39612] Thu Mar 20 16:48:39 2008 NOTE: -L | --use-syslog=facility not specified, child processes will log to the default (24). On Mar 20, 2008, at 4:43 PM, Shawn Protsman wrote: > Perhaps I spoke too soon? > > naiad:~ $ ntop -P /opt/local/var/ntop > Thu Mar 20 16:38:48 2008 NOTE: Interface merge enabled by default > Thu Mar 20 16:38:48 2008 Initializing gdbm databases > Thu Mar 20 16:38:48 2008 **ERROR** ....open of /opt/local/var/ntop/ > prefsCache.db failed: File open error > Thu Mar 20 16:38:48 2008 Possible solution: please use '-P > ' > Thu Mar 20 16:38:48 2008 **FATAL_ERROR** GDBM open failed, ntop > shutting down... > Thu Mar 20 16:38:48 2008 CLEANUP[t2693840800]: ntop caught signal 2 > Thu Mar 20 16:38:48 2008 THREADMGMT[t2693840800]: ntop RUNSTATE: > SHUTDOWN(7) > Thu Mar 20 16:38:48 2008 CLEANUP[t2693840800] catching thread is > unknown > Thu Mar 20 16:38:48 2008 CLEANUP: Running threads > Thu Mar 20 16:38:48 2008 CLEANUP: Locking purge mutex (may block for > a little while) > Thu Mar 20 16:38:48 2008 CLEANUP: Locked purge mutex, continuing > shutdown > Thu Mar 20 16:38:48 2008 CLEANUP: Continues > Thu Mar 20 16:38:48 2008 PLUGIN_TERM: Unloading plugins (if any) > Thu Mar 20 16:38:48 2008 CLEANUP: Clean up complete > Thu Mar 20 16:38:48 2008 THREADMGMT[t2693840800]: ntop RUNSTATE: > TERM(8) > Thu Mar 20 16:38:48 2008 =================================== > Thu Mar 20 16:38:48 2008 ntop is shutdown... > Thu Mar 20 16:38:48 2008 =================================== > > naiad:/opt/local/var/ntop $ port installed gdbm > The following ports are currently installed: gdbm @1.8.3_1 (active) > > naiad:/opt/local/var/ntop $ ll /opt/local/var/ntop > total 0 > -rw-r--r-- 2 nobody admin 0B Mar 20 10:44 addressQueue.db > -rw-r--r-- 2 nobody admin 0B Mar 20 10:44 dnsCache.db > -rw-r--r-- 2 nobody admin 0B Mar 20 10:44 macPrefix.db > -rw-r--r-- 2 nobody admin 0B Mar 20 10:44 ntop_pw.db > -rw-r--r-- 2 nobody admin 0B Mar 20 10:44 prefsCache.db > drwxr-xr-x 3 nobody admin 102B Mar 20 10:44 rrd/ > > Hmm? > > --Shawn > > On Mar 20, 2008, at 4:25 PM, David L Ballenger wrote: > >> Does ntop run cleanly for you? >> >> I did: >> >> $ sudo port selfupdate >> $ sudo port install ntop >> >> Ntop seemed to install cleanly, but when I try to run it, it can't >> find it's plugins: >> >> Thu Mar 20 16:19:16 2008 Loading Plugins >> Thu Mar 20 16:19:16 2008 Searching for plugins in /opt/local/lib/ >> ntop/plugins >> Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ >> local/lib/ntop/plugins/icmpPlugin.so' entry function [symbol not >> found] >> Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ >> local/lib/ntop/plugins/lastSeenPlugin.so' entry function [symbol not >> found] >> Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ >> local/lib/ntop/plugins/netflowPlugin.so' entry function [symbol not >> found] >> Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ >> local/lib/ntop/plugins/pdaPlugin.so' entry function [symbol not >> found] >> Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ >> local/lib/ntop/plugins/remotePlugin.so' entry function [symbol not >> found] >> Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ >> local/lib/ntop/plugins/rrdPlugin.so' entry function [symbol not >> found] >> Thu Mar 20 16:19:16 2008 **WARNING** Unable to locate plugin '/opt/ >> local/lib/ntop/plugins/sflowPlugin.so' entry function [symbol not >> found] >> >> After the errors ntop keeps running but I suspect with reduced >> functionality. But when I try to connect to its webserver, ntop >> crashes with the following errors: >> >> dyld: lazy symbol binding failed: Symbol not found: ___sprintf_chk >> $LDBLStub >> Referenced from: /opt/local/lib/libntopreport-3.3.dylib >> Expected in: dynamic lookup >> >> dyld: Symbol not found: ___sprintf_chk$LDBLStub >> Referenced from: /opt/local/lib/libntopreport-3.3.dylib >> Expected in: dynamic lookup >> >> Trace/BPT trap >> >> Anyone else trying to us ntop have this problem? I'm running OSX >> 10.5.2 on a PowerPC G5. >> >> Thanks - David >> On Mar 20, 2008, at 12:35 PM, Alex Zavatone wrote: >> >>> Yay. >>> >>> ntop is compiled and happy. >>> >>> Thanks all. >>> >>> On Mar 20, 2008, at 2:13 PM, Shawn Protsman wrote: >>> >>>> Alex, >>>> >>>> Two steps: >>>> >>>> $ sudo port selfupdate >>>> $ sudo port install ntop >>>> >>>> --Shawn >>>> >>>> On Mar 20, 2008, at 12:10 PM, Alex Zavatone wrote: >>>> >>>>> Could you detail how to do this? I'm not well schooled in the >>>>> install/build process and have been holding off on getting ntop >>>>> compiled because of all the problems mentioned. >>>>> >>>>> Thanks, >>>>> - Alex >>>>> On Mar 20, 2008, at 12:49 PM, Shawn Protsman wrote: >>>>> >>>>>> Excellent! I ran selfupdate and then installed the ntop port. >>>>>> Thanks >>>>>> guys! >>>>>> >>>>>> --Shawn >>>>>> >>>>>> On Mar 19, 2008, at 11:04 PM, markd at macports.org wrote: >>>>>> >>>>>>> Someone just proposed a fix for the port here: >>>>>>> http://trac.macosforge.org/projects/macports/ticket/13610 >>>>>>> >>>>>>> Can someone verify or comment on this fix? Ihaven't had time to >>>>>>> look at >>>>>>> it. >>> >>> _______________________________________________ >>> macports-users mailing list >>> macports-users at lists.macosforge.org >>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >>> >> > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From paulbeard at gmail.com Thu Mar 20 16:54:33 2008 From: paulbeard at gmail.com (paul beard) Date: Thu, 20 Mar 2008 16:54:33 -0700 Subject: how to delete deactivated ports In-Reply-To: <1AAC64B0-C174-46E2-B3B7-25C6E43963E0@macports.org> References: <583CC5C6-51DE-4197-B39B-2DEC30AD11F8@macports.org> <18402.21327.614816.458429@montanaro-dyndns-org.local> <1AAC64B0-C174-46E2-B3B7-25C6E43963E0@macports.org> Message-ID: On Thu, Mar 20, 2008 at 3:17 PM, Ryan Schmidt wrote: > > I wish you wouldn't indiscriminately use the -f (force) flag all the > time. If it were intended to be used all the time it would have been > made the default. In particular it should only be needed for "port -f > uninstall inactive". It should not be needed for clean, and the only > times it would be needed for upgrade are in unusual situations, which > you would probably want to handle by hand individually rather than > automate. > > I non-concur on this: I think -f should be the default on upgrades (if you don't mean it, don't ask for it). It's confusing, in case the regular flow of questions on this hasn't made clear. Ideally, you wouldn't need any flags: port upgrade foo would Just Work. I would put clean in a central config file as well: I suspect this isn't done on a port by port basis. Are there cases where you don't need -f on upgrades? I generally find I have to use it all the time if I am upgrading anything. -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/d23e2ed3/attachment.html From protsman at mac.com Thu Mar 20 16:55:14 2008 From: protsman at mac.com (Shawn Protsman) Date: Thu, 20 Mar 2008 16:55:14 -0700 Subject: ntop fials to build In-Reply-To: References: <6DD9195D-B6FF-4B8E-B62C-FC676BDE4A54@mac.com> <4F718F63-A796-4433-8815-3FCC180FC189@mac.com> <2AE1B6BE-99CF-4DA6-89F3-F9AC17D85D6D@davidlballenger.com> <430870F4-423A-4788-BF55-D7A35100F129@mac.com> Message-ID: <11EB9562-C4DE-408F-870E-EB4CE603D919@mac.com> The plugins do exist in that dir, though the warning still appears: naiad:/opt/local/lib/ntop/plugins $ ll total 768 -rwxr-xr-x 2 root admin 23K Mar 20 10:44 icmpPlugin.so* -rwxr-xr-x 2 root admin 18K Mar 20 10:44 lastSeenPlugin.so* -rwxr-xr-x 2 root admin 78K Mar 20 10:44 netflowPlugin.so* -rwxr-xr-x 2 root admin 18K Mar 20 10:44 pdaPlugin.so* -rwxr-xr-x 2 root admin 18K Mar 20 10:44 remotePlugin.so* -rwxr-xr-x 2 root admin 127K Mar 20 10:44 rrdPlugin.so* -rwxr-xr-x 2 root admin 91K Mar 20 10:44 sflowPlugin.so* On Mar 20, 2008, at 4:51 PM, Shawn Protsman wrote: > David, yes, I am also getting the WARNINGS about the plugins. > > Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin > '/opt/ > local/lib/ntop/plugins/icmpPlugin.so' entry function [symbol not > found] > Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/lastSeenPlugin.so' entry function [symbol not > found] > Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/netflowPlugin.so' entry function [symbol not > found] > Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/pdaPlugin.so' entry function [symbol not found] > Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/remotePlugin.so' entry function [symbol not > found] > Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/rrdPlugin.so' entry function [symbol not found] > Thu Mar 20 16:48:35 2008 **WARNING** Unable to locate plugin '/opt/ > local/lib/ntop/plugins/sflowPlugin.so' entry function [symbol not > found] From vivacarlie at gmail.com Thu Mar 20 17:24:43 2008 From: vivacarlie at gmail.com (Nehemiah Dacres) Date: Thu, 20 Mar 2008 19:24:43 -0500 Subject: macports-users Digest, Vol 19, Issue 47 In-Reply-To: References: Message-ID: <65fadfc30803201724m24addd5aqfd7df4970089104a@mail.gmail.com> On Thu, Mar 20, 2008 at 6:42 PM, < macports-users-request at lists.macosforge.org> wrote: > Send macports-users mailing list submissions to > macports-users at lists.macosforge.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > or, via email, send a message with subject or body 'help' to > macports-users-request at lists.macosforge.org > > You can reach the person managing the list at > macports-users-owner at lists.macosforge.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of macports-users digest..." > > > Today's Topics: > > 1. Re: how to delete deactivated ports (Ryan Schmidt) > 2. Re: deactivated port issue (Ryan Schmidt) > 3. Re: deactivated port issue (Ryan Schmidt) > 4. Re: ntop fials to build (David L Ballenger) > 5. Re: deactivated port issue (Mark Wilden) > 6. Re: deactivated port issue (Rainer M?ller) > 7. Re: ntop fials to build (Shawn Protsman) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 20 Mar 2008 17:17:39 -0500 > From: Ryan Schmidt > Subject: Re: how to delete deactivated ports > To: Charlse Darwin > Cc: liste gtk > Message-ID: <1AAC64B0-C174-46E2-B3B7-25C6E43963E0 at macports.org> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > On Mar 20, 2008, at 07:06, skip at pobox.com wrote: > > > Charlse> I have a shell script that I run when I go to bed called > > Charlse> good-night and part of it that pertains to Macports > > goes like > > Charlse> this: > > > > ... > > > > Charlse> Your thoughts please. > > > > My only thought would be to wrap the lines suitably: > > > > #!/opt/local/bin/bash > > > > cd "~/base/" \ > > && /opt/local/bin/svn update \ > > && PATH=/bin:/sbin:/usr/bin:/usr/sbin ./configure --enable- > > readline \ > > && /usr/bin/make \ > > && /opt/local/bin/sudo /usr/bin/make install \ > > && /usr/bin/make clean \ > > && /opt/local/bin/port -v selfupdate \ > > && /opt/local/bin/port -fvdRnu upgrade outdated \ > > && /opt/local/bin/port -fvdR clean --all installed \ > > && /opt/local/bin/port -fvdR uninstall inactive \ > > && /opt/local/bin/port -fvdR clean --all uninstalled > > > > Now that I can read what you wrote ;-) > > I wish you wouldn't indiscriminately use the -f (force) flag all the > time. If it were intended to be used all the time it would have been > made the default. In particular it should only be needed for "port -f > uninstall inactive". It should not be needed for clean, and the only > times it would be needed for upgrade are in unusual situations, which > you would probably want to handle by hand individually rather than > automate. > > > > > ------------------------------ > > Message: 2 > Date: Thu, 20 Mar 2008 17:30:45 -0500 > From: Ryan Schmidt > Subject: Re: deactivated port issue > To: Nehemiah Dacres > Cc: Users MacPorts > Message-ID: > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > On Mar 20, 2008, at 17:21, Nehemiah Dacres wrote: > > > On Thu, Mar 20, 2008 at 5:13 PM, Nehemiah Dacres wrote: > > > >> On Thu, Mar 20, 2008 at 5:09 PM, Ryan Schmidt wrote: > >> > >>> On Mar 20, 2008, at 15:03, Nehemiah Dacres wrote: > >>> > >>> > when i install git core after uninstalling git-core , git-core > >>> > +no_svn I recieve this error message > >>> > > >>> > ---> Activating git-core 1.5.3.7_0+doc > >>> > Error: Target org.macports.activate returned: Image error: /opt/ > >>> > local/lib/perl5/5.8.8/darwin-2level/perllocal.pod already exists > >>> > and does not belong to a registered port. Unable to activate port > >>> > git-core. > >>> > Error: Status 1 encountered during processing. > >>> > >>> This problem was fixed in r34462 on 2008-02-25. That means your port > >>> definitions are out of date. "sudo port selfupdate" to get the > >>> latest > >>> MacPorts and port definitions. Then "sudo port uninstall git-core > >>> @1.5.3.7_0+doc" and "sudo port install git-core", which will this > >>> time get you the current version which is 1.5.4.4. > >> > >> thanks, sorry it didn't occur to me to do that but im use to the > >> debian modle which requires network access to check the repo > >> everytime you install (so this one is superior) > > > > spoke too soon .. > > MacPorts base version 1.600 installed > > > > Downloaded MacPorts base version 1.600 > > > > The MacPorts installation is not outdated and so was not updated > > selfupdate done! > > That is correct. MacPorts base was not outdated, therefore MacPorts > base was not updated. However, your port definitions were outdated, > and they were updated, even if it didn't say so. Now try installing > git-core again. > > > > > ------------------------------ > > Message: 3 > Date: Thu, 20 Mar 2008 17:44:26 -0500 > From: Ryan Schmidt > Subject: Re: deactivated port issue > To: "Nehemiah Dacres" > Cc: Users MacPorts > Message-ID: <087AEF15-0F3B-494D-98A1-8284D28EE387 at macports.org> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > On Mar 20, 2008, at 17:40, Nehemiah Dacres wrote: > > > On Thu, Mar 20, 2008 at 5:30 PM, Ryan Schmidt wrote: > > > >> On Mar 20, 2008, at 17:21, Nehemiah Dacres wrote: > >> > >> > On Thu, Mar 20, 2008 at 5:13 PM, Nehemiah Dacres wrote: > >> > > >> >> On Thu, Mar 20, 2008 at 5:09 PM, Ryan Schmidt wrote: > >> >> > >> >>> On Mar 20, 2008, at 15:03, Nehemiah Dacres wrote: > >> >>> > >> >>> > when i install git core after uninstalling git-core , git-core > >> >>> > +no_svn I recieve this error message > >> >>> > > >> >>> > ---> Activating git-core 1.5.3.7_0+doc > >> >>> > Error: Target org.macports.activate returned: Image error: / > >> opt/ > >> >>> > local/lib/perl5/5.8.8/darwin-2level/perllocal.pod already > >> exists > >> >>> > and does not belong to a registered port. Unable to > >> activate port > >> >>> > git-core. > >> >>> > Error: Status 1 encountered during processing. > >> >>> > >> >>> This problem was fixed in r34462 on 2008-02-25. That means > >> your port > >> >>> definitions are out of date. "sudo port selfupdate" to get the > >> >>> latest > >> >>> MacPorts and port definitions. Then "sudo port uninstall git-core > >> >>> @1.5.3.7_0+doc" and "sudo port install git-core", which will this > >> >>> time get you the current version which is 1.5.4.4. > >> >> > >> >> thanks, sorry it didn't occur to me to do that but im use to the > >> >> debian modle which requires network access to check the repo > >> >> everytime you install (so this one is superior) > >> > > >> > spoke too soon .. > >> > MacPorts base version 1.600 installed > >> > > >> > Downloaded MacPorts base version 1.600 > >> > > >> > The MacPorts installation is not outdated and so was not updated > >> > selfupdate done! > >> > >> That is correct. MacPorts base was not outdated, therefore MacPorts > >> base was not updated. However, your port definitions were outdated, > >> and they were updated, even if it didn't say so. Now try installing > >> git-core again. > > > > naturlaly i already tried, I should note that I am on a Tiger based > > system. should I use port clean? (how ever one might use that) > > Sure, you could try port clean. "sudo port clean --work git-core". > Then try installing again. Manually cleaning shouldn't be necessary > though if the portfile was updated, since MacPorts will see that the > portfile differs and will clean automatically. > > Does it try to install 1.5.4.4 now or still 1.5.3.7? > > If it still doesn't work, what is the error message? > > P.S: Please use Reply All when replying so everybody gets your reply, > not just me. It also helps the flow of conversation if you bottom- > post instead of top-post. > will do any way, it tries to install git-core 1.5.4.4_0+doc the delay is because i am in the middle of installing bazaar and thought it would be done by the time u replied (little did i know it had to upgrade python to 2.5.2 ) -- "lalalalala! it's not broken because I can use it" http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/e30b67ea/attachment-0001.html From alejandro.aragon at gmail.com Thu Mar 20 17:45:14 2008 From: alejandro.aragon at gmail.com (=?ISO-8859-1?Q?Alejandro_Arag=F3n?=) Date: Thu, 20 Mar 2008 19:45:14 -0500 Subject: GCC compilation time Message-ID: Hello everyone, I just wanted to know how much time it takes to GCC43 to compile. I've been doing this for more than an hour, and it seems that it's never going to end. I'm on a MacBook Pro, Santa Rosa generation. Thank you all, aa -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/19d1a426/attachment.html From james.sumners at gmail.com Thu Mar 20 17:47:18 2008 From: james.sumners at gmail.com (James Sumners) Date: Thu, 20 Mar 2008 20:47:18 -0400 Subject: GCC compilation time In-Reply-To: References: Message-ID: GCC can take a _long_ time to compile. On Thu, Mar 20, 2008 at 8:45 PM, Alejandro Arag?n wrote: > Hello everyone, > > I just wanted to know how much time it takes to GCC43 to compile. I've been > doing this for more than an hour, and it seems that it's never going to end. > I'm on a MacBook Pro, Santa Rosa generation. Thank you all, > > aa -- James Sumners http://james.roomfullofmirrors.com/ "All governments suffer a recurring problem: Power attracts pathological personalities. It is not that power corrupts but that it is magnetic to the corruptible. Such people have a tendency to become drunk on violence, a condition to which they are quickly addicted." Missionaria Protectiva, Text QIV (decto) CH:D 59 From paulbeard at gmail.com Thu Mar 20 18:40:42 2008 From: paulbeard at gmail.com (paul beard) Date: Thu, 20 Mar 2008 18:40:42 -0700 Subject: GCC compilation time In-Reply-To: References: Message-ID: On Thu, Mar 20, 2008 at 5:47 PM, James Sumners wrote: > GCC can take a _long_ time to compile. > Um, yeah. The first I ever tried to build a new gcc, it took me several *days*. But that was a long time ago and a hardware platform far far away (you kids ever use a SPARCstation 20?). Yes, it will take a long time. An hour is nothing to a gcc compile job. It will finish in hours, not days, but it's a big job. -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/fff59678/attachment.html From skip at pobox.com Thu Mar 20 18:48:02 2008 From: skip at pobox.com (skip at pobox.com) Date: Thu, 20 Mar 2008 20:48:02 -0500 Subject: GCC compilation time In-Reply-To: References: Message-ID: <18403.5074.463614.659866@montanaro-dyndns-org.local> paul> (you kids ever use a SPARCstation 20?). No, but I've used a Sun/100 and Sun-2/120. ;-) Back when I was (practically) a kid ... -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From alejandro.aragon at gmail.com Thu Mar 20 18:50:00 2008 From: alejandro.aragon at gmail.com (Alejandro Aragon) Date: Thu, 20 Mar 2008 20:50:00 -0500 Subject: gtk2 compilation failed Message-ID: <973A8DE6-ADC1-45EF-98F5-248A9B2B04C5@gmail.com> Hello everyone, I was trying to build pidgin, and when compiling gtk2 I had the following error: i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No such file or directory make[4]: *** [libgdk-x11-2.0.la] Error 1 I'm new to Mac OS so I was wondering why this library is not there. Is there an easy way to fix this? Thank you all, aa From mvfranz at gmail.com Thu Mar 20 21:02:38 2008 From: mvfranz at gmail.com (Michael Franz) Date: Fri, 21 Mar 2008 00:02:38 -0400 Subject: gcc43 Released? Message-ID: Hi, I see that java and fortran are in the default configuration, does that mean that gcc 4.3 has been released? It seems that the error that I had before and others have found that the 64 bit version creates bad binaries that cause problems for the 64 bit ld. Below is the error: name /opt/local/lib/gcc43/x86_64/libgcj.9.dylib -compatibility_version 10 -current_version 10.0 /usr/bin/ld: fatal error in /usr/bin/ld64 collect2: ld returned 1 exit status make[5]: *** [libgcj.la] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [multi-do] Error 1 make[2]: *** [all-multi] Error 2 make[1]: *** [all-target-libjava] Error 2 make: *** [all] Error 2 I found another link that discusses a similar issue with 4.2 http://gcc.gnu.org/ml/gcc-help/2007-06/msg00025.html . I am building on Tiger (10.4.11) with Xcode 2.5 Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080321/8dd12f4f/attachment.html From paulbeard at gmail.com Thu Mar 20 21:22:31 2008 From: paulbeard at gmail.com (paul beard) Date: Thu, 20 Mar 2008 21:22:31 -0700 Subject: gtk2 compilation failed In-Reply-To: <973A8DE6-ADC1-45EF-98F5-248A9B2B04C5@gmail.com> References: <973A8DE6-ADC1-45EF-98F5-248A9B2B04C5@gmail.com> Message-ID: On Thu, Mar 20, 2008 at 6:50 PM, Alejandro Aragon < alejandro.aragon at gmail.com> wrote: > Hello everyone, > > I was trying to build pidgin, and when compiling gtk2 I had the > following error: > > i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No > such file or directory > make[4]: *** [libgdk-x11-2.0.la] Error 1 > > I'm new to Mac OS so I was wondering why this library is not there. Is > there an easy way to fix this? > You installed the X11 SDK when you installed XCode? And have the latest X11 installed? [/Users/paul]:: locate libXrandr /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.2.0.dylib /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.2.dylib /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.a /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.dylib /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.2.0.dylib /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.2.dylib /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.a /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.dylib /usr/X11R6/lib/libXrandr.2.0.dylib /usr/X11R6/lib/libXrandr.2.dylib /usr/X11R6/lib/libXrandr.a /usr/X11R6/lib/libXrandr.dylib -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/244953e5/attachment.html From daniel at brightfire.com Thu Mar 20 22:30:32 2008 From: daniel at brightfire.com (Daniel Lord) Date: Thu, 20 Mar 2008 22:30:32 -0700 Subject: Boost install failure: seems like makefile configure Message-ID: <2ad40b840803202230v1fea6785p73068a67f178fd2e@mail.gmail.com> My env: Macbook Pro Leopard 10.5.1 with dev tools Here is the transcript of the install attempt: $sudo port -v install boost ---> Building boost with target all Makefile:2: *** missing separator. Stop. Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_34_1" && gmake all " returned error 2 Command output: Makefile:2: *** missing separator. Stop. Warning: the following items did not execute (for boost): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080320/d27298dd/attachment-0001.html From tomc at sounddsl.com Thu Mar 20 22:43:52 2008 From: tomc at sounddsl.com (Thomas Condon) Date: Thu, 20 Mar 2008 22:43:52 -0700 Subject: GCC compilation time In-Reply-To: References: Message-ID: <47E34B18.2020506@sounddsl.com> paul beard wrote: > On Thu, Mar 20, 2008 at 5:47 PM, James Sumners > wrote: > >> GCC can take a _long_ time to compile. >> > > Um, yeah. The first I ever tried to build a new gcc, it took me several > *days*. But that was a long time ago and a hardware platform far far away > (you kids ever use a SPARCstation 20?). Yes, but I think that came around *after* the PDP 11s, the Varian 620i and the EAI 8400 (full flight simulation of 747 w/Space Shuttle piggyback in 48K of *core*)! [Not to mention the Burroughs B-5500 from college. And I don't even remember the numbers of the patch-cord computers.] In A Chord, Tom Condon Bass, Agate Passage Quartet Bass & Proud Member, Kitsap Chordsmen Dir. Music Education, Evergreen District, BHS From ryandesign at macports.org Thu Mar 20 22:43:47 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 21 Mar 2008 00:43:47 -0500 Subject: Boost install failure: seems like makefile configure In-Reply-To: <2ad40b840803202230v1fea6785p73068a67f178fd2e@mail.gmail.com> References: <2ad40b840803202230v1fea6785p73068a67f178fd2e@mail.gmail.com> Message-ID: <61B27049-59AF-40C2-8513-89FF67C8FD82@macports.org> On Mar 21, 2008, at 00:30, Daniel Lord wrote: > My env: Macbook Pro Leopard 10.5.1 with dev tools > > Here is the transcript of the install attempt: > > $sudo port -v install boost > ---> Building boost with target all > Makefile:2: *** missing separator. Stop. > Error: Target org.macports.build returned: shell command " cd > "/opt/local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel > _boost/work/boost_1_34_1" > && gmake all " returned error 2 > Command output: Makefile:2: *** missing separator. Stop. > > Warning: the following items did not execute (for boost): > org.macports.activate org.macports.build org.macports.destroot > org.macports.install > Error: Status 1 encountered during processing. This problem has already been reported: http://trac.macosforge.org/projects/macports/ticket/13714 Please read through the discussion there. From ryandesign at macports.org Thu Mar 20 22:47:12 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 21 Mar 2008 00:47:12 -0500 Subject: gcc43 Released? In-Reply-To: References: Message-ID: <7B9FC097-AE77-4E5D-B747-7296FA57DF4F@macports.org> On Mar 20, 2008, at 23:02, Michael Franz wrote: > I see that java and fortran are in the default configuration, does > that mean that gcc 4.3 has been released? http://gcc.gnu.org/ says that gcc 4.3 was released on 2008-03-05. > It seems that the error that I had before and others have found > that the 64 bit version creates bad binaries that cause problems > for the 64 bit ld. Below is the error: > name /opt/local/lib/gcc43/x86_64/libgcj.9.dylib - > compatibility_version 10 -current_version 10.0 > /usr/bin/ld: fatal error in /usr/bin/ld64 > collect2: ld returned 1 exit status > make[5]: *** [libgcj.la] Error 1 > make[4]: *** [all-recursive] Error 1 > make[3]: *** [multi-do] Error 1 > make[2]: *** [all-multi] Error 2 > make[1]: *** [all-target-libjava] Error 2 > make: *** [all] Error 2 > > I found another link that discusses a similar issue with 4.2 http:// > gcc.gnu.org/ml/gcc-help/2007-06/msg00025.html . > > I am building on Tiger (10.4.11) with Xcode 2.5 From ryandesign at macports.org Thu Mar 20 22:49:07 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 21 Mar 2008 00:49:07 -0500 Subject: gtk2 compilation failed In-Reply-To: References: <973A8DE6-ADC1-45EF-98F5-248A9B2B04C5@gmail.com> Message-ID: On Mar 20, 2008, at 23:22, paul beard wrote: > On Thu, Mar 20, 2008 at 6:50 PM, Alejandro Aragon wrote: > >> I was trying to build pidgin, and when compiling gtk2 I had the >> following error: >> >> i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No >> such file or directory >> make[4]: *** [libgdk-x11-2.0.la] Error 1 >> >> I'm new to Mac OS so I was wondering why this library is not >> there. Is >> there an easy way to fix this? > > > You installed the X11 SDK when you installed XCode? And have the > latest X11 installed? > > [/Users/paul]:: locate libXrandr > /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.2.0.dylib > /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.2.dylib > /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.a > /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.dylib > /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.2.0.dylib > /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.2.dylib > /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.a > /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.dylib > /usr/X11R6/lib/libXrandr.2.0.dylib > /usr/X11R6/lib/libXrandr.2.dylib > /usr/X11R6/lib/libXrandr.a > /usr/X11R6/lib/libXrandr.dylib Paul, a) you appear to be on 10.4 and the OP is on 10.5 (note "darwin9" in the compiler name); b) you don't have libXrandr. 2.0.0.dylib either (though you have libXrandr.2.0.dylib and libXrandr. 2.dylib). From ryandesign at macports.org Thu Mar 20 22:50:39 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 21 Mar 2008 00:50:39 -0500 Subject: GCC compilation time In-Reply-To: References: Message-ID: <1362148E-7668-4674-9FD8-C7E8AE0AFFA7@macports.org> On Mar 20, 2008, at 19:45, Alejandro Arag?n wrote: > I just wanted to know how much time it takes to GCC43 to compile. > I've been doing this for more than an hour, and it seems that it's > never going to end. I'm on a MacBook Pro, Santa Rosa generation. > Thank you all, On a PowerBook G4 1.5 GHz, it took around six hours to compile gcc 4.something. On a MacBook Pro 2.2 GHz (Santa Rosa), it took between one and two hours. From ryandesign at macports.org Thu Mar 20 23:15:20 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 21 Mar 2008 01:15:20 -0500 Subject: deactivated port issue In-Reply-To: <47E2F440.9090502@macports.org> References: <65fadfc30803201303p6be6472enb3f3974db657e97b@mail.gmail.com> <65fadfc30803201513q5be72c5fp53713ac970b729a1@mail.gmail.com> <65fadfc30803201521h6c01ee0dk416cd6d288071349@mail.gmail.com> <65fadfc30803201540r5601b367p5c1b835d1eb92c55@mail.gmail.com> <087AEF15-0F3B-494D-98A1-8284D28EE387@macports.org> <05E4A6C0-22F6-462B-9660-7F7869D43BDB@twistage.com> <47E2F440.9090502@macports.org> Message-ID: <517BA34A-5E82-4C62-A257-DF62F79A4EC7@macports.org> On Mar 20, 2008, at 18:33, Rainer M?ller wrote: > Mark Wilden wrote: > >> Let it be said, however, that not everyone agrees. When I've read all >> the other messages already, I don't like having to scroll. > > So only quote the relevant part you are referring to - as I do here. > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > Very helpful: http://en.wikipedia.org/wiki/Posting_style We need an official document on mailing list etiquette on the MacPorts site. We currently only provide a link to an external document [1] but that document does not mention quoting. We need something like what the Subversion project has [2]. I am still strongly in favor of bottom-posting, or rather, interleaved posting. [1] http://www.macports.org/contact.php#Lists says "Members are expected to abide by the very simple Netiquette guidelines" and links to http://www.dtcc.edu/cs/rfc1855.html [2] http://subversion.tigris.org/mailing-list-guidelines.html From ryandesign at macports.org Thu Mar 20 23:17:57 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 21 Mar 2008 01:17:57 -0500 Subject: Boost install failure: seems like makefile configure In-Reply-To: <2ad40b840803202303t2dbbf1e9y3e2a4ac7744015df@mail.gmail.com> References: <2ad40b840803202230v1fea6785p73068a67f178fd2e@mail.gmail.com> <61B27049-59AF-40C2-8513-89FF67C8FD82@macports.org> <2ad40b840803202303t2dbbf1e9y3e2a4ac7744015df@mail.gmail.com> Message-ID: On Mar 21, 2008, at 01:03, Daniel Lord wrote: > On 3/20/08, Ryan Schmidt wrote: > >> On Mar 21, 2008, at 00:30, Daniel Lord wrote: >> >> > My env: Macbook Pro Leopard 10.5.1 with dev tools >> > >> > Here is the transcript of the install attempt: >> > >> > $sudo port -v install boost >> > ---> Building boost with target all >> > Makefile:2: *** missing separator. Stop. >> > Error: Target org.macports.build returned: shell command " cd >> > "/opt/local/var/macports/build/ >> > >> _opt_local_var_macports_sources_rsync.macports.org_release_ports_deve >> l >> > _boost/work/boost_1_34_1" >> > && gmake all " returned error 2 >> > Command output: Makefile:2: *** missing separator. Stop. >> > >> > Warning: the following items did not execute (for boost): >> > org.macports.activate org.macports.build org.macports.destroot >> > org.macports.install >> > Error: Status 1 encountered during processing. >> >> This problem has already been reported: >> >> http://trac.macosforge.org/projects/macports/ticket/13714 >> >> Please read through the discussion there. > > Sure, but strangely, the second attempt is building !?!?!?! > I did nothing, just started the 'port instal'l again and now it > sailed through ( though still not complete as I write this). > I have to wonder if the Macport doesn't take into account all > states the build might encounter and that there is some race > condition in prequisites. A race condition that goes away after one > install attempt because a file or directory was made before bailing > whose absebce caused teh bail out...or something...I don't have a > clue. All I know is it is strange. I couldn't say. Don't forget to reply to the list too, not just to me, for the benefit of anyone else reading this thread. From hypocrite at lawyer.com Thu Mar 20 23:43:41 2008 From: hypocrite at lawyer.com (Hypo Crite) Date: Fri, 21 Mar 2008 17:43:41 +1100 Subject: Difficulties installing Gnumeric Message-ID: <8EAB1137-1057-4429-B3B5-4DB7F262B57D@lawyer.com> Hi, I'm currently experiencing difficulties installing Gnumeric. I installed XCode and macports, then ran "sudo port install gnumeric" from the terminal. I got the attached error message when the installer got up to python. I am using Mac Mini 1.25GHz PPC running OSX 10.4.11. I may have brought this down on myself with my install of XCode. Due to low bandwidth, I didn't download the newer version of XCode, but rather the bundled version (2.0) with my Tiger install disk. In addition, due to low disk space, I only installed what (I thought) was the minimum I needed from XCode. This was: * Developer Tools Software * gcc 4.0 * Mac OS X SDK * BSD SDK * X11 SDK I installed only these after viewing numerous different sites and cobbling together what I thought was necessary. Does anyone have any hints? Thanks in advance, Pete. <<<<>>>> ---> Fetching python25 ---> Attempting to fetch Python-2.5.2.tar.bz2 from http:// www.python.org//ftp/python/2.5.2/ ---> Verifying checksum(s) for python25 ---> Extracting python25 ---> Applying patches to python25 ---> Configuring python25 ---> Building python25 with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_py thon25/work/Python-2.5.2" && make all " returned error 2 Command output: Python/mactoolboxglue.c:425: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:428: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:428: error: parse error before "cobj" Python/mactoolboxglue.c:428: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_New': Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:429: error: parse error before "UserData" Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c:429: error: parse error before "UserData" Python/mactoolboxglue.c:429: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'UserDataObj_Convert': Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:430: warning: parameter names (without types) in function declaration Python/mactoolboxglue.c:430: error: parse error before "cobj" Python/mactoolboxglue.c:430: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_New': Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in this function) Python/mactoolboxglue.c: At top level: Python/mactoolboxglue.c:431: error: parse error before "Media" Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c:431: error: parse error before "Media" Python/mactoolboxglue.c:431: warning: function declaration isn't a prototype Python/mactoolboxglue.c: In function 'MediaObj_Convert': Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first use in this function) Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in this function) make: *** [Python/mactoolboxglue.o] Error 1 Error: The following dependencies failed to build: gnome-doc-utils iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui gnome- icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo fontconfig freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto xorg-util-macros shared-mime-info tiff libgnomecanvas gail intltool gnome-common libart_lgpl libglade2 libgnomeprint bison m4 libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25-numpy fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk gmake readline neon Error: Status 1 encountered during processing. From hypocrite at lawyer.com Thu Mar 20 23:58:03 2008 From: hypocrite at lawyer.com (Pete Crite) Date: Fri, 21 Mar 2008 17:58:03 +1100 Subject: Difficulties installing Gnumeric In-Reply-To: <8EAB1137-1057-4429-B3B5-4DB7F262B57D@lawyer.com> References: <8EAB1137-1057-4429-B3B5-4DB7F262B57D@lawyer.com> Message-ID: <7434733A-9A56-4994-B367-343864C086D8@lawyer.com> Oh, and I should also mention a couple of other things. Firstly, my installation of macports from the dmg didn't really work. I found that there was no ~/.profile file created. I attempted running the installer twice, but had to create this manually instead. Secondly, despite my threadbare XCode installation, I do find that some functionality of macports is definitely operational. For example, "sudo port selfupdate", "port search gnumeric", "port info gnumeric" all work. Also, "sudo port install gnumeric" did work for the first half an hour or so of installation. Cheers, Pete. On 21/03/2008, at 5:43 PM, Hypo Crite wrote: > > Hi, > > I'm currently experiencing difficulties installing Gnumeric. I > installed XCode and macports, then ran "sudo port install gnumeric" > from the terminal. > > I got the attached error message when the installer got up to python. > I am using Mac Mini 1.25GHz PPC running OSX 10.4.11. > > I may have brought this down on myself with my install of XCode. Due > to low bandwidth, I didn't download the newer version of XCode, but > rather the bundled version (2.0) with my Tiger install disk. > > In addition, due to low disk space, I only installed what (I thought) > was the minimum I needed from XCode. This was: > * Developer Tools Software > * gcc 4.0 > * Mac OS X SDK > * BSD SDK > * X11 SDK > I installed only these after viewing numerous different sites and > cobbling together what I thought was necessary. > > Does anyone have any hints? > > Thanks in advance, > Pete. > > > <<<<>>>> > > ---> Fetching python25 > ---> Attempting to fetch Python-2.5.2.tar.bz2 from http:// > www.python.org//ftp/python/2.5.2/ > ---> Verifying checksum(s) for python25 > ---> Extracting python25 > ---> Applying patches to python25 > ---> Configuring python25 > ---> Building python25 with target all > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ > py > thon25/work/Python-2.5.2" && make all " returned error 2 > Command output: Python/mactoolboxglue.c:425: error: 'cobj' undeclared > (first use in this function) > Python/mactoolboxglue.c: At top level: > Python/mactoolboxglue.c:428: warning: parameter names (without types) > in function declaration > Python/mactoolboxglue.c:428: error: parse error before "cobj" > Python/mactoolboxglue.c:428: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c: In function 'UserDataObj_New': > Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in > this function) > Python/mactoolboxglue.c: At top level: > Python/mactoolboxglue.c:429: error: parse error before "UserData" > Python/mactoolboxglue.c:429: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c:429: error: parse error before "UserData" > Python/mactoolboxglue.c:429: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c: In function 'UserDataObj_Convert': > Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first use in > this function) > Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in > this function) > Python/mactoolboxglue.c: At top level: > Python/mactoolboxglue.c:430: warning: parameter names (without types) > in function declaration > Python/mactoolboxglue.c:430: error: parse error before "cobj" > Python/mactoolboxglue.c:430: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c: In function 'MediaObj_New': > Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in > this function) > Python/mactoolboxglue.c: At top level: > Python/mactoolboxglue.c:431: error: parse error before "Media" > Python/mactoolboxglue.c:431: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c:431: error: parse error before "Media" > Python/mactoolboxglue.c:431: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c: In function 'MediaObj_Convert': > Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first use in > this function) > Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in > this function) > make: *** [Python/mactoolboxglue.o] Error 1 > > Error: The following dependencies failed to build: gnome-doc-utils > iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject > py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui gnome- > icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- > simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo fontconfig > freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto > xorg-util-macros shared-mime-info tiff libgnomecanvas gail intltool > gnome-common libart_lgpl libglade2 libgnomeprint bison m4 > libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 > libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25-numpy > fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk gmake > readline neon > Error: Status 1 encountered during processing. > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From afb at macports.org Fri Mar 21 01:04:11 2008 From: afb at macports.org (=?ISO-8859-1?Q?Anders_F_Bj=F6rklund?=) Date: Fri, 21 Mar 2008 09:04:11 +0100 Subject: gtk2 compilation failed In-Reply-To: <973A8DE6-ADC1-45EF-98F5-248A9B2B04C5@gmail.com> References: <973A8DE6-ADC1-45EF-98F5-248A9B2B04C5@gmail.com> Message-ID: <492633F9-D91F-4BA4-9B6A-9B93AD16B25B@macports.org> Alejandro Aragon wrote: > I was trying to build pidgin, and when compiling gtk2 I had the > following error: > > i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No > such file or directory > make[4]: *** [libgdk-x11-2.0.la] Error 1 > > I'm new to Mac OS so I was wondering why this library is not there. Is > there an easy way to fix this? sudo ln -s libXrandr.2.dylib /usr/X11/lib/libXrandr.2.0.0.dylib If you buy a new Mac, with Mac OS X 10.5.2 pre-installed, it only has the newer version of X11 which only has the last and latest link. So you have "libXrandr.2.0.1.dylib", but not "libXrandr.2.0.0.dylib". Ironically, both are supposed to link to the same library anyway... /usr/X11/lib/libXrandr.2.0.0.dylib -> libXrandr.2.dylib /usr/X11/lib/libXrandr.2.1.0.dylib -> libXrandr.2.dylib /usr/X11/lib/libXrandr.2.dylib /usr/X11/lib/libXrandr.dylib -> libXrandr.2.dylib Traced as http://trac.macports.org/projects/macports/ticket/14592 --anders From ryandesign at macports.org Fri Mar 21 04:05:09 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 21 Mar 2008 06:05:09 -0500 Subject: Difficulties installing Gnumeric In-Reply-To: <7434733A-9A56-4994-B367-343864C086D8@lawyer.com> References: <8EAB1137-1057-4429-B3B5-4DB7F262B57D@lawyer.com> <7434733A-9A56-4994-B367-343864C086D8@lawyer.com> Message-ID: <3A4C8AD1-F99E-46CF-BFE7-A44842C4BDE6@macports.org> On Mar 21, 2008, at 01:58, Pete Crite wrote: > Oh, and I should also mention a couple of other things. > > Firstly, my installation of macports from the dmg didn't really work. > I found that there was no ~/.profile file created. I attempted > running the installer twice, but had to create this manually instead. Yes, unfortunately there is a bug in the 1.6.0 installer packages that prevents this from working properly. You must make the file manually. This problem has already been fixed in trunk but no new installer packages have yet been produced. Sorry about that. > Secondly, despite my threadbare XCode installation, I do find that > some functionality of macports is definitely operational. For > example, "sudo port selfupdate", "port search gnumeric", "port info > gnumeric" all work. Also, "sudo port install gnumeric" did work for > the first half an hour or so of installation. Xcode 2.0 is not acceptable. Please update to Xcode 2.4.1 or 2.5. A few ports will fail to compile if you do not install the QuickTime SDK and I believe one other SDK. I don't recall either what those few ports were, so you may not run into them. > Cheers, > Pete. > > > > On 21/03/2008, at 5:43 PM, Hypo Crite wrote: >> >> Hi, >> >> I'm currently experiencing difficulties installing Gnumeric. I >> installed XCode and macports, then ran "sudo port install gnumeric" >> from the terminal. >> >> I got the attached error message when the installer got up to python. >> I am using Mac Mini 1.25GHz PPC running OSX 10.4.11. >> >> I may have brought this down on myself with my install of XCode. Due >> to low bandwidth, I didn't download the newer version of XCode, but >> rather the bundled version (2.0) with my Tiger install disk. >> >> In addition, due to low disk space, I only installed what (I thought) >> was the minimum I needed from XCode. This was: >> * Developer Tools Software >> * gcc 4.0 >> * Mac OS X SDK >> * BSD SDK >> * X11 SDK >> I installed only these after viewing numerous different sites and >> cobbling together what I thought was necessary. >> >> Does anyone have any hints? >> >> Thanks in advance, >> Pete. >> >> >> <<<<>>>> >> >> ---> Fetching python25 >> ---> Attempting to fetch Python-2.5.2.tar.bz2 from http:// >> www.python.org//ftp/python/2.5.2/ >> ---> Verifying checksum(s) for python25 >> ---> Extracting python25 >> ---> Applying patches to python25 >> ---> Configuring python25 >> ---> Building python25 with target all >> Error: Target org.macports.build returned: shell command " cd "/opt/ >> local/var/macports/build/ >> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang >> _ >> py >> thon25/work/Python-2.5.2" && make all " returned error 2 >> Command output: Python/mactoolboxglue.c:425: error: 'cobj' undeclared >> (first use in this function) >> Python/mactoolboxglue.c: At top level: >> Python/mactoolboxglue.c:428: warning: parameter names (without types) >> in function declaration >> Python/mactoolboxglue.c:428: error: parse error before "cobj" >> Python/mactoolboxglue.c:428: warning: function declaration isn't a >> prototype >> Python/mactoolboxglue.c: In function 'UserDataObj_New': >> Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in >> this function) >> Python/mactoolboxglue.c: At top level: >> Python/mactoolboxglue.c:429: error: parse error before "UserData" >> Python/mactoolboxglue.c:429: warning: function declaration isn't a >> prototype >> Python/mactoolboxglue.c:429: error: parse error before "UserData" >> Python/mactoolboxglue.c:429: warning: function declaration isn't a >> prototype >> Python/mactoolboxglue.c: In function 'UserDataObj_Convert': >> Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first use in >> this function) >> Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in >> this function) >> Python/mactoolboxglue.c: At top level: >> Python/mactoolboxglue.c:430: warning: parameter names (without types) >> in function declaration >> Python/mactoolboxglue.c:430: error: parse error before "cobj" >> Python/mactoolboxglue.c:430: warning: function declaration isn't a >> prototype >> Python/mactoolboxglue.c: In function 'MediaObj_New': >> Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in >> this function) >> Python/mactoolboxglue.c: At top level: >> Python/mactoolboxglue.c:431: error: parse error before "Media" >> Python/mactoolboxglue.c:431: warning: function declaration isn't a >> prototype >> Python/mactoolboxglue.c:431: error: parse error before "Media" >> Python/mactoolboxglue.c:431: warning: function declaration isn't a >> prototype >> Python/mactoolboxglue.c: In function 'MediaObj_Convert': >> Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first use in >> this function) >> Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in >> this function) >> make: *** [Python/mactoolboxglue.o] Error 1 >> >> Error: The following dependencies failed to build: gnome-doc-utils >> iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject >> py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui gnome- >> icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- >> simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo fontconfig >> freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto >> xorg-util-macros shared-mime-info tiff libgnomecanvas gail intltool >> gnome-common libart_lgpl libglade2 libgnomeprint bison m4 >> libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 >> libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25-numpy >> fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk gmake >> readline neon >> Error: Status 1 encountered during processing. From hypocrite at lawyer.com Fri Mar 21 04:15:54 2008 From: hypocrite at lawyer.com (Pete Crite) Date: Fri, 21 Mar 2008 22:15:54 +1100 Subject: Difficulties installing Gnumeric In-Reply-To: <3A4C8AD1-F99E-46CF-BFE7-A44842C4BDE6@macports.org> References: <8EAB1137-1057-4429-B3B5-4DB7F262B57D@lawyer.com> <7434733A-9A56-4994-B367-343864C086D8@lawyer.com> <3A4C8AD1-F99E-46CF-BFE7-A44842C4BDE6@macports.org> Message-ID: <099ABF27-AB1B-4ACD-A85E-2BCC176724B5@lawyer.com> Thanks Ryan, I'll get my brother to download Xcode 2.5 and mail a DVD to me. It's a pity Apple don't release it as separate files without that documentation! Did you know what the other SDK was that I would need for those ports? If I chose not to install Quicktime SDK and the other port, I assume that I would be informed by the relevant ports when the SDKs were lacking? Thanks again, Pete. On 21/03/2008, at 10:05 PM, Ryan Schmidt wrote: > > On Mar 21, 2008, at 01:58, Pete Crite wrote: > >> Oh, and I should also mention a couple of other things. >> >> Firstly, my installation of macports from the dmg didn't really work. >> I found that there was no ~/.profile file created. I attempted >> running the installer twice, but had to create this manually instead. > > Yes, unfortunately there is a bug in the 1.6.0 installer packages > that prevents this from working properly. You must make the file > manually. This problem has already been fixed in trunk but no new > installer packages have yet been produced. Sorry about that. > > >> Secondly, despite my threadbare XCode installation, I do find that >> some functionality of macports is definitely operational. For >> example, "sudo port selfupdate", "port search gnumeric", "port info >> gnumeric" all work. Also, "sudo port install gnumeric" did work for >> the first half an hour or so of installation. > > Xcode 2.0 is not acceptable. Please update to Xcode 2.4.1 or 2.5. > > A few ports will fail to compile if you do not install the > QuickTime SDK and I believe one other SDK. I don't recall either > what those few ports were, so you may not run into them. > > >> Cheers, >> Pete. >> >> >> >> On 21/03/2008, at 5:43 PM, Hypo Crite wrote: >>> >>> Hi, >>> >>> I'm currently experiencing difficulties installing Gnumeric. I >>> installed XCode and macports, then ran "sudo port install gnumeric" >>> from the terminal. >>> >>> I got the attached error message when the installer got up to >>> python. >>> I am using Mac Mini 1.25GHz PPC running OSX 10.4.11. >>> >>> I may have brought this down on myself with my install of XCode. Due >>> to low bandwidth, I didn't download the newer version of XCode, but >>> rather the bundled version (2.0) with my Tiger install disk. >>> >>> In addition, due to low disk space, I only installed what (I >>> thought) >>> was the minimum I needed from XCode. This was: >>> * Developer Tools Software >>> * gcc 4.0 >>> * Mac OS X SDK >>> * BSD SDK >>> * X11 SDK >>> I installed only these after viewing numerous different sites and >>> cobbling together what I thought was necessary. >>> >>> Does anyone have any hints? >>> >>> Thanks in advance, >>> Pete. >>> >>> >>> <<<<>>>> >>> >>> ---> Fetching python25 >>> ---> Attempting to fetch Python-2.5.2.tar.bz2 from http:// >>> www.python.org//ftp/python/2.5.2/ >>> ---> Verifying checksum(s) for python25 >>> ---> Extracting python25 >>> ---> Applying patches to python25 >>> ---> Configuring python25 >>> ---> Building python25 with target all >>> Error: Target org.macports.build returned: shell command " cd "/opt/ >>> local/var/macports/build/ >>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_lan >>> g_ >>> py >>> thon25/work/Python-2.5.2" && make all " returned error 2 >>> Command output: Python/mactoolboxglue.c:425: error: 'cobj' >>> undeclared >>> (first use in this function) >>> Python/mactoolboxglue.c: At top level: >>> Python/mactoolboxglue.c:428: warning: parameter names (without >>> types) >>> in function declaration >>> Python/mactoolboxglue.c:428: error: parse error before "cobj" >>> Python/mactoolboxglue.c:428: warning: function declaration isn't a >>> prototype >>> Python/mactoolboxglue.c: In function 'UserDataObj_New': >>> Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in >>> this function) >>> Python/mactoolboxglue.c: At top level: >>> Python/mactoolboxglue.c:429: error: parse error before "UserData" >>> Python/mactoolboxglue.c:429: warning: function declaration isn't a >>> prototype >>> Python/mactoolboxglue.c:429: error: parse error before "UserData" >>> Python/mactoolboxglue.c:429: warning: function declaration isn't a >>> prototype >>> Python/mactoolboxglue.c: In function 'UserDataObj_Convert': >>> Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first use in >>> this function) >>> Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in >>> this function) >>> Python/mactoolboxglue.c: At top level: >>> Python/mactoolboxglue.c:430: warning: parameter names (without >>> types) >>> in function declaration >>> Python/mactoolboxglue.c:430: error: parse error before "cobj" >>> Python/mactoolboxglue.c:430: warning: function declaration isn't a >>> prototype >>> Python/mactoolboxglue.c: In function 'MediaObj_New': >>> Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in >>> this function) >>> Python/mactoolboxglue.c: At top level: >>> Python/mactoolboxglue.c:431: error: parse error before "Media" >>> Python/mactoolboxglue.c:431: warning: function declaration isn't a >>> prototype >>> Python/mactoolboxglue.c:431: error: parse error before "Media" >>> Python/mactoolboxglue.c:431: warning: function declaration isn't a >>> prototype >>> Python/mactoolboxglue.c: In function 'MediaObj_Convert': >>> Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first use in >>> this function) >>> Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in >>> this function) >>> make: *** [Python/mactoolboxglue.o] Error 1 >>> >>> Error: The following dependencies failed to build: gnome-doc-utils >>> iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject >>> py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui >>> gnome- >>> icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- >>> simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo fontconfig >>> freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto >>> xorg-util-macros shared-mime-info tiff libgnomecanvas gail intltool >>> gnome-common libart_lgpl libglade2 libgnomeprint bison m4 >>> libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 >>> libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25-numpy >>> fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk gmake >>> readline neon >>> Error: Status 1 encountered during processing. > > > -- Lee Yeoh From ryandesign at macports.org Fri Mar 21 04:27:47 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 21 Mar 2008 06:27:47 -0500 Subject: Difficulties installing Gnumeric In-Reply-To: <099ABF27-AB1B-4ACD-A85E-2BCC176724B5@lawyer.com> References: <8EAB1137-1057-4429-B3B5-4DB7F262B57D@lawyer.com> <7434733A-9A56-4994-B367-343864C086D8@lawyer.com> <3A4C8AD1-F99E-46CF-BFE7-A44842C4BDE6@macports.org> <099ABF27-AB1B-4ACD-A85E-2BCC176724B5@lawyer.com> Message-ID: <1B40C081-D5EA-4679-9CBA-B020E75F0644@macports.org> In fact, the missing QuickTime SDK is probably causing your error with python25: http://trac.macosforge.org/projects/macports/wiki/FAQ#Pythonfailstobuild Maybe that was the only SDK. On Mar 21, 2008, at 06:15, Pete Crite wrote: > Thanks Ryan, > > I'll get my brother to download Xcode 2.5 and mail a DVD to me. > It's a pity Apple don't release it as separate files without that > documentation! > > Did you know what the other SDK was that I would need for those > ports? If I chose not to install Quicktime SDK and the other port, > I assume that I would be informed by the relevant ports when the > SDKs were lacking? > > Thanks again, > Pete. > > > > On 21/03/2008, at 10:05 PM, Ryan Schmidt wrote: >> >> On Mar 21, 2008, at 01:58, Pete Crite wrote: >> >>> Oh, and I should also mention a couple of other things. >>> >>> Firstly, my installation of macports from the dmg didn't really >>> work. >>> I found that there was no ~/.profile file created. I attempted >>> running the installer twice, but had to create this manually >>> instead. >> >> Yes, unfortunately there is a bug in the 1.6.0 installer packages >> that prevents this from working properly. You must make the file >> manually. This problem has already been fixed in trunk but no new >> installer packages have yet been produced. Sorry about that. >> >> >>> Secondly, despite my threadbare XCode installation, I do find that >>> some functionality of macports is definitely operational. For >>> example, "sudo port selfupdate", "port search gnumeric", "port info >>> gnumeric" all work. Also, "sudo port install gnumeric" did work for >>> the first half an hour or so of installation. >> >> Xcode 2.0 is not acceptable. Please update to Xcode 2.4.1 or 2.5. >> >> A few ports will fail to compile if you do not install the >> QuickTime SDK and I believe one other SDK. I don't recall either >> what those few ports were, so you may not run into them. >> >> >>> Cheers, >>> Pete. >>> >>> >>> >>> On 21/03/2008, at 5:43 PM, Hypo Crite wrote: >>>> >>>> Hi, >>>> >>>> I'm currently experiencing difficulties installing Gnumeric. I >>>> installed XCode and macports, then ran "sudo port install gnumeric" >>>> from the terminal. >>>> >>>> I got the attached error message when the installer got up to >>>> python. >>>> I am using Mac Mini 1.25GHz PPC running OSX 10.4.11. >>>> >>>> I may have brought this down on myself with my install of XCode. >>>> Due >>>> to low bandwidth, I didn't download the newer version of XCode, but >>>> rather the bundled version (2.0) with my Tiger install disk. >>>> >>>> In addition, due to low disk space, I only installed what (I >>>> thought) >>>> was the minimum I needed from XCode. This was: >>>> * Developer Tools Software >>>> * gcc 4.0 >>>> * Mac OS X SDK >>>> * BSD SDK >>>> * X11 SDK >>>> I installed only these after viewing numerous different sites and >>>> cobbling together what I thought was necessary. >>>> >>>> Does anyone have any hints? >>>> >>>> Thanks in advance, >>>> Pete. >>>> >>>> >>>> <<<<>>>> >>>> >>>> ---> Fetching python25 >>>> ---> Attempting to fetch Python-2.5.2.tar.bz2 from http:// >>>> www.python.org//ftp/python/2.5.2/ >>>> ---> Verifying checksum(s) for python25 >>>> ---> Extracting python25 >>>> ---> Applying patches to python25 >>>> ---> Configuring python25 >>>> ---> Building python25 with target all >>>> Error: Target org.macports.build returned: shell command " cd "/ >>>> opt/ >>>> local/var/macports/build/ >>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_la >>>> ng_ >>>> py >>>> thon25/work/Python-2.5.2" && make all " returned error 2 >>>> Command output: Python/mactoolboxglue.c:425: error: 'cobj' >>>> undeclared >>>> (first use in this function) >>>> Python/mactoolboxglue.c: At top level: >>>> Python/mactoolboxglue.c:428: warning: parameter names (without >>>> types) >>>> in function declaration >>>> Python/mactoolboxglue.c:428: error: parse error before "cobj" >>>> Python/mactoolboxglue.c:428: warning: function declaration isn't a >>>> prototype >>>> Python/mactoolboxglue.c: In function 'UserDataObj_New': >>>> Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in >>>> this function) >>>> Python/mactoolboxglue.c: At top level: >>>> Python/mactoolboxglue.c:429: error: parse error before "UserData" >>>> Python/mactoolboxglue.c:429: warning: function declaration isn't a >>>> prototype >>>> Python/mactoolboxglue.c:429: error: parse error before "UserData" >>>> Python/mactoolboxglue.c:429: warning: function declaration isn't a >>>> prototype >>>> Python/mactoolboxglue.c: In function 'UserDataObj_Convert': >>>> Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first >>>> use in >>>> this function) >>>> Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in >>>> this function) >>>> Python/mactoolboxglue.c: At top level: >>>> Python/mactoolboxglue.c:430: warning: parameter names (without >>>> types) >>>> in function declaration >>>> Python/mactoolboxglue.c:430: error: parse error before "cobj" >>>> Python/mactoolboxglue.c:430: warning: function declaration isn't a >>>> prototype >>>> Python/mactoolboxglue.c: In function 'MediaObj_New': >>>> Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in >>>> this function) >>>> Python/mactoolboxglue.c: At top level: >>>> Python/mactoolboxglue.c:431: error: parse error before "Media" >>>> Python/mactoolboxglue.c:431: warning: function declaration isn't a >>>> prototype >>>> Python/mactoolboxglue.c:431: error: parse error before "Media" >>>> Python/mactoolboxglue.c:431: warning: function declaration isn't a >>>> prototype >>>> Python/mactoolboxglue.c: In function 'MediaObj_Convert': >>>> Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first >>>> use in >>>> this function) >>>> Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in >>>> this function) >>>> make: *** [Python/mactoolboxglue.o] Error 1 >>>> >>>> Error: The following dependencies failed to build: gnome-doc-utils >>>> iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject >>>> py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui >>>> gnome- >>>> icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- >>>> simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo fontconfig >>>> freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto >>>> xorg-util-macros shared-mime-info tiff libgnomecanvas gail intltool >>>> gnome-common libart_lgpl libglade2 libgnomeprint bison m4 >>>> libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 >>>> libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25- >>>> numpy >>>> fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk >>>> gmake >>>> readline neon >>>> Error: Status 1 encountered during processing. >> >> >> > > > > -- > Lee Yeoh > > From hypocrite at lawyer.com Fri Mar 21 05:43:33 2008 From: hypocrite at lawyer.com (Pete Crite) Date: Fri, 21 Mar 2008 23:43:33 +1100 Subject: Difficulties installing Gnumeric In-Reply-To: <1B40C081-D5EA-4679-9CBA-B020E75F0644@macports.org> References: <8EAB1137-1057-4429-B3B5-4DB7F262B57D@lawyer.com> <7434733A-9A56-4994-B367-343864C086D8@lawyer.com> <3A4C8AD1-F99E-46CF-BFE7-A44842C4BDE6@macports.org> <099ABF27-AB1B-4ACD-A85E-2BCC176724B5@lawyer.com> <1B40C081-D5EA-4679-9CBA-B020E75F0644@macports.org> Message-ID: <0A3422A1-083F-4A7F-A7D2-9CC1D6D531A7@lawyer.com> Ah... well. I decided to install all of the SDKs, seeing as they didn't really take up that much space at all. I attempted to "sudo port install gnumeric" again. I didn't get the same error, but something different now. I assume this probably has something to do with using XCode 2.0...? I guess I'll just have to try again later with the newer XCode, unless you can see something that is obviously wrong here? Thanks again, Pete. <<<< Error message >>>> ---> Building python25 with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_py thon25/work/Python-2.5.2" && make all " returned error 2 Command output: /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long- double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall - Wstrict-prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -o Modules/main.o Modules/main.c /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -c ./Modules/threadmodule.c -o Modules/threadmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -c ./Modules/signalmodule.c -o Modules/signalmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -c ./Modules/posixmodule.c -o Modules/posixmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -c ./Modules/errnomodule.c -o Modules/errnomodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -c ./Modules/_sre.c -o Modules/_sre.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -c ./Modules/_codecsmodule.c -o Modules/_codecsmodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -c ./Modules/zipimport.c -o Modules/zipimport.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -c ./Modules/symtablemodule.c -o Modules/ symtablemodule.o /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -c ./Modules/xxsubtype.c -o Modules/xxsubtype.o /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp- precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include -I/opt/local/include - DPy_BUILD_CORE -DSVNVERSION=\"`LC_ALL=C echo exported`\" -o Modules/ getbuildinfo.o ./Modules/getbuildinfo.c rm -f libpython2.5.a ar cr libpython2.5.a Modules/getbuildinfo.o ar cr libpython2.5.a Modules/_typesmodule.o ar cr libpython2.5.a Parser/acceler.o Parser/grammar1.o Parser/ listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/ bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o ar cr libpython2.5.a Objects/abstract.o Objects/boolobject.o Objects/ bufferobject.o Objects/cellobject.o Objects/classobject.o Objects/ cobject.o Objects/codeobject.o Objects/complexobject.o Objects/ descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/ genobject.o Objects/fileobject.o Objects/floatobject.o Objects/ frameobject.o Objects/funcobject.o Objects/intobject.o Objects/ iterobject.o Objects/listobject.o Objects/longobject.o Objects/ dictobject.o Objects/methodobject.o Objects/moduleobject.o Objects/ object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o Objects/unicodeobject.o Objects/unicodectype.o ar cr libpython2.5.a Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/ getmtime.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/ modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/pyarena.o Python/pyfpe.o Python/pystate.o Python/pythonrun.o Python/ structmember.o Python/symtable.o Python/sysmodule.o Python/ traceback.o Python/getopt.o Python/pystrtod.o Python/dynload_shlib.o Python/mactoolboxglue.o Python/thread.o ar cr libpython2.5.a Modules/config.o Modules/getpath.o Modules/ main.o Modules/gcmodule.o ar cr libpython2.5.a Modules/threadmodule.o Modules/signalmodule.o Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o Modules/_sre.o Modules/_codecsmodule.o Modules/zipimport.o Modules/ symtablemodule.o Modules/xxsubtype.o ranlib libpython2.5.a /usr/bin/libtool -o libpython2.5.dylib -dynamic \ -all_load libpython2.5.a -single_module \ -install_name /opt/local/lib/libpython2.5.dylib \ -compatibility_version 2.5 \ -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib ld64 failed: in libpython2.5.a(getbuildinfo.o), not a valid ppc64 mach-o file /usr/bin/libtool: internal link edit command failed make: *** [libpython2.5.dylib] Error 1 Error: The following dependencies failed to build: gnome-doc-utils iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui gnome- icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo fontconfig freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto xorg-util-macros shared-mime-info tiff libgnomecanvas gail intltool gnome-common libart_lgpl libglade2 libgnomeprint bison m4 libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25-numpy fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk gmake readline neon Error: Status 1 encountered during processing. On 21/03/2008, at 10:27 PM, Ryan Schmidt wrote: > > In fact, the missing QuickTime SDK is probably causing your error > with python25: > > http://trac.macosforge.org/projects/macports/wiki/ > FAQ#Pythonfailstobuild > > Maybe that was the only SDK. > > > On Mar 21, 2008, at 06:15, Pete Crite wrote: > >> Thanks Ryan, >> >> I'll get my brother to download Xcode 2.5 and mail a DVD to me. >> It's a pity Apple don't release it as separate files without that >> documentation! >> >> Did you know what the other SDK was that I would need for those >> ports? If I chose not to install Quicktime SDK and the other port, >> I assume that I would be informed by the relevant ports when the >> SDKs were lacking? >> >> Thanks again, >> Pete. >> >> >> >> On 21/03/2008, at 10:05 PM, Ryan Schmidt wrote: >>> >>> On Mar 21, 2008, at 01:58, Pete Crite wrote: >>> >>>> Oh, and I should also mention a couple of other things. >>>> >>>> Firstly, my installation of macports from the dmg didn't really >>>> work. >>>> I found that there was no ~/.profile file created. I attempted >>>> running the installer twice, but had to create this manually >>>> instead. >>> >>> Yes, unfortunately there is a bug in the 1.6.0 installer packages >>> that prevents this from working properly. You must make the file >>> manually. This problem has already been fixed in trunk but no new >>> installer packages have yet been produced. Sorry about that. >>> >>> >>>> Secondly, despite my threadbare XCode installation, I do find that >>>> some functionality of macports is definitely operational. For >>>> example, "sudo port selfupdate", "port search gnumeric", "port info >>>> gnumeric" all work. Also, "sudo port install gnumeric" did work for >>>> the first half an hour or so of installation. >>> >>> Xcode 2.0 is not acceptable. Please update to Xcode 2.4.1 or 2.5. >>> >>> A few ports will fail to compile if you do not install the >>> QuickTime SDK and I believe one other SDK. I don't recall either >>> what those few ports were, so you may not run into them. >>> >>> >>>> Cheers, >>>> Pete. >>>> >>>> >>>> >>>> On 21/03/2008, at 5:43 PM, Hypo Crite wrote: >>>>> >>>>> Hi, >>>>> >>>>> I'm currently experiencing difficulties installing Gnumeric. I >>>>> installed XCode and macports, then ran "sudo port install >>>>> gnumeric" >>>>> from the terminal. >>>>> >>>>> I got the attached error message when the installer got up to >>>>> python. >>>>> I am using Mac Mini 1.25GHz PPC running OSX 10.4.11. >>>>> >>>>> I may have brought this down on myself with my install of >>>>> XCode. Due >>>>> to low bandwidth, I didn't download the newer version of XCode, >>>>> but >>>>> rather the bundled version (2.0) with my Tiger install disk. >>>>> >>>>> In addition, due to low disk space, I only installed what (I >>>>> thought) >>>>> was the minimum I needed from XCode. This was: >>>>> * Developer Tools Software >>>>> * gcc 4.0 >>>>> * Mac OS X SDK >>>>> * BSD SDK >>>>> * X11 SDK >>>>> I installed only these after viewing numerous different sites and >>>>> cobbling together what I thought was necessary. >>>>> >>>>> Does anyone have any hints? >>>>> >>>>> Thanks in advance, >>>>> Pete. >>>>> >>>>> >>>>> <<<<>>>> >>>>> >>>>> ---> Fetching python25 >>>>> ---> Attempting to fetch Python-2.5.2.tar.bz2 from http:// >>>>> www.python.org//ftp/python/2.5.2/ >>>>> ---> Verifying checksum(s) for python25 >>>>> ---> Extracting python25 >>>>> ---> Applying patches to python25 >>>>> ---> Configuring python25 >>>>> ---> Building python25 with target all >>>>> Error: Target org.macports.build returned: shell command " cd "/ >>>>> opt/ >>>>> local/var/macports/build/ >>>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_l >>>>> ang_ >>>>> py >>>>> thon25/work/Python-2.5.2" && make all " returned error 2 >>>>> Command output: Python/mactoolboxglue.c:425: error: 'cobj' >>>>> undeclared >>>>> (first use in this function) >>>>> Python/mactoolboxglue.c: At top level: >>>>> Python/mactoolboxglue.c:428: warning: parameter names (without >>>>> types) >>>>> in function declaration >>>>> Python/mactoolboxglue.c:428: error: parse error before "cobj" >>>>> Python/mactoolboxglue.c:428: warning: function declaration isn't a >>>>> prototype >>>>> Python/mactoolboxglue.c: In function 'UserDataObj_New': >>>>> Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first >>>>> use in >>>>> this function) >>>>> Python/mactoolboxglue.c: At top level: >>>>> Python/mactoolboxglue.c:429: error: parse error before "UserData" >>>>> Python/mactoolboxglue.c:429: warning: function declaration isn't a >>>>> prototype >>>>> Python/mactoolboxglue.c:429: error: parse error before "UserData" >>>>> Python/mactoolboxglue.c:429: warning: function declaration isn't a >>>>> prototype >>>>> Python/mactoolboxglue.c: In function 'UserDataObj_Convert': >>>>> Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first >>>>> use in >>>>> this function) >>>>> Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first >>>>> use in >>>>> this function) >>>>> Python/mactoolboxglue.c: At top level: >>>>> Python/mactoolboxglue.c:430: warning: parameter names (without >>>>> types) >>>>> in function declaration >>>>> Python/mactoolboxglue.c:430: error: parse error before "cobj" >>>>> Python/mactoolboxglue.c:430: warning: function declaration isn't a >>>>> prototype >>>>> Python/mactoolboxglue.c: In function 'MediaObj_New': >>>>> Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first >>>>> use in >>>>> this function) >>>>> Python/mactoolboxglue.c: At top level: >>>>> Python/mactoolboxglue.c:431: error: parse error before "Media" >>>>> Python/mactoolboxglue.c:431: warning: function declaration isn't a >>>>> prototype >>>>> Python/mactoolboxglue.c:431: error: parse error before "Media" >>>>> Python/mactoolboxglue.c:431: warning: function declaration isn't a >>>>> prototype >>>>> Python/mactoolboxglue.c: In function 'MediaObj_Convert': >>>>> Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first >>>>> use in >>>>> this function) >>>>> Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first >>>>> use in >>>>> this function) >>>>> make: *** [Python/mactoolboxglue.o] Error 1 >>>>> >>>>> Error: The following dependencies failed to build: gnome-doc-utils >>>>> iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject >>>>> py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui >>>>> gnome- >>>>> icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- >>>>> simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo >>>>> fontconfig >>>>> freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto >>>>> xorg-util-macros shared-mime-info tiff libgnomecanvas gail >>>>> intltool >>>>> gnome-common libart_lgpl libglade2 libgnomeprint bison m4 >>>>> libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 >>>>> libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25- >>>>> numpy >>>>> fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk >>>>> gmake >>>>> readline neon >>>>> Error: Status 1 encountered during processing. >>> >>> >>> >> >> >> >> -- >> Lee Yeoh >> >> > > -- Lee Yeoh From mvfranz at gmail.com Fri Mar 21 06:11:44 2008 From: mvfranz at gmail.com (Michael Franz) Date: Fri, 21 Mar 2008 09:11:44 -0400 Subject: gcc43 Released? In-Reply-To: References: Message-ID: On Fri, Mar 21, 2008 at 12:02 AM, Michael Franz wrote: > Hi, > I see that java and fortran are in the default configuration, does that > mean that gcc 4.3 has been released? It seems that the error that I had > before and others have found that the 64 bit version creates bad binaries > that cause problems for the 64 bit ld. Below is the error: > name /opt/local/lib/gcc43/x86_64/libgcj.9.dylib -compatibility_version 10 > -current_version 10.0 > /usr/bin/ld: fatal error in /usr/bin/ld64 > collect2: ld returned 1 exit status > make[5]: *** [libgcj.la] Error 1 > make[4]: *** [all-recursive] Error 1 > make[3]: *** [multi-do] Error 1 > make[2]: *** [all-multi] Error 2 > make[1]: *** [all-target-libjava] Error 2 > make: *** [all] Error 2 > > I found another link that discusses a similar issue with 4.2 > http://gcc.gnu.org/ml/gcc-help/2007-06/msg00025.html . > > I am building on Tiger (10.4.11) with Xcode 2.5 > > Michael > I was able to get gcc43 to build by adding --disable-multilib to the Portfile configuration step. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080321/83e43da1/attachment.html From alejandro.aragon at gmail.com Fri Mar 21 07:44:37 2008 From: alejandro.aragon at gmail.com (Alejandro =?ISO-8859-1?Q?Arag=F3n?=) Date: Fri, 21 Mar 2008 09:44:37 -0500 Subject: GCC compilation time In-Reply-To: <1362148E-7668-4674-9FD8-C7E8AE0AFFA7@macports.org> References: <1362148E-7668-4674-9FD8-C7E8AE0AFFA7@macports.org> Message-ID: <1206110677.5446.3.camel@aaragon-laptop> 1 hour, 40 minutes. GCC is huge! Now that I compiled a newer release of GCC, I can configure a package using ./configure CXX=/opt/local/bin/g++ Now, what it's bothering me, is that when you include a file in the code like #include it will refer to the old gcc library, not to the new one right? Even if I specify the location of the header files with -I/opt/loca/include/gcc, why is the compilation choose my specified files instead of the usual /usr/include files? Please help, aa On Fri, 2008-03-21 at 00:50 -0500, Ryan Schmidt wrote: > On Mar 20, 2008, at 19:45, Alejandro Arag?n wrote: > > > I just wanted to know how much time it takes to GCC43 to compile. > > I've been doing this for more than an hour, and it seems that it's > > never going to end. I'm on a MacBook Pro, Santa Rosa generation. > > Thank you all, > > On a PowerBook G4 1.5 GHz, it took around six hours to compile gcc > 4.something. On a MacBook Pro 2.2 GHz (Santa Rosa), it took between > one and two hours. > From alejandro.aragon at gmail.com Fri Mar 21 07:45:45 2008 From: alejandro.aragon at gmail.com (Alejandro =?ISO-8859-1?Q?Arag=F3n?=) Date: Fri, 21 Mar 2008 09:45:45 -0500 Subject: macports-users Digest, Vol 19, Issue 50 In-Reply-To: References: Message-ID: <1206110745.5446.5.camel@aaragon-laptop> I also tried to compile boost and it failed. Then I used the clean command, compiled again and everything went fine the second time. It seems that the Makefile is corrupted the first time. aa On Thu, 2008-03-20 at 23:43 -0700, macports-users-request at lists.macosforge.org wrote: > Send macports-users mailing list submissions to > macports-users at lists.macosforge.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > or, via email, send a message with subject or body 'help' to > macports-users-request at lists.macosforge.org > > You can reach the person managing the list at > macports-users-owner at lists.macosforge.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of macports-users digest..." > > > Today's Topics: > > 1. Re: GCC compilation time (Thomas Condon) > 2. Re: Boost install failure: seems like makefile configure > (Ryan Schmidt) > 3. Re: gcc43 Released? (Ryan Schmidt) > 4. Re: gtk2 compilation failed (Ryan Schmidt) > 5. Re: GCC compilation time (Ryan Schmidt) > 6. Re: deactivated port issue (Ryan Schmidt) > 7. Re: Boost install failure: seems like makefile configure > (Ryan Schmidt) > 8. Difficulties installing Gnumeric (Hypo Crite) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 20 Mar 2008 22:43:52 -0700 > From: Thomas Condon > Subject: Re: GCC compilation time > To: macports-users at lists.macosforge.org > Message-ID: <47E34B18.2020506 at sounddsl.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > paul beard wrote: > > On Thu, Mar 20, 2008 at 5:47 PM, James Sumners > > wrote: > > > >> GCC can take a _long_ time to compile. > >> > > > > Um, yeah. The first I ever tried to build a new gcc, it took me several > > *days*. But that was a long time ago and a hardware platform far far away > > (you kids ever use a SPARCstation 20?). > > Yes, but I think that came around *after* the PDP 11s, the Varian 620i > and the EAI 8400 (full flight simulation of 747 w/Space Shuttle > piggyback in 48K of *core*)! [Not to mention the Burroughs B-5500 from > college. And I don't even remember the numbers of the patch-cord > computers.] > > > In A Chord, > > Tom Condon > Bass, Agate Passage Quartet > Bass & Proud Member, Kitsap Chordsmen > Dir. Music Education, Evergreen District, BHS > > > ------------------------------ > > Message: 2 > Date: Fri, 21 Mar 2008 00:43:47 -0500 > From: Ryan Schmidt > Subject: Re: Boost install failure: seems like makefile configure > To: Daniel Lord > Cc: macports-users at lists.macosforge.org > Message-ID: <61B27049-59AF-40C2-8513-89FF67C8FD82 at macports.org> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > On Mar 21, 2008, at 00:30, Daniel Lord wrote: > > > My env: Macbook Pro Leopard 10.5.1 with dev tools > > > > Here is the transcript of the install attempt: > > > > $sudo port -v install boost > > ---> Building boost with target all > > Makefile:2: *** missing separator. Stop. > > Error: Target org.macports.build returned: shell command " cd > > "/opt/local/var/macports/build/ > > _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel > > _boost/work/boost_1_34_1" > > && gmake all " returned error 2 > > Command output: Makefile:2: *** missing separator. Stop. > > > > Warning: the following items did not execute (for boost): > > org.macports.activate org.macports.build org.macports.destroot > > org.macports.install > > Error: Status 1 encountered during processing. > > This problem has already been reported: > > http://trac.macosforge.org/projects/macports/ticket/13714 > > Please read through the discussion there. > > > > ------------------------------ > > Message: 3 > Date: Fri, 21 Mar 2008 00:47:12 -0500 > From: Ryan Schmidt > Subject: Re: gcc43 Released? > To: Michael Franz > Cc: Macports-users > Message-ID: <7B9FC097-AE77-4E5D-B747-7296FA57DF4F at macports.org> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > > On Mar 20, 2008, at 23:02, Michael Franz wrote: > > > I see that java and fortran are in the default configuration, does > > that mean that gcc 4.3 has been released? > > http://gcc.gnu.org/ says that gcc 4.3 was released on 2008-03-05. > > > It seems that the error that I had before and others have found > > that the 64 bit version creates bad binaries that cause problems > > for the 64 bit ld. Below is the error: > > name /opt/local/lib/gcc43/x86_64/libgcj.9.dylib - > > compatibility_version 10 -current_version 10.0 > > /usr/bin/ld: fatal error in /usr/bin/ld64 > > collect2: ld returned 1 exit status > > make[5]: *** [libgcj.la] Error 1 > > make[4]: *** [all-recursive] Error 1 > > make[3]: *** [multi-do] Error 1 > > make[2]: *** [all-multi] Error 2 > > make[1]: *** [all-target-libjava] Error 2 > > make: *** [all] Error 2 > > > > I found another link that discusses a similar issue with 4.2 http:// > > gcc.gnu.org/ml/gcc-help/2007-06/msg00025.html . > > > > I am building on Tiger (10.4.11) with Xcode 2.5 > > > > ------------------------------ > > Message: 4 > Date: Fri, 21 Mar 2008 00:49:07 -0500 > From: Ryan Schmidt > Subject: Re: gtk2 compilation failed > To: paul beard > Cc: macports-users at lists.macosforge.org, Alejandro Aragon > > Message-ID: > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > On Mar 20, 2008, at 23:22, paul beard wrote: > > > On Thu, Mar 20, 2008 at 6:50 PM, Alejandro Aragon wrote: > > > >> I was trying to build pidgin, and when compiling gtk2 I had the > >> following error: > >> > >> i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXrandr.2.0.0.dylib: No > >> such file or directory > >> make[4]: *** [libgdk-x11-2.0.la] Error 1 > >> > >> I'm new to Mac OS so I was wondering why this library is not > >> there. Is > >> there an easy way to fix this? > > > > > > You installed the X11 SDK when you installed XCode? And have the > > latest X11 installed? > > > > [/Users/paul]:: locate libXrandr > > /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.2.0.dylib > > /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.2.dylib > > /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.a > > /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/lib/libXrandr.dylib > > /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.2.0.dylib > > /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.2.dylib > > /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.a > > /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/lib/libXrandr.dylib > > /usr/X11R6/lib/libXrandr.2.0.dylib > > /usr/X11R6/lib/libXrandr.2.dylib > > /usr/X11R6/lib/libXrandr.a > > /usr/X11R6/lib/libXrandr.dylib > > Paul, a) you appear to be on 10.4 and the OP is on 10.5 (note > "darwin9" in the compiler name); b) you don't have libXrandr. > 2.0.0.dylib either (though you have libXrandr.2.0.dylib and libXrandr. > 2.dylib). > > > > ------------------------------ > > Message: 5 > Date: Fri, 21 Mar 2008 00:50:39 -0500 > From: Ryan Schmidt > Subject: Re: GCC compilation time > To: Alejandro Arag?n > Cc: macports-users at lists.macosforge.org > Message-ID: <1362148E-7668-4674-9FD8-C7E8AE0AFFA7 at macports.org> > Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed > > On Mar 20, 2008, at 19:45, Alejandro Arag?n wrote: > > > I just wanted to know how much time it takes to GCC43 to compile. > > I've been doing this for more than an hour, and it seems that it's > > never going to end. I'm on a MacBook Pro, Santa Rosa generation. > > Thank you all, > > On a PowerBook G4 1.5 GHz, it took around six hours to compile gcc > 4.something. On a MacBook Pro 2.2 GHz (Santa Rosa), it took between > one and two hours. > > > > ------------------------------ > > Message: 6 > Date: Fri, 21 Mar 2008 01:15:20 -0500 > From: Ryan Schmidt > Subject: Re: deactivated port issue > To: Rainer M?ller > Cc: Users MacPorts > Message-ID: <517BA34A-5E82-4C62-A257-DF62F79A4EC7 at macports.org> > Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed > > On Mar 20, 2008, at 18:33, Rainer M?ller wrote: > > > Mark Wilden wrote: > > > >> Let it be said, however, that not everyone agrees. When I've read all > >> the other messages already, I don't like having to scroll. > > > > So only quote the relevant part you are referring to - as I do here. > > > > A: Because it messes up the order in which people normally read text. > > Q: Why is top-posting such a bad thing? > > A: Top-posting. > > Q: What is the most annoying thing in e-mail? > > > > Very helpful: http://en.wikipedia.org/wiki/Posting_style > > We need an official document on mailing list etiquette on the > MacPorts site. We currently only provide a link to an external > document [1] but that document does not mention quoting. We need > something like what the Subversion project has [2]. I am still > strongly in favor of bottom-posting, or rather, interleaved posting. > > [1] http://www.macports.org/contact.php#Lists says "Members are > expected to abide by the very simple Netiquette guidelines" and links > to http://www.dtcc.edu/cs/rfc1855.html > > [2] http://subversion.tigris.org/mailing-list-guidelines.html > > > > > ------------------------------ > > Message: 7 > Date: Fri, 21 Mar 2008 01:17:57 -0500 > From: Ryan Schmidt > Subject: Re: Boost install failure: seems like makefile configure > To: Daniel Lord > Cc: Users MacPorts > Message-ID: > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > On Mar 21, 2008, at 01:03, Daniel Lord wrote: > > > On 3/20/08, Ryan Schmidt wrote: > > > >> On Mar 21, 2008, at 00:30, Daniel Lord wrote: > >> > >> > My env: Macbook Pro Leopard 10.5.1 with dev tools > >> > > >> > Here is the transcript of the install attempt: > >> > > >> > $sudo port -v install boost > >> > ---> Building boost with target all > >> > Makefile:2: *** missing separator. Stop. > >> > Error: Target org.macports.build returned: shell command " cd > >> > "/opt/local/var/macports/build/ > >> > > >> _opt_local_var_macports_sources_rsync.macports.org_release_ports_deve > >> l > >> > _boost/work/boost_1_34_1" > >> > && gmake all " returned error 2 > >> > Command output: Makefile:2: *** missing separator. Stop. > >> > > >> > Warning: the following items did not execute (for boost): > >> > org.macports.activate org.macports.build org.macports.destroot > >> > org.macports.install > >> > Error: Status 1 encountered during processing. > >> > >> This problem has already been reported: > >> > >> http://trac.macosforge.org/projects/macports/ticket/13714 > >> > >> Please read through the discussion there. > > > > Sure, but strangely, the second attempt is building !?!?!?! > > I did nothing, just started the 'port instal'l again and now it > > sailed through ( though still not complete as I write this). > > I have to wonder if the Macport doesn't take into account all > > states the build might encounter and that there is some race > > condition in prequisites. A race condition that goes away after one > > install attempt because a file or directory was made before bailing > > whose absebce caused teh bail out...or something...I don't have a > > clue. All I know is it is strange. > > I couldn't say. > > Don't forget to reply to the list too, not just to me, for the > benefit of anyone else reading this thread. > > > > ------------------------------ > > Message: 8 > Date: Fri, 21 Mar 2008 17:43:41 +1100 > From: Hypo Crite > Subject: Difficulties installing Gnumeric > To: macports-users at lists.macosforge.org > Message-ID: <8EAB1137-1057-4429-B3B5-4DB7F262B57D at lawyer.com> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > Hi, > > I'm currently experiencing difficulties installing Gnumeric. I > installed XCode and macports, then ran "sudo port install gnumeric" > from the terminal. > > I got the attached error message when the installer got up to python. > I am using Mac Mini 1.25GHz PPC running OSX 10.4.11. > > I may have brought this down on myself with my install of XCode. Due > to low bandwidth, I didn't download the newer version of XCode, but > rather the bundled version (2.0) with my Tiger install disk. > > In addition, due to low disk space, I only installed what (I thought) > was the minimum I needed from XCode. This was: > * Developer Tools Software > * gcc 4.0 > * Mac OS X SDK > * BSD SDK > * X11 SDK > I installed only these after viewing numerous different sites and > cobbling together what I thought was necessary. > > Does anyone have any hints? > > Thanks in advance, > Pete. > > > <<<<>>>> > > ---> Fetching python25 > ---> Attempting to fetch Python-2.5.2.tar.bz2 from http:// > www.python.org//ftp/python/2.5.2/ > ---> Verifying checksum(s) for python25 > ---> Extracting python25 > ---> Applying patches to python25 > ---> Configuring python25 > ---> Building python25 with target all > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_py > thon25/work/Python-2.5.2" && make all " returned error 2 > Command output: Python/mactoolboxglue.c:425: error: 'cobj' undeclared > (first use in this function) > Python/mactoolboxglue.c: At top level: > Python/mactoolboxglue.c:428: warning: parameter names (without types) > in function declaration > Python/mactoolboxglue.c:428: error: parse error before "cobj" > Python/mactoolboxglue.c:428: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c: In function 'UserDataObj_New': > Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first use in > this function) > Python/mactoolboxglue.c: At top level: > Python/mactoolboxglue.c:429: error: parse error before "UserData" > Python/mactoolboxglue.c:429: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c:429: error: parse error before "UserData" > Python/mactoolboxglue.c:429: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c: In function 'UserDataObj_Convert': > Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first use in > this function) > Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first use in > this function) > Python/mactoolboxglue.c: At top level: > Python/mactoolboxglue.c:430: warning: parameter names (without types) > in function declaration > Python/mactoolboxglue.c:430: error: parse error before "cobj" > Python/mactoolboxglue.c:430: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c: In function 'MediaObj_New': > Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first use in > this function) > Python/mactoolboxglue.c: At top level: > Python/mactoolboxglue.c:431: error: parse error before "Media" > Python/mactoolboxglue.c:431: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c:431: error: parse error before "Media" > Python/mactoolboxglue.c:431: warning: function declaration isn't a > prototype > Python/mactoolboxglue.c: In function 'MediaObj_Convert': > Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first use in > this function) > Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first use in > this function) > make: *** [Python/mactoolboxglue.o] Error 1 > > Error: The following dependencies failed to build: gnome-doc-utils > iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject > py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui gnome- > icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- > simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo fontconfig > freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto > xorg-util-macros shared-mime-info tiff libgnomecanvas gail intltool > gnome-common libart_lgpl libglade2 libgnomeprint bison m4 > libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 > libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25-numpy > fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk gmake > readline neon > Error: Status 1 encountered during processing. > > > ------------------------------ > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > > End of macports-users Digest, Vol 19, Issue 50 > ********************************************** From daniel at brightfire.com Fri Mar 21 07:49:57 2008 From: daniel at brightfire.com (Daniel Lord) Date: Fri, 21 Mar 2008 07:49:57 -0700 Subject: Fwd: Boost install failure: seems like makefile configure In-Reply-To: References: <2ad40b840803202230v1fea6785p73068a67f178fd2e@mail.gmail.com> <61B27049-59AF-40C2-8513-89FF67C8FD82@macports.org> <2ad40b840803202303t2dbbf1e9y3e2a4ac7744015df@mail.gmail.com> Message-ID: <2ad40b840803210749p30376017wf8e45392bfc2f066@mail.gmail.com> Update on Macports boost-1_34_1 install failure. Tried a second time without doing anything and there were no errors. Not sure what that means for the developers of the port, but for users it means: "if at first port doesn't succedd, try again" I still think we should report such occurrences as a bug that same way most comiler warnings should be heeded: it indicates something is a miss that might causes trouble later. ---------- Forwarded message ---------- From: Ryan Schmidt Date: Mar 20, 2008 11:17 PM Subject: Re: Boost install failure: seems like makefile configure To: Daniel Lord Cc: Users MacPorts On Mar 21, 2008, at 01:03, Daniel Lord wrote: > On 3/20/08, Ryan Schmidt wrote: > >> On Mar 21, 2008, at 00:30, Daniel Lord wrote: >> >> > My env: Macbook Pro Leopard 10.5.1 with dev tools >> > >> > Here is the transcript of the install attempt: >> > >> > $sudo port -v install boost >> > ---> Building boost with target all >> > Makefile:2: *** missing separator. Stop. >> > Error: Target org.macports.build returned: shell command " cd >> > "/opt/local/var/macports/build/ >> > >> _opt_local_var_macports_sources_rsync.macports.org_release_ports_deve >> l >> > _boost/work/boost_1_34_1" >> > && gmake all " returned error 2 >> > Command output: Makefile:2: *** missing separator. Stop. >> > >> > Warning: the following items did not execute (for boost): >> > org.macports.activate org.macports.build org.macports.destroot >> > org.macports.install >> > Error: Status 1 encountered during processing. >> >> This problem has already been reported: >> >> http://trac.macosforge.org/projects/macports/ticket/13714 >> >> Please read through the discussion there. > > Sure, but strangely, the second attempt is building !?!?!?! > I did nothing, just started the 'port instal'l again and now it > sailed through ( though still not complete as I write this). > I have to wonder if the Macport doesn't take into account all > states the build might encounter and that there is some race > condition in prequisites. A race condition that goes away after one > install attempt because a file or directory was made before bailing > whose absebce caused teh bail out...or something...I don't have a > clue. All I know is it is strange. I couldn't say. Don't forget to reply to the list too, not just to me, for the benefit of anyone else reading this thread. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080321/28422ef0/attachment.html From james.sumners at gmail.com Fri Mar 21 08:02:24 2008 From: james.sumners at gmail.com (James Sumners) Date: Fri, 21 Mar 2008 11:02:24 -0400 Subject: GCC compilation time In-Reply-To: References: <1362148E-7668-4674-9FD8-C7E8AE0AFFA7@macports.org> <1206110677.5446.3.camel@aaragon-laptop> Message-ID: *grumbledamnnodefaultreplytolistgrumble* On Fri, Mar 21, 2008 at 11:01 AM, James Sumners wrote: > How about `gcc -L/opt/local/include/gcc`? > > On Fri, Mar 21, 2008 at 10:44 AM, Alejandro Arag?n > > wrote: > > > > 1 hour, 40 minutes. GCC is huge! > > Now that I compiled a newer release of GCC, I can configure a package > > using > > ./configure CXX=/opt/local/bin/g++ > > > > Now, what it's bothering me, is that when you include a file in the code > > like > > #include > > > > it will refer to the old gcc library, not to the new one right? Even if > > I specify the location of the header files with -I/opt/loca/include/gcc, > > why is the compilation choose my specified files instead of the > > usual /usr/include files? > > > > Please help, > > > > aa > > -- James Sumners http://james.roomfullofmirrors.com/ "All governments suffer a recurring problem: Power attracts pathological personalities. It is not that power corrupts but that it is magnetic to the corruptible. Such people have a tendency to become drunk on violence, a condition to which they are quickly addicted." Missionaria Protectiva, Text QIV (decto) CH:D 59 From kevin at kevinkempterllc.com Fri Mar 21 08:31:13 2008 From: kevin at kevinkempterllc.com (kkempter) Date: Fri, 21 Mar 2008 09:31:13 -0600 Subject: KDE on mac? Message-ID: <47E3D4C1.1080507@kevinkempterllc.com> Hi List; Has anyone installed KDE via macports? Does it change the mac interface or just make available the KDE applications? Anyone had any experiences to share? Thanks in advanced... From paul at gracion.com Fri Mar 21 08:45:36 2008 From: paul at gracion.com (Paul Collins) Date: Fri, 21 Mar 2008 08:45:36 -0700 Subject: php 5.2.5, entropy.ch binary vs MacPorts In-Reply-To: References: Message-ID: <7E424FE4-7360-4E37-A676-EF0121CB9E7E@gracion.com> On Mar 19, 2008, at 8:56 PM, Ryan Schmidt wrote: > Using the +apache variant of the php5 port will use Apple's Apache > 1.3 server. This option will be renamed to +apache_apple in the > future. Aha! Thanks Ryan - we've decided to use just that. I've got it working on my test server (did have to rebuild curl with ssl support to do outbound https in a php script). Now I know to look in the portfile to learn more about variants (Porticus even has a menu command for that). > > If you are using Apple's Apache 2 server, for example with Mac OS X > Server or with Leopard, there is no option to make the php5 port > work with that at this time. There will be an option +apache2_apple > in the future for this. Our second choice was to upgrade our server to Mac OS X 10.5.x Client, now that Apple's security update upgraded their php to 5.2.5. But for now, that won't be necessary, and MacPorts has been able to release php updates earlier than Apple or even the greatly esteemed Marc Liyanage at entropy.ch (who still provides a terrific service to the Mac community, for free). --Paul Collins ** Gracion Software LLC http://www.gracion.com/ ** Enclose - removes the email attachment bottleneck ** DigiTunnel 1.4 PPTP/VPN client for OS X ** Pronto Patent - search/download US patents fast From queshaw at pacbell.net Fri Mar 21 09:42:27 2008 From: queshaw at pacbell.net (Kendall Shaw) Date: Fri, 21 Mar 2008 09:42:27 -0700 Subject: What does port -R do? Message-ID: <47E3E573.50403@pacbell.net> It looks like it attempts to upgrade all outdated ports, regardless of what port I specify. In any case, I see it attempts to upgrade ports that are not dependents of the port that I specify. From alejandro.aragon at gmail.com Fri Mar 21 09:49:06 2008 From: alejandro.aragon at gmail.com (Alejandro Aragon) Date: Fri, 21 Mar 2008 11:49:06 -0500 Subject: GCC questions Message-ID: <4FAE5B11-E2D3-49ED-BF15-A88EB974DF37@gmail.com> Hello everyone, I have several questions about using a different version of GCC than that provided by default: $ gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- checking -enable-werror --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465) I built GCC43 and I have it under /opt/local/bin. I write code in C++ and I'm new to mac. I come from Ubuntu Linux, and it installs the latest GNU compiler by default. Now the questions are: 1. I use autotools for a project, so I can specify in the configure script that the compiler be different from the default found in /usr/ bin using compiler flags: $./configure CXX=/opt/include/bin/g++- mp-4.3. Is there a better way to do this? I wonder what's usually done. I see that g++ in /usr/bin is just a link to /usr/bin/g++-4.0. If I change that link to point to the 4.3 version, I would probably mess around with the system and I don't want to do that. Can anyone give me suggestions on what to do here? 2. Every time you #include a C++ header, I guess it looks under the / usr/include directory first. Even if I specify that I want the directory as a compilation flag as -I/opt/local/include/gcc43/c++/, I don't think that the file under that directory will be picked instead of the one installed in the system by default (/usr/include/c++/ 4.0.0). I'm worried that I am using a newer gcc compiler with older header files. 3. When I type echo $PATH I get /sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/ sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/X11R6/bin so I guess whatever installed using macports will have priority over anything else. Is there a way to accomplish the same with include paths? Thank you all, aa From peter at pogma.com Fri Mar 21 10:15:11 2008 From: peter at pogma.com (Peter O'Gorman) Date: Fri, 21 Mar 2008 12:15:11 -0500 Subject: GCC questions In-Reply-To: <4FAE5B11-E2D3-49ED-BF15-A88EB974DF37@gmail.com> References: <4FAE5B11-E2D3-49ED-BF15-A88EB974DF37@gmail.com> Message-ID: <47E3ED1F.9090100@pogma.com> Alejandro Aragon wrote: > Hello everyone, > > I have several questions about using a different version of GCC than > that provided by default: > > $ gcc -v > Using built-in specs. > Target: i686-apple-darwin9 > Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable- > checking -enable-werror --prefix=/usr --mandir=/share/man --enable- > languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/ > $/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/ > lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic -- > host=i686-apple-darwin9 --target=i686-apple-darwin9 > Thread model: posix > gcc version 4.0.1 (Apple Inc. build 5465) > > I built GCC43 and I have it under /opt/local/bin. I write code in C++ > and I'm new to mac. I come from Ubuntu Linux, and it installs the > latest GNU compiler by default. Now the questions are: > > 1. I use autotools for a project, so I can specify in the configure > script that the compiler be different from the default found in /usr/ > bin using compiler flags: $./configure CXX=/opt/include/bin/g++- > mp-4.3. Is there a better way to do this? I wonder what's usually > done. I see that g++ in /usr/bin is just a link to /usr/bin/g++-4.0. > If I change that link to point to the 4.3 version, I would probably > mess around with the system and I don't want to do that. Can anyone > give me suggestions on what to do here? Setting CC/CXX as configure arguments is the way to go with configure generated by autoconf-2.5.x (for autoconf-2.13 generated configure scripts you should set them and export them in the environment). You do not need to set to the full path, just, e.g. CC=gcc-mp-4.3 CXX=gcc-mp-4.3 etc. If you usually want to do that you can have a config.site that sets them as the default if not already set. See the autoconf manual for an example of how to do this. > > 2. Every time you #include a C++ header, I guess it looks under the / > usr/include directory first. Even if I specify that I want the > directory as a compilation flag as -I/opt/local/include/gcc43/c++/, I > don't think that the file under that directory will be picked instead > of the one installed in the system by default (/usr/include/c++/ > 4.0.0). I'm worried that I am using a newer gcc compiler with older > header files. Header files are searched for in all the paths specified with -I before looking in the system paths. Something like ` g++-mp-4.3 -v -x c++ -E /dev/null' will show you the system search paths for the macports 4.3 compiler. You can add additional paths with the environment variable CPATH - see man gcc. That said, however, the macports g++ will have set its include search path to search for its own headers before the systems, it is nothing to worry about. > > 3. When I type echo $PATH I get > > /sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/ > sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/X11R6/bin > > so I guess whatever installed using macports will have priority over > anything else. Is there a way to accomplish the same with include paths? Well, looks like whatever is installed by fink will have priority, then macports, then system etc. You really should not need to worry about setting system include paths, the compiler will have a sane search path. Peter -- Peter O'Gorman http://pogma.com From vivacarlie at gmail.com Fri Mar 21 10:48:57 2008 From: vivacarlie at gmail.com (Nehemiah Dacres) Date: Fri, 21 Mar 2008 12:48:57 -0500 Subject: KDE on mac? Message-ID: <65fadfc30803211048k7ce19b7dsc273b9b03abaad5a@mail.gmail.com> It simply makes available all the kde applications and starts the kicker at login note the portfile http://trac.macports.org/projects/macports/browser/trunk/dports/kde/kde/Portfile -- "lalalalala! it's not broken because I can use it" http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080321/7673b775/attachment.html From frstan at bellsouth.net Fri Mar 21 10:52:00 2008 From: frstan at bellsouth.net (William Davis) Date: Fri, 21 Mar 2008 13:52:00 -0400 Subject: configure: error: C compiler cannot create executables Message-ID: I am getting this same "complier can not create executables" error in 5 or 6 different ports. this one is specifically vim-app: configure: creating cache auto/config.cache checking whether make sets $(MAKE)... no checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. 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_editors_vim-app/work/vim71" && ./configure --prefix=/Applications/MacPorts/ --enable-gui=carbon --without-x -- disable-gpm --mandir=/opt/local/share/man --with-tlib=ncurses --enable- multibyte " returned error 77 Command output: configure: creating cache auto/config.cache checking whether make sets $(MAKE)... no checking for gcc... /usr/bin/gcc-4.0 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. Warning: the following items did not execute (for vim-app): org.macports.destroot org.macports.configure org.macports.build DEBUG: Error: Unable to upgrade port: 1 William Davis frstanATbellsouthDOTnet Mac OS X.5.2 Darwin 9.2.0 XQuartz 2.1.4 - (xorg-server 1.3.0-apple10) Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non From kuepper.jochen at googlemail.com Fri Mar 21 10:54:55 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Fri, 21 Mar 2008 18:54:55 +0100 Subject: GCC questions In-Reply-To: <4FAE5B11-E2D3-49ED-BF15-A88EB974DF37@gmail.com> References: <4FAE5B11-E2D3-49ED-BF15-A88EB974DF37@gmail.com> Message-ID: <5BB7541D-34D8-4B70-8740-9D3E539A6638@googlemail.com> On 21.03.2008, at 17:49, Alejandro Aragon wrote: > 1. I use autotools for a project, so I can specify in the configure > script that the compiler be different from the default found in /usr/ > bin using compiler flags: $./configure CXX=/opt/include/bin/g++- > mp-4.3. Is there a better way to do this? You could set CXX in /etc/cshrc or euivalent. > Every time you #include a C++ header, I guess it looks under the / > usr/include directory first. See CPLUS_INCLUDE_PATH > 3. When I type echo $PATH I get > > /sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/ > sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin:/usr/X11R6/bin Do you still have fink around in /sw? That's bound to be messy, I've heard... Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert?, ?galit?, Fraternit? GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080321/db9ca3ba/attachment.bin From wsiegrist at apple.com Fri Mar 21 11:07:42 2008 From: wsiegrist at apple.com (William Siegrist) Date: Fri, 21 Mar 2008 11:07:42 -0700 Subject: configure: error: C compiler cannot create executables In-Reply-To: References: Message-ID: Do you have XCode installed? -Bill On Mar 21, 2008, at 10:52 AM, William Davis wrote: > I am getting this same "complier can not create executables" error in > 5 or 6 different ports. > this one is specifically vim-app: > > configure: creating cache auto/config.cache > checking whether make sets $(MAKE)... no > checking for gcc... /usr/bin/gcc-4.0 > checking for C compiler default output file name... configure: error: > C compiler cannot create executables > See `config.log' for more details. > 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_editors_vim-app/work/vim71" && ./configure > --prefix=/Applications/MacPorts/ --enable-gui=carbon --without-x -- > disable-gpm --mandir=/opt/local/share/man --with-tlib=ncurses -- > enable- > multibyte " returned error 77 > Command output: configure: creating cache auto/config.cache > checking whether make sets $(MAKE)... no > checking for gcc... /usr/bin/gcc-4.0 > checking for C compiler default output file name... configure: error: > C compiler cannot create executables > See `config.log' for more details. > > Warning: the following items did not execute (for vim-app): > org.macports.destroot org.macports.configure org.macports.build > DEBUG: > Error: Unable to upgrade port: 1 > > > William Davis > frstanATbellsouthDOTnet > Mac OS X.5.2 Darwin 9.2.0 > XQuartz 2.1.4 - (xorg-server 1.3.0-apple10) > Mac Mini Intel Duo @ 1.86 GHz > > Mundus vult decepi, ego non > > _______________________________________________ > 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/20080321/1da44875/attachment.bin From frstan at bellsouth.net Fri Mar 21 11:50:45 2008 From: frstan at bellsouth.net (William Davis) Date: Fri, 21 Mar 2008 14:50:45 -0400 Subject: configure: error: C compiler cannot create executables In-Reply-To: References: Message-ID: <5E293B85-5CAB-4051-A793-8C8B0A811A0A@bellsouth.net> That was it! I had reinstalled 10.5 .0 and re-upgraded (dont ask) but overlooked the need to re-install XCode. thanks Bill W.D. On Mar 21, 2008, at 2:07 PM, William Siegrist wrote: > Do you have XCode installed? > > > -Bill > > On Mar 21, 2008, at 10:52 AM, William Davis wrote: >> I am getting this same "complier can not create executables" error in >> 5 or 6 different ports. >> this one is specifically vim-app: >> >> configure: creating cache auto/config.cache >> checking whether make sets $(MAKE)... no >> checking for gcc... /usr/bin/gcc-4.0 >> checking for C compiler default output file name... configure: error: >> C compiler cannot create executables >> See `config.log' for more details. >> 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_editors_vim-app/work/vim71" && ./ >> configure >> --prefix=/Applications/MacPorts/ --enable-gui=carbon --without-x -- >> disable-gpm --mandir=/opt/local/share/man --with-tlib=ncurses -- >> enable- >> multibyte " returned error 77 >> Command output: configure: creating cache auto/config.cache >> checking whether make sets $(MAKE)... no >> checking for gcc... /usr/bin/gcc-4.0 >> checking for C compiler default output file name... configure: error: >> C compiler cannot create executables >> See `config.log' for more details. >> >> Warning: the following items did not execute (for vim-app): >> org.macports.destroot org.macports.configure org.macports.build >> DEBUG: >> Error: Unable to upgrade port: 1 >> >> >> William Davis >> frstanATbellsouthDOTnet >> Mac OS X.5.2 Darwin 9.2.0 >> XQuartz 2.1.4 - (xorg-server 1.3.0-apple10) >> Mac Mini Intel Duo @ 1.86 GHz >> >> Mundus vult decepi, ego non >> >> _______________________________________________ >> 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 > > > > > William Davis frstanATbellsouthDOTnet Mac OS X.5.2 Darwin 9.2.0 XQuartz 2.1.4 - (xorg-server 1.3.0-apple10) Mac Mini Intel Duo @ 1.86 GHz Mundus vult decepi, ego non From kuepper.jochen at googlemail.com Fri Mar 21 13:33:39 2008 From: kuepper.jochen at googlemail.com (=?ISO-8859-1?Q?Jochen_K=FCpper?=) Date: Fri, 21 Mar 2008 21:33:39 +0100 Subject: GCC questions In-Reply-To: References: <4FAE5B11-E2D3-49ED-BF15-A88EB974DF37@gmail.com> <5BB7541D-34D8-4B70-8740-9D3E539A6638@googlemail.com> Message-ID: Please reply to he list... On 21.03.2008, at 19:11, Alejandro Aragon wrote: > Thanks for replying. If I set the environmental variable CXX > in .bashrc or .profile, it will only be used from the terminal, > right? In my case I'm using Eclipse to write C++ code. Well, then you should use ~/.MacOSX/environment.plist > When you mention the CPLUS_INCLUDE_PATH, where is this supposed to > be located? There is no environmental variable with that name. If you create one, there is one. See the g++ documentation for details. > I'm new to Mac, so I've been trying both fink and macports to see > which one I like the most. Now that I have everything that I need > working with macports, I don't see any reason to keep fink, right? correct Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Libert?, ?galit?, Fraternit? GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080321/ff186c5f/attachment.bin From queshaw at pacbell.net Fri Mar 21 16:15:41 2008 From: queshaw at pacbell.net (Kendall Shaw) Date: Fri, 21 Mar 2008 16:15:41 -0700 Subject: Info about port variants Message-ID: <47E4419D.9050306@pacbell.net> I think it would be nice if there was more than a token describing port variants. For example, when I see the "server" variant of mysql5, I don't know if that means some sort of bare-bones version, or if it means that it's configured to start automatically. I gather it's the later, but it would be nice to have it stated explicitly what it does. From raimue at macports.org Fri Mar 21 17:00:32 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sat, 22 Mar 2008 01:00:32 +0100 Subject: Info about port variants In-Reply-To: <47E4419D.9050306@pacbell.net> References: <47E4419D.9050306@pacbell.net> Message-ID: <47E44C20.1050407@macports.org> Kendall Shaw wrote: > I think it would be nice if there was more than a token describing port > variants. For example, when I see the "server" variant of mysql5, I > don't know if that means some sort of bare-bones version, or if it means > that it's configured to start automatically. I gather it's the later, > but it would be nice to have it stated explicitly what it does. Usually, look at 'port variants $portname'. In case of mysql5, there is no variant description for +server, so you would have to look at the Portfile itself (in various ways, 'port (cat|file|edit) $portname') to find out more. Rainer From marc at let.de Fri Mar 21 17:03:15 2008 From: marc at let.de (Marc Manthey) Date: Sat, 22 Mar 2008 01:03:15 +0100 Subject: changing perl path to "/opt/local/bin/perl5.8.8" Message-ID: <1B317579-3C6E-4F90-B101-1CEDFE1D9DCF@let.de> hello list, i would like to run a little "analysis tool " whitch is writen in perl on my leopard ppc mac. After upgrading my perl librarys *) on OSX PPC with macports I need to change the systemwide variable for using perl5.8.8 to /opt/local/bin/perl5.8.8 instead of using /usr/bin/perl5.8.8 could someone provide me a comand line for dummys to change it ;) ? thanks a lot marc -- *) -----> Activating zlib 1.2.3_1 ---> Activating freetype 2.3.5_1 --> Activating libart_lgpl 2.3.20_0 ---> Activating libpng 1.2.25_0 ---> Activating tcl 8.5.1_0 ---> Activating cgilib 0.5_3 ---> Cleaning cgilib ---> Activatin rrdtool 1.2.27_0 ---> Activatin pkgconfig 0.23_0 ---> Activating libxml 1.8.17_0 ---> Activating p5-xml-namespacesupport 1.09_0 ---> Activating p5-xml-sax-expat 0.39_0 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080322/e3790049/attachment.html From paulbeard at gmail.com Fri Mar 21 19:51:00 2008 From: paulbeard at gmail.com (paul beard) Date: Fri, 21 Mar 2008 19:51:00 -0700 Subject: Info about port variants In-Reply-To: <47E44C20.1050407@macports.org> References: <47E4419D.9050306@pacbell.net> <47E44C20.1050407@macports.org> Message-ID: On Fri, Mar 21, 2008 at 5:00 PM, Rainer M?ller wrote: > Kendall Shaw wrote: > > I think it would be nice if there was more than a token describing port > > variants. For example, when I see the "server" variant of mysql5, I > > don't know if that means some sort of bare-bones version, or if it means > > that it's configured to start automatically. I gather it's the later, > > but it would be nice to have it stated explicitly what it does. > > Usually, look at 'port variants $portname'. In case of mysql5, there is > no variant description for +server, so you would have to look at the > Portfile itself (in various ways, 'port (cat|file|edit) $portname') to > find out more. > I get the feeling that MacPorts is becoming less friendly as it goes along. Do any of these questions get re-factored into RFEs? Yes, I know it's a volunteer project, but I have to think that some of the questions are pointing out some things that could be improved. -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080321/8929ffb1/attachment.html From paulbeard at gmail.com Fri Mar 21 20:15:32 2008 From: paulbeard at gmail.com (paul beard) Date: Fri, 21 Mar 2008 20:15:32 -0700 Subject: changing perl path to "/opt/local/bin/perl5.8.8" In-Reply-To: <1B317579-3C6E-4F90-B101-1CEDFE1D9DCF@let.de> References: <1B317579-3C6E-4F90-B101-1CEDFE1D9DCF@let.de> Message-ID: On Fri, Mar 21, 2008 at 5:03 PM, Marc Manthey wrote: > hello list, > > i would like to run a little "analysis tool " whitch is writen in perl on > my leopard ppc mac. After upgrading my perl librarys *) on OSX PPC with > macports > I need to change the systemwide variable for using perl5.8.8 to > > */opt/local/bin/perl5.8.8 * > > instead of using > > */usr/bin/perl5.8.8* > > could someone provide me a comand line for dummys to change it ;) ? > use the PATH, Luke. What does "echo $PATH" tell you? -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080321/c60f42aa/attachment.html From ryandesign at macports.org Fri Mar 21 22:07:43 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 22 Mar 2008 00:07:43 -0500 Subject: Info about port variants In-Reply-To: References: <47E4419D.9050306@pacbell.net> <47E44C20.1050407@macports.org> Message-ID: <859F4D87-A08E-40D7-9B91-429E42F9764D@macports.org> On Mar 21, 2008, at 21:51, paul beard wrote: > On Fri, Mar 21, 2008 at 5:00 PM, Rainer M?ller wrote: > >> Kendall Shaw wrote: >> >> > I think it would be nice if there was more than a token >> describing port >> > variants. For example, when I see the "server" variant of mysql5, I >> > don't know if that means some sort of bare-bones version, or if >> it means >> > that it's configured to start automatically. I gather it's the >> later, >> > but it would be nice to have it stated explicitly what it does. >> >> Usually, look at 'port variants $portname'. In case of mysql5, >> there is >> no variant description for +server, so you would have to look at the >> Portfile itself (in various ways, 'port (cat|file|edit) >> $portname') to >> find out more. > > > I get the feeling that MacPorts is becoming less friendly as it > goes along. Do any of these questions get re-factored into RFEs? > Yes, I know it's a volunteer project, but I have to think that > some of the questions are pointing out some things that could be > improved. You're welcome to file an enhancement request in the issue tracker. But this particular request would be rather involved. It would require the authors of all ports to make their variant descriptions more explicit. We only added variant descriptions of any kind fairly recently, and many ports still don't have any variant descriptions. Also, half of our ports are unmaintained. So there are a number of problems getting this request implemented. We also don't have enough people making things happen in the project. There are many good suggestions for both port and base improvements in the issue tracker that aren't getting handled because nobody takes it upon themselves to handle it. The existing set of committers can only do so much. From marc at let.de Sat Mar 22 02:10:40 2008 From: marc at let.de (Marc Manthey) Date: Sat, 22 Mar 2008 10:10:40 +0100 Subject: changing perl path to "/opt/local/bin/perl5.8.8" In-Reply-To: References: <1B317579-3C6E-4F90-B101-1CEDFE1D9DCF@let.de> Message-ID: <4FC38BB7-E5AE-4D0B-9C79-8E4891ECBAAD@let.de> Am 22.03.2008 um 04:15 schrieb paul beard: > On Fri, Mar 21, 2008 at 5:03 PM, Marc Manthey wrote: > hello list, > > i would like to run a little "analysis tool " whitch is writen in > perl on my leopard ppc mac. > After upgrading my perl librarys *) on OSX PPC with macports > I need to change the systemwide variable for using perl5.8.8 to > > /opt/local/bin/perl5.8.8 > > instead of using > > /usr/bin/perl5.8.8 > > could someone provide me a comand line for dummys to change it ;) ? > use the PATH, Luke. morning paul , all :) > What does "echo $PATH" tell you? mini:~ mini$ echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin and now ? Marc -- Quid tacet, consentire videtur. Wer schweigt, scheint zuzustimmen. Marc Manthey - Hildeboldplatz 1a D - 50672 K?ln - Germany Tel.:0049-221-3558032 Mobil:0049-1577-3329231 jabber :marc at kgraff.net blog : http://www.let.de ipv6 http://stattfernsehen.com From ryandesign at macports.org Sat Mar 22 03:54:36 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 22 Mar 2008 05:54:36 -0500 Subject: changing perl path to "/opt/local/bin/perl5.8.8" In-Reply-To: <4FC38BB7-E5AE-4D0B-9C79-8E4891ECBAAD@let.de> References: <1B317579-3C6E-4F90-B101-1CEDFE1D9DCF@let.de> <4FC38BB7-E5AE-4D0B-9C79-8E4891ECBAAD@let.de> Message-ID: <76634615-F873-477A-8E6F-747003053DBC@macports.org> On Mar 22, 2008, at 04:10, Marc Manthey wrote: > Am 22.03.2008 um 04:15 schrieb paul beard: > >> On Fri, Mar 21, 2008 at 5:03 PM, Marc Manthey wrote: >> >>> i would like to run a little "analysis tool " whitch is writen in >>> perl on my leopard ppc mac. >>> After upgrading my perl librarys *) on OSX PPC with macports >>> I need to change the systemwide variable for using perl5.8.8 to >>> >>> /opt/local/bin/perl5.8.8 >>> >>> instead of using >>> >>> /usr/bin/perl5.8.8 >>> >>> could someone provide me a comand line for dummys to change >>> it ;) ? >> >> What does "echo $PATH" tell you? > > mini:~ mini$ echo $PATH > /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin > > and now ? And now you set up your PATH to include /opt/local/bin as advised in the MacPorts guide: http://guide.macports.org/#installing.shell From marc at let.de Sat Mar 22 04:04:38 2008 From: marc at let.de (Marc Manthey) Date: Sat, 22 Mar 2008 12:04:38 +0100 Subject: changing perl path to "/opt/local/bin/perl5.8.8" In-Reply-To: <76634615-F873-477A-8E6F-747003053DBC@macports.org> References: <1B317579-3C6E-4F90-B101-1CEDFE1D9DCF@let.de> <4FC38BB7-E5AE-4D0B-9C79-8E4891ECBAAD@let.de> <76634615-F873-477A-8E6F-747003053DBC@macports.org> Message-ID: <579E70BA-46FC-48E6-9D7E-F550A2B10B88@let.de> Am 22.03.2008 um 11:54 schrieb Ryan Schmidt: > On Mar 22, 2008, at 04:10, Marc Manthey wrote: > >> Am 22.03.2008 um 04:15 schrieb paul beard: >> >>> On Fri, Mar 21, 2008 at 5:03 PM, Marc Manthey wrote: >>> >>>> i would like to run a little "analysis tool " whitch is writen in >>>> perl on my leopard ppc mac. >>>> After upgrading my perl librarys *) on OSX PPC with macports >>>> I need to change the systemwide variable for using perl5.8.8 to >>>> >>>> /opt/local/bin/perl5.8.8 >>>> >>>> instead of using >>>> >>>> /usr/bin/perl5.8.8 >>>> >>>> could someone provide me a comand line for dummys to change >>>> it ;) ? >>> >>> What does "echo $PATH" tell you? >> >> mini:~ mini$ echo $PATH >> /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin >> >> and now ? > > And now you set up your PATH to include /opt/local/bin as advised in > the MacPorts guide: come on , i just changed #!/usr/bin/perl to #!/opt/local/bin/perl5.8.8 thanks From paulbeard at gmail.com Sat Mar 22 08:28:25 2008 From: paulbeard at gmail.com (paul beard) Date: Sat, 22 Mar 2008 08:28:25 -0700 Subject: changing perl path to "/opt/local/bin/perl5.8.8" In-Reply-To: <579E70BA-46FC-48E6-9D7E-F550A2B10B88@let.de> References: <1B317579-3C6E-4F90-B101-1CEDFE1D9DCF@let.de> <4FC38BB7-E5AE-4D0B-9C79-8E4891ECBAAD@let.de> <76634615-F873-477A-8E6F-747003053DBC@macports.org> <579E70BA-46FC-48E6-9D7E-F550A2B10B88@let.de> Message-ID: On Sat, Mar 22, 2008 at 4:04 AM, Marc Manthey wrote: > > come on , i just changed > > #!/usr/bin/perl > > to > > #!/opt/local/bin/perl5.8.8 > > You asked: > I need to change the systemwide variable for using perl5.8.8 to > * /opt/local/bin/perl5.8.8 * instead of using * /usr/bin/perl5.8.8 * could someone provide me a comand line for dummys to change it ;) ? And that's what changing your PATH will do. The instructions that Ryan sent you to aren't optional. MacPorts is not guaranteed to work without that (indeed, without the right PATH, nothing will work properly). If you're going to ask for help, take it when it's offered. -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080322/46836e23/attachment.html From ryandesign at macports.org Sat Mar 22 12:49:47 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 22 Mar 2008 14:49:47 -0500 Subject: changing perl path to "/opt/local/bin/perl5.8.8" In-Reply-To: References: <1B317579-3C6E-4F90-B101-1CEDFE1D9DCF@let.de> <4FC38BB7-E5AE-4D0B-9C79-8E4891ECBAAD@let.de> <76634615-F873-477A-8E6F-747003053DBC@macports.org> <579E70BA-46FC-48E6-9D7E-F550A2B10B88@let.de> Message-ID: On Mar 22, 2008, at 10:28, paul beard wrote: > The instructions that Ryan sent you [for setting up the PATH] to > aren't optional. MacPorts is not guaranteed to work without that > (indeed, without the right PATH, nothing will work properly). Well setting up the PATH is optional, I'd say. But without it, you'll have to type the complete path to all MacPorts binaries that you want to use. MacPorts itself should still function, and all ports should still build, because MacPorts internally sets the PATH to include ${prefix}/ bin and ${prefix}/sbin (right?) for the duration of the build. From liontooth at cogweb.net Sat Mar 22 15:56:56 2008 From: liontooth at cogweb.net (David Liontooth) Date: Sat, 22 Mar 2008 15:56:56 -0700 Subject: If you have problems installing transcode with ImageMagick In-Reply-To: <47D08B76.6030508@cogweb.net> References: <20D403F8-E848-4851-86BC-A311A086BF8F@planetnutek.com> <47D08B76.6030508@cogweb.net> Message-ID: <47E58EB8.6020206@cogweb.net> The recent ImageMagick upgrade includes renaming the dynamic library, with the result transcode doesn't find it (http://bugs.gentoo.org/show_bug.cgi?id=213712). Until upstream fixes this, the workaround is to create a symbolic link (an alias): cd /opt/local/lib ln -s libMagickCore.1.dylib libMagick.dylib Transcode will successfully compile once this is done. Until the portfile is updated, you may need to substitute the one below. Cheers, Dave David Liontooth wrote: > Hi Stephen, > > You do need an updated version of the transcode portfile for leopard; > it's ready and making its way into the repository. > The transcode portfile is appended. > > Dave > > # $Id: Portfile 25735 2007-05-30 07:57:21Z ryandesign at macports.org $ > > PortSystem 1.0 > > name transcode > #version 1.1.0-pre-05 > version 1.1.0alpha7 > categories multimedia > maintainers cremes at mac.com, liontooth at cogweb.net > description Video and audio processing tools > long_description transcode is a suite of tools, all of which are \ > command line utilities, for transcoding various \ > video, audio, and container formats, running on a \ > platform that supports shared libraries and threads.\ > \ > Decoding and encoding is done by modules that are \ > responsible for feeding transcode with raw video/ \ > audio streams (import modules) and encoding the frames \ > (export modules). \ > \ > It includes a variety of video and audio filters, \ > including (but not limited to) video de-interlacing, \ > audio resampling, framerate conversion, different \ > resizing algorithms, smoothing, sharpening, denoisifying, \ > and cutting. > > homepage http://www.transcoding.org > > master_sites http://fromani.exit1.org/ > distname ${name}-${version} > use_bzip2 yes > > checksums ${distname}${extract.suffix} \ > md5 1f2f2df059c801038743f2a8210c2fb5 \ > sha1 0f329d33cf1fcf5d16ea727087740c25a7664ed2 > > #fetch.type cvs > #cvs.root :pserver:cvs at cvs.exit1.org:/cvstc > #cvs.tag HEAD > #cvs.date 20070516 > #cvs.module ${name} > #worksrcdir ${name} > > depends_lib port:automake \ > port:autoconf \ > port:libtool \ > port:ffmpeg \ > port:libmpeg2 \ > port:libdvdread \ > port:jpeg \ > port:lame > > pre-configure { cd ${worksrcpath} > system "LIBTOOLIZE=glibtoolize autoreconf -i -f" > } > > platforms darwin > > configure.args --disable-mmx \ > --disable-altivec \ > --with-libavcodec-prefix=${prefix} \ > --with-libmpeg2-prefix=${prefix} \ > --with-libdvdread-prefix=${prefix} \ > --with-libjpeg-prefix=${prefix} \ > --with-lame-prefix=${prefix} > > # Optional components > > variant a52dec { > depends_lib-append port:a52dec > configure.args-append --enable-a52 --enable-a52-default-decoder > --with-a52-prefix=${prefix} > } > > variant faac { > depends_lib-append port:faac > configure.args-append --enable-faac --with-faac-prefix=${prefix} > } > > variant faad2 { > depends_lib-append port:faad2 > configure.args-append --enable-faad --with-faad-prefix=${prefix} > } > > variant freetype { > depends_lib-append port:freetype > configure.args-append --enable-freetype2 > --with-freetype2-prefix=${prefix} > } > > variant imagemagick { > depends_lib-append port:ImageMagick > configure.args-append --enable-imagemagick > --with-imagemagick-prefix=${prefix} > } > > variant libdv { > depends_lib-append port:libdv > configure.args-append --enable-libdv --with-libdv-prefix=${prefix} > } > > variant libogg { > depends_lib-append port:libogg > configure.args-append --enable-ogg --with-ogg-prefix=${prefix} > } > > variant libsdl { > depends_lib-append port:libsdl > configure.args-append --enable-sdl --with-sdl-prefix=${prefix} > } > > variant libtheora { > depends_lib-append port:libtheora > configure.args-append --enable-theora --with-theora-prefix=${prefix} > } > > variant libvorbis { > depends_lib-append port:libvorbis > configure.args-append --enable-vorbis --with-vorbis-prefix=${prefix} > } > > variant libxml2 { > depends_lib-append port:libxml2 > configure.args-append --enable-libxml2 --with-libxml2-prefix=${prefix} > } > > variant x264 { > depends_lib-append port:x264 > configure.args-append --enable-x264 --with-x264-prefix=${prefix} > } > > variant xvid { > depends_lib-append port:XviD > configure.args-append --enable-xvid --with-xvid-prefix=${prefix} > } > > > > Stephen Ng wrote: > >> 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 >> >> 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 stephen.bannasch at deanbrook.org Sat Mar 22 16:53:25 2008 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Sat, 22 Mar 2008 19:53:25 -0400 Subject: trying to get darcs working/where should I try out a new portfile? Message-ID: Ticket 14576 describes a problem installing darcs. http://trac.macosforge.org/projects/macports/ticket/14576 The original ticket described the problem happening on MacOS 10.4.11. I've also confirmed the same problem on MacOS 10.5.2 in comment #5. The error happens at this stage: ---> Configuring darcs and reports: configure: error: Couldnt figure out how to call GHC.Handle.openFd! There is a comment pointing to ticket 14634: http://trac.macosforge.org/projects/macports/ticket/14634 where waterson at maubi.net has a proposed Portfile for darcs-2.0.0pre3 attached here: http://trac.macosforge.org/projects/macports/attachment/ticket/14634/Portfile Where should I put this Portfile on my system if I'd like to try it out? I skimmed the documentation and didn't see an answer. Previously when someone has posted a patch I've just applied it to my existing local portfile. Should I create a local ports repository just for this portfile? I would also be great to get the cc: capability added to the Trac Ticket form. That would make it easier to follow progress on these two tickets. From waterson at maubi.net Sat Mar 22 20:02:26 2008 From: waterson at maubi.net (Chris Waterson) Date: Sat, 22 Mar 2008 20:02:26 -0700 Subject: trying to get darcs working/where should I try out a new portfile? In-Reply-To: References: Message-ID: On Mar 22, 2008, at 4:53 PM, Stephen Bannasch wrote: > Where should I put this Portfile on my system if I'd like to try it > out? This is what I've been doing: It's worked fairly well for me so far... chris From stephen.bannasch at deanbrook.org Sun Mar 23 00:48:33 2008 From: stephen.bannasch at deanbrook.org (Stephen Bannasch) Date: Sun, 23 Mar 2008 03:48:33 -0400 Subject: trying to get darcs working/where should I try out a new portfile? In-Reply-To: References: Message-ID: At 8:02 PM -0700 3/22/08, Chris Waterson wrote: >On Mar 22, 2008, at 4:53 PM, Stephen Bannasch wrote: >> Where should I put this Portfile on my system if I'd like to try it >> out? > >This is what I've been doing: > > > >It's worked fairly well for me so far... > Thanks for the pointer Chris. I've created a local repository and have the darcs-2.0.0pre3 Portfile attached to: http://trac.macosforge.org/projects/macports/ticket/14634 compiled and built. From pacobell at gmail.com Sun Mar 23 01:38:04 2008 From: pacobell at gmail.com (PacoBell) Date: Sun, 23 Mar 2008 01:38:04 -0700 (PDT) Subject: failed hellanzb Message-ID: <16232470.post@talk.nabble.com> After some cursory research about this problem, I discovered one posted solution about first installing python25. It seems to work, although I have no idea why python24 would be having such difficulty. HTH. -- View this message in context: http://www.nabble.com/failed-hellanzb-tp15513854p16232470.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From macports.users at gmail.com Sun Mar 23 06:28:32 2008 From: macports.users at gmail.com (Charlse Darwin) Date: Sun, 23 Mar 2008 09:28:32 -0400 Subject: Fwd: [pymetar-dev] man py-metar References: <20080323131625.GA10716@eric.schwarzvogel.de> Message-ID: <53DE90AB-9A0F-41A2-BFC0-DC0C5A2D566C@gmail.com> Begin forwarded message: From: Tobias Klausmann Date: March 23, 2008 9:16:25 AM EDT (CA) To: pymetar-dev at schwarzvogel.de Subject: Re: [pymetar-dev] man py-metar Hi! On Sun, 23 Mar 2008, Charlse Darwin wrote: > Is there any man page for py-metar? How do I use this thing In a way, yes. Python has its own manpage-like docs system, called, cunningly, pydoc. So "pydoc pymetar" should give you a manpage-like description of pymetars API (it's a library, so that's its primary documentation). In case you don't have pydoc, the package comes with a file called librarydoc.txt which is identical in content. As for a more general description, there's also a README. Where those files typically end up in the macports package system, I don't know. > $ uname -a > Darwin Mac.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 > 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh > powerpc > $ metar > -bash: metar: command not found > $ py-metar > -bash: py-metar: command not found Pymetar comes with two example scripts, called pymet and weather.py. Both are examples only but might be enough for what you need. Unfortunately, I don't know where macports packages usually put the auxillary files for installed packages. The packager might also have removed the examples, though I doubt it. Maybe someone else on the -dev list can shed a light on this? Regards, Tobias -- printk("3c505 is sulking\n"); linux-2.6.6/drivers/net/3c505.c _______________________________________________ pymetar-dev mailing list pymetar-dev at schwarzvogel.de http://eric.schwarzvogel.de/mailman/listinfo/pymetar-dev From paulbeard at gmail.com Sun Mar 23 07:52:51 2008 From: paulbeard at gmail.com (paul beard) Date: Sun, 23 Mar 2008 07:52:51 -0700 Subject: [pymetar-dev] man py-metar In-Reply-To: <53DE90AB-9A0F-41A2-BFC0-DC0C5A2D566C@gmail.com> References: <20080323131625.GA10716@eric.schwarzvogel.de> <53DE90AB-9A0F-41A2-BFC0-DC0C5A2D566C@gmail.com> Message-ID: On Sun, Mar 23, 2008 at 6:28 AM, Charlse Darwin wrote: > > > Begin forwarded message: > From: Tobias Klausmann > Date: March 23, 2008 9:16:25 AM EDT (CA) > To: pymetar-dev at schwarzvogel.de > Subject: Re: [pymetar-dev] man py-metar > > Hi! > > On Sun, 23 Mar 2008, Charlse Darwin wrote: > > Is there any man page for py-metar? How do I use this thing > > In a way, yes. Python has its own manpage-like docs system, > called, cunningly, pydoc. > > So "pydoc pymetar" should give you a manpage-like description of > pymetars API (it's a library, so that's its primary > documentation). In case you don't have pydoc, the package comes > with a file called librarydoc.txt which is identical in content. As > for a more general description, there's also a README. Where > those files typically end up in the macports package system, I > don't know. > > > $ uname -a > > Darwin Mac.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 > > 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh > > powerpc > > $ metar > > -bash: metar: command not found > > $ py-metar > > -bash: py-metar: command not found > > Pymetar comes with two example scripts, called pymet and > weather.py. Both are examples only but might be enough for what > you need. > > Unfortunately, I don't know where macports packages usually put > the auxillary files for installed packages. The packager might > also have removed the examples, though I doubt it. > > Maybe someone else on the -dev list can shed a light on this? > > Regards, > Tobias > 'locate pydoc' should tell you what versions of pydoc you have. There will be a system-supplied one in /usr/bin and MacPorts-provided ones in /opt/local/bin, with version numbers attached. I found pydoc2.5. I couldn't get it to run in the terminal in any useful way but running it like this: pydoc2.5 -p81 pydoc server ready at http://localhost:81/ was useful. But for all that, I found that there was no documentation for metar (I just installed it to see how this worked). I don't know why it wouldn't be installed by default. Poking around in the build directory might be informative. I would file a bug report, as I think all modules/libs should install docs if they have them. -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080323/c5a9b4b4/attachment.html From paulbeard at gmail.com Sun Mar 23 07:55:55 2008 From: paulbeard at gmail.com (paul beard) Date: Sun, 23 Mar 2008 07:55:55 -0700 Subject: [pymetar-dev] man py-metar In-Reply-To: <53DE90AB-9A0F-41A2-BFC0-DC0C5A2D566C@gmail.com> References: <20080323131625.GA10716@eric.schwarzvogel.de> <53DE90AB-9A0F-41A2-BFC0-DC0C5A2D566C@gmail.com> Message-ID: On Sun, Mar 23, 2008 at 6:28 AM, Charlse Darwin wrote: > > > Begin forwarded message: > From: Tobias Klausmann > Date: March 23, 2008 9:16:25 AM EDT (CA) > To: pymetar-dev at schwarzvogel.de > Subject: Re: [pymetar-dev] man py-metar > > Hi! > > On Sun, 23 Mar 2008, Charlse Darwin wrote: > > Is there any man page for py-metar? How do I use this thing > And as noted, there are sample scripts: # weather.py kbfi Weather report for Seattle, Seattle Boeing Field, WA, United States (kbfi) as of 2008-03-23 13:53:00Z Values of "None" indicate that the value is missing from the report. Temperature: 6.7 C / 44.1 F Rel. Humidity: 88% Wind speed: 4.02 m/s (3 Bft) Wind direction: 120 deg (ESE) Pressure: 1016 hPa Dew Point: 5.0 C / 41.0 F Weather: rain; mist Sky Conditions: overcast They will likely provide a lot of useful details. -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080323/4c450f08/attachment.html From macports.users at gmail.com Sun Mar 23 09:32:49 2008 From: macports.users at gmail.com (Charlse Darwin) Date: Sun, 23 Mar 2008 12:32:49 -0400 Subject: [pymetar-dev] man py-metar In-Reply-To: References: <20080323131625.GA10716@eric.schwarzvogel.de> <53DE90AB-9A0F-41A2-BFC0-DC0C5A2D566C@gmail.com> Message-ID: On Mar 23, 2008, at 10:55 AM, paul beard wrote: On Sun, Mar 23, 2008 at 6:28 AM, Charlse Darwin wrote: > > > Begin forwarded message: > From: Tobias Klausmann > Date: March 23, 2008 9:16:25 AM EDT (CA) > To: pymetar-dev at schwarzvogel.de > Subject: Re: [pymetar-dev] man py-metar > > Hi! > > On Sun, 23 Mar 2008, Charlse Darwin wrote: >> Is there any man page for py-metar? How do I use this thing > And as noted, there are sample scripts: # weather.py kbfi Weather report for Seattle, Seattle Boeing Field, WA, United States (kbfi) as of 2008-03-23 13:53:00Z Values of "None" indicate that the value is missing from the report. Temperature: 6.7 C / 44.1 F and in ~/.profile you can add the following: alias weather='weather.py you_loc | grep Temperature | sed s/ Temperature:\ /\/' Rel. Humidity: 88% Wind speed: 4.02 m/s (3 Bft) Wind direction: 120 deg (ESE) Pressure: 1016 hPa Dew Point: 5.0 C / 41.0 F Weather: rain; mist Sky Conditions: overcast They will likely provide a lot of useful details. -- Paul Beard / www.paulbeard.org/ From raimue at macports.org Sun Mar 23 13:48:06 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sun, 23 Mar 2008 21:48:06 +0100 Subject: [pymetar-dev] man py-metar In-Reply-To: References: <20080323131625.GA10716@eric.schwarzvogel.de> <53DE90AB-9A0F-41A2-BFC0-DC0C5A2D566C@gmail.com> Message-ID: <47E6C206.2080809@macports.org> paul beard wrote: > 'locate pydoc' should tell you what versions of pydoc you have. There > will be a system-supplied one in /usr/bin and MacPorts-provided ones in > /opt/local/bin, with version numbers attached. I found pydoc2.5. I > couldn't get it to run in the terminal in any useful way but running it > like this: > > pydoc2.5 -p81 > pydoc server ready at http://localhost:81/ It just works for me. Like: $ pydoc2.5 list I don't have py25-metar, but $ pydoc2.5 pymetar should work. Rainer From macports.users at gmail.com Sun Mar 23 13:50:27 2008 From: macports.users at gmail.com (Charlse Darwin) Date: Sun, 23 Mar 2008 16:50:27 -0400 Subject: [pymetar-dev] man py-metar In-Reply-To: <47E6C206.2080809@macports.org> References: <20080323131625.GA10716@eric.schwarzvogel.de> <53DE90AB-9A0F-41A2-BFC0-DC0C5A2D566C@gmail.com> <47E6C206.2080809@macports.org> Message-ID: <11B3C712-8ED8-49D8-9276-5158A8DD7362@gmail.com> $ pydoc pymetar no Python documentation found for 'pymetar' $ On Mar 23, 2008, at 4:48 PM, Rainer M?ller wrote: paul beard wrote: > 'locate pydoc' should tell you what versions of pydoc you have. > There will be a system-supplied one in /usr/bin and MacPorts- > provided ones in /opt/local/bin, with version numbers attached. I > found pydoc2.5. I couldn't get it to run in the terminal in any > useful way but running it like this: > pydoc2.5 -p81 > pydoc server ready at http://localhost:81/ It just works for me. Like: $ pydoc2.5 list I don't have py25-metar, but $ pydoc2.5 pymetar should work. Rainer From raimue at macports.org Sun Mar 23 13:56:36 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sun, 23 Mar 2008 21:56:36 +0100 Subject: [pymetar-dev] man py-metar In-Reply-To: <11B3C712-8ED8-49D8-9276-5158A8DD7362@gmail.com> References: <20080323131625.GA10716@eric.schwarzvogel.de> <53DE90AB-9A0F-41A2-BFC0-DC0C5A2D566C@gmail.com> <47E6C206.2080809@macports.org> <11B3C712-8ED8-49D8-9276-5158A8DD7362@gmail.com> Message-ID: <47E6C404.10504@macports.org> Charlse Darwin wrote: > $ pydoc pymetar > no Python documentation found for 'pymetar' So where does pydoc find it's documentation? Obviously it is either missing from the py25-metar port or pydoc2.5 does not look at the right location. Rainer From steve at shodgson.org.uk Sun Mar 23 14:08:22 2008 From: steve at shodgson.org.uk (SteveHodgson-3) Date: Sun, 23 Mar 2008 14:08:22 -0700 (PDT) Subject: zlib upgrade Message-ID: <16239676.post@talk.nabble.com> Over the last couple of months I have been unable to upgrade zlib - each time getting the error messages shown below. Is there any sort of problem with this port or any way to fix the upgrade? Building zlib with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_zlib/work/zlib-1.2.3" && make all " returned error 2 ... make: *** [libz.a] Error 1 Error: Unable to upgrade port: 1 -- View this message in context: http://www.nabble.com/zlib-upgrade-tp16239676p16239676.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From raimue at macports.org Sun Mar 23 14:12:00 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Sun, 23 Mar 2008 22:12:00 +0100 Subject: zlib upgrade In-Reply-To: <16239676.post@talk.nabble.com> References: <16239676.post@talk.nabble.com> Message-ID: <47E6C7A0.4030507@macports.org> SteveHodgson-3 wrote: > Over the last couple of months I have been unable to upgrade zlib - each time > getting the error messages shown below. Is there any sort of problem with > this port or any way to fix the upgrade? First of all, run $ sudo port clean zlib and then try the update again. Second, copy the *full* error message. Rainer From steve at shodgson.org.uk Sun Mar 23 14:36:31 2008 From: steve at shodgson.org.uk (Steve Hodgson) Date: Sun, 23 Mar 2008 21:36:31 +0000 Subject: zlib upgrade In-Reply-To: <47E6C7A0.4030507@macports.org> Message-ID: On 23/3/08 at 21:12, Rainer M?ller wrote: >SteveHodgson-3 wrote: >>Over the last couple of months I have been unable to upgrade zlib - each time >>getting the error messages shown below. Is there any sort of problem with >>this port or any way to fix the upgrade? > >First of all, run >$ sudo port clean zlib >and then try the update again. > >Second, copy the *full* error message. I just ran sudo port -d upgrade zlib and this time it worked. I'm pretty sure I've tried this before (maybe minus the debug option) and it had failed. -- Thanks. Steve Hodgson From david.rowe at freeuk.com Sun Mar 23 16:42:17 2008 From: david.rowe at freeuk.com (David Rowe) Date: Sun, 23 Mar 2008 23:42:17 +0000 Subject: Is py25-numpy corrupted? Message-ID: <47E6EAD9.4030903@freeuk.com> I am trying to install some ports (probably Gramps) that seem to require py25-numpy - this is not currently installed in my copy of MacPorts. On trying to install p25-numpy, I get the following log: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< bash-3.2# port install py25-numpy ---> Fetching py25-numpy ---> Verifying checksum(s) for py25-numpy Error: Checksum (md5) mismatch for numpy-1.0.4.tar.gz Error: Checksum (sha1) mismatch for numpy-1.0.4.tar.gz Error: Checksum (rmd160) mismatch for numpy-1.0.4.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This looks as if one of the files is corrupted on the MacPorts server or else the portfile is not consistent with the downloaded files. Has anyone else experienced this before? Is there a workround? Thanks for any help you can provide David Rowe From ram at macports.org Sun Mar 23 16:51:28 2008 From: ram at macports.org (Adam Mercer) Date: Sun, 23 Mar 2008 19:51:28 -0400 Subject: Is py25-numpy corrupted? In-Reply-To: <47E6EAD9.4030903@freeuk.com> References: <47E6EAD9.4030903@freeuk.com> Message-ID: <799406d60803231651l1f59f340pc7000987eacab59d@mail.gmail.com> On Sun, Mar 23, 2008 at 7:42 PM, David Rowe wrote: > I am trying to install some ports (probably Gramps) that seem to require > py25-numpy - this is not currently installed in my copy of MacPorts. > On trying to install p25-numpy, I get the following log: > > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > bash-3.2# port install py25-numpy > ---> Fetching py25-numpy > ---> Verifying checksum(s) for py25-numpy > Error: Checksum (md5) mismatch for numpy-1.0.4.tar.gz > Error: Checksum (sha1) mismatch for numpy-1.0.4.tar.gz > Error: Checksum (rmd160) mismatch for numpy-1.0.4.tar.gz > Error: Target org.macports.checksum returned: Unable to verify file > checksums > Error: Status 1 encountered during processing. > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > This looks as if one of the files is corrupted on the MacPorts server or > else the portfile is not consistent with the downloaded files. > > Has anyone else experienced this before? Is there a workround? Looks like you got a corrupted download, try $ sudo port clean --dist py25-numpy (ignore the warning regarding removing the distfiles directory) $ sudo port install py25-numpy Cheers Adam From raimue at macports.org Sun Mar 23 16:59:16 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 24 Mar 2008 00:59:16 +0100 Subject: Is py25-numpy corrupted? In-Reply-To: <799406d60803231651l1f59f340pc7000987eacab59d@mail.gmail.com> References: <47E6EAD9.4030903@freeuk.com> <799406d60803231651l1f59f340pc7000987eacab59d@mail.gmail.com> Message-ID: <47E6EED4.7010607@macports.org> Adam Mercer wrote: > $ sudo port clean --dist py25-numpy (ignore the warning regarding > removing the distfiles directory) Actually, you should use $ sudo port clean --all py25-numpy to also reset the state of the build. Otherwise, 'port checksum' would assume the file was already fetched and complain that the file does not exist in the distfile directory. Rainer From david.rowe at freeuk.com Sun Mar 23 17:10:25 2008 From: david.rowe at freeuk.com (David Rowe) Date: Mon, 24 Mar 2008 00:10:25 +0000 Subject: Is py25-numpy corrupted? In-Reply-To: <47E6EED4.7010607@macports.org> References: <47E6EAD9.4030903@freeuk.com> <799406d60803231651l1f59f340pc7000987eacab59d@mail.gmail.com> <47E6EED4.7010607@macports.org> Message-ID: <47E6F171.2070809@freeuk.com> Rainer M?ller wrote: > Adam Mercer wrote: >> $ sudo port clean --dist py25-numpy (ignore the warning regarding >> removing the distfiles directory) > > Actually, you should use > $ sudo port clean --all py25-numpy > to also reset the state of the build. > > Otherwise, 'port checksum' would assume the file was already fetched > and complain that the file does not exist in the distfile directory. > > Rainer > OK - 'sudo port clean --all py25-numpy' did the business and py25-numpy has now installed successfully. I had tried a simple 'sudo port clean py25-numpy' earlier but that hadn't worked Many thanks to Rainer & Adam for your help David Rowe From ram at macports.org Sun Mar 23 17:14:12 2008 From: ram at macports.org (Adam Mercer) Date: Sun, 23 Mar 2008 20:14:12 -0400 Subject: Is py25-numpy corrupted? In-Reply-To: <47E6F171.2070809@freeuk.com> References: <47E6EAD9.4030903@freeuk.com> <799406d60803231651l1f59f340pc7000987eacab59d@mail.gmail.com> <47E6EED4.7010607@macports.org> <47E6F171.2070809@freeuk.com> Message-ID: <799406d60803231714s2746e05chc85f42f5f1713d7c@mail.gmail.com> On Sun, Mar 23, 2008 at 8:10 PM, David Rowe wrote: > OK - 'sudo port clean --all py25-numpy' did the business and py25-numpy > has now installed successfully. > I had tried a simple 'sudo port clean py25-numpy' earlier but that > hadn't worked Great, clean would have just cleared the state, clean --dist would have just removed the distfile so Rainer was right, both needed to be reset. Cheers Adam From istojic at gmail.com Sun Mar 23 18:46:34 2008 From: istojic at gmail.com (istojic at gmail.com) Date: Sun, 23 Mar 2008 20:46:34 -0500 Subject: Uninstalling ports & meaning of install variants Message-ID: <488e9ef00803231846p24750b15h33e2aa5c4cfe30e6@mail.gmail.com> Hello all, Forgive me for my ignorance, but I seem to have misunderstood how macports works. My first question is how to uninstall a port once installed. I ran port uninstall on several ports, but it seems that all of the related files and directories were left behind. Secondly, when performing an install and including variants (i.e. port install php5 +mysql5 +apache2), macports seems to install full versions of the variants, as opposed to just including the necessary modifications to php.ini. Am I interpreting this correctly? Thanks in advance, -ilija -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080323/09ec1963/attachment.html From nodje.co at gmail.com Sun Mar 23 20:19:10 2008 From: nodje.co at gmail.com (nodje) Date: Mon, 24 Mar 2008 03:19:10 +0000 (UTC) Subject: is the avahi user creation supposed to be part of =?utf-8?b?aW5zdGFsbGluZwlhdmFoaT8=?= References: <79E9F7F6-588F-40CD-81A7-395CD5C03F59@mac.com> Message-ID: I had an avahi probleme due to thuis missing user. I recently updated avahi to 0.6.22_0 (from 0.6.17_0). It fixed the missing avahi user problem. But I'm still having an issue, apparently similar with Paul's one. Console log: 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] Failed to connect to the daemon. This probably means that you 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] didn't start avahi-daemon before avahi-dnsconfd. 24/03/2008 12:05:13 PM com.apple.launchd[1] (org.freedesktop.avahi-dnsconfd[522]) Exited with exit code: 1 24/03/2008 12:05:13 PM com.apple.launchd[1] (org.freedesktop.avahi-dnsconfd) Throttling respawn: Will start in 10 seconds 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] Found user 'avahi' (UID 502) and group 'avahi' (GID 502). 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] Successfully dropped root privileges. 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] avahi-daemon 0.6.22 starting up. 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING: No NSS support for mDNS detected, consider installing nss-mdns! 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] dbus_bus_get_private(): Failed to connect to socket /opt/local/var/run/dbus/system_bus_socket: Connection refused 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING: Failed to contact D-Bus daemon. 24/03/2008 12:05:14 PM com.apple.launchd[1] (org.freedesktop.avahi-daemon[523]) Exited with exit code: 255 24/03/2008 12:05:14 PM com.apple.launchd[1] (org.freedesktop.avahi-daemon) Throttling respawn: Will start in 10 seconds 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] connect(): No such file or directory 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] Failed to connect to the daemon. This probably means that you 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] didn't start avahi-daemon before avahi-dnsconfd. 24/03/2008 12:05:23 PM com.apple.launchd[1] (org.freedesktop.avahi-dnsconfd[524]) Exited with exit code: 1 Would reinstall avahi solve the problem? I have seen very few thread about the topic. Paul, did you manage to get a working asahi? Thanks, --nodje From paulbeard at gmail.com Sun Mar 23 21:30:28 2008 From: paulbeard at gmail.com (paul beard) Date: Sun, 23 Mar 2008 21:30:28 -0700 Subject: is the avahi user creation supposed to be part of installing avahi? In-Reply-To: References: <79E9F7F6-588F-40CD-81A7-395CD5C03F59@mac.com> Message-ID: On Sun, Mar 23, 2008 at 8:19 PM, nodje wrote: > I had an avahi probleme due to thuis missing user. > I recently updated avahi to 0.6.22_0 (from 0.6.17_0). It fixed the missing > avahi > user problem. > But I'm still having an issue, apparently similar with Paul's one. > > Console log: > 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] > Failed to connect to the daemon. This probably means that you > 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] > didn't start avahi-daemon before avahi-dnsconfd. > 24/03/2008 12:05:13 PM com.apple.launchd[1] > (org.freedesktop.avahi-dnsconfd[522]) Exited with exit code: 1 > 24/03/2008 12:05:13 PM com.apple.launchd[1] ( > org.freedesktop.avahi-dnsconfd) > Throttling respawn: Will start in 10 seconds > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > Found user 'avahi' (UID 502) and group 'avahi' (GID 502). > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > Successfully dropped root privileges. > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] avahi-daemon > 0.6.22 > starting up. > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > WARNING: No NSS support for mDNS detected, consider installing nss-mdns! > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > dbus_bus_get_private(): Failed to connect to socket > /opt/local/var/run/dbus/system_bus_socket: Connection refused > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING: > Failed to contact D-Bus daemon. > 24/03/2008 12:05:14 PM com.apple.launchd[1] > (org.freedesktop.avahi-daemon[523]) Exited with exit code: 255 > 24/03/2008 12:05:14 PM com.apple.launchd[1] (org.freedesktop.avahi-daemon) > Throttling respawn: Will start in 10 seconds > 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] connect(): > No such file or directory > 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] > Failed to connect to the daemon. This probably means that you > 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] didn't start > avahi-daemon before avahi-dnsconfd. > 24/03/2008 12:05:23 PM com.apple.launchd[1] > (org.freedesktop.avahi-dnsconfd[524]) Exited with exit code: 1 > > Would reinstall avahi solve the problem? > I have seen very few thread about the topic. > Paul, did you manage to get a working asahi? > > Thanks, > > --nodje > > To be honest, I'm not sure. This seems to be one of those areas where MacPorts and Apple duplicate each other's efforts. I don't know if avahi is supposed to do anything other than just be installed so other applications don't grumble. An mDNS responder exists on OS X, anyway. At the moment, my avahi isn't even running, for some reason. I don't know if it matters or not. -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080323/8c73a733/attachment.html From ryandesign at macports.org Sun Mar 23 22:12:50 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 24 Mar 2008 00:12:50 -0500 Subject: Uninstalling ports & meaning of install variants In-Reply-To: <488e9ef00803231846p24750b15h33e2aa5c4cfe30e6@mail.gmail.com> References: <488e9ef00803231846p24750b15h33e2aa5c4cfe30e6@mail.gmail.com> Message-ID: <0585A397-2720-49A5-89E5-1E17686B65E9@macports.org> On Mar 23, 2008, at 20:46, istojic at gmail.com wrote: > Forgive me for my ignorance, but I seem to have misunderstood how > macports works. > > My first question is how to uninstall a port once installed. I ran > port uninstall on several ports, but it seems that all of the > related files and directories were left behind. To uninstall a port foo, type "sudo port uninstall foo". There is a bug where the files will not be properly uninstalled if you specify the case of the port name incorrectly. For example, if you install the port ImageMagick, but then say "sudo port uninstall imagemagick" (instead of "sudo port uninstall ImageMagick") the files will remain. > Secondly, when performing an install and including variants (i.e. > port install php5 +mysql5 +apache2), macports seems to install full > versions of the variants, as opposed to just including the > necessary modifications to php.ini. Am I interpreting this correctly? I'm not sure I understand the question exactly... "sudo port install php5" installs a basic command-line version of php5 with features most users will want. "sudo port install php5 +apache2" installs command-line and apache2 versions of php5. "sudo port install php5 +apache2 +fastcgi +mysql5" installs command-line and apache2 and fastcgi versions of php5 which also include mysql5 support. None of the variants of the php5 port modify your php.ini, but there's also nothing that needs to be done to the php.ini to for example activate mysql5 support. It's not like on Windows where you need to load a separate DLL. When you select the +mysql5 variant, mysql5 support is simply built into the php5 library and/or binary. Does that explain it? From nodje.co at gmail.com Mon Mar 24 00:33:25 2008 From: nodje.co at gmail.com (nodje) Date: Mon, 24 Mar 2008 16:33:25 +0900 Subject: is the avahi user creation supposed to be part of installing avahi? In-Reply-To: References: <79E9F7F6-588F-40CD-81A7-395CD5C03F59@mac.com> Message-ID: <335F5004-325D-4162-8B34-010B3B3B44D7@gmail.com> thanks for the reply Paul. gives no hope though :( I've had this message for months. It's polluting my console log and probably consumes resources. As you say, some other applications need it. So it's not even possible to uninstall. ... On 24 Mar 2008, at 1:30 PM, paul beard wrote: > > > On Sun, Mar 23, 2008 at 8:19 PM, nodje wrote: > I had an avahi probleme due to thuis missing user. > I recently updated avahi to 0.6.22_0 (from 0.6.17_0). It fixed the > missing avahi > user problem. > But I'm still having an issue, apparently similar with Paul's one. > > Console log: > 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] > Failed to connect to the daemon. This probably means that you > 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] > didn't start avahi-daemon before avahi-dnsconfd. > 24/03/2008 12:05:13 PM com.apple.launchd[1] > (org.freedesktop.avahi-dnsconfd[522]) Exited with exit code: 1 > 24/03/2008 12:05:13 PM com.apple.launchd[1] (org.freedesktop.avahi- > dnsconfd) > Throttling respawn: Will start in 10 seconds > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > Found user 'avahi' (UID 502) and group 'avahi' (GID 502). > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > Successfully dropped root privileges. > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] avahi- > daemon 0.6.22 > starting up. > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > WARNING: No NSS support for mDNS detected, consider installing nss- > mdns! > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > dbus_bus_get_private(): Failed to connect to socket > /opt/local/var/run/dbus/system_bus_socket: Connection refused > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING: > Failed to contact D-Bus daemon. > 24/03/2008 12:05:14 PM com.apple.launchd[1] > (org.freedesktop.avahi-daemon[523]) Exited with exit code: 255 > 24/03/2008 12:05:14 PM com.apple.launchd[1] (org.freedesktop.avahi- > daemon) > Throttling respawn: Will start in 10 seconds > 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] connect(): > No such file or directory > 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] > Failed to connect to the daemon. This probably means that you > 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] didn't > start > avahi-daemon before avahi-dnsconfd. > 24/03/2008 12:05:23 PM com.apple.launchd[1] > (org.freedesktop.avahi-dnsconfd[524]) Exited with exit code: 1 > > Would reinstall avahi solve the problem? > I have seen very few thread about the topic. > Paul, did you manage to get a working asahi? > > Thanks, > > --nodje > > > To be honest, I'm not sure. This seems to be one of those areas > where MacPorts and Apple duplicate each other's efforts. I don't > know if avahi is supposed to do anything other than just be > installed so other applications don't grumble. An mDNS responder > exists on OS X, anyway. > > At the moment, my avahi isn't even running, for some reason. I don't > know if it matters or not. > > -- > Paul Beard / www.paulbeard.org/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080324/f61d0345/attachment-0001.html From karamelin at gmail.com Mon Mar 24 05:05:13 2008 From: karamelin at gmail.com (=?KOI8-R?B?88XSx8XKIOvB0sXMyc4=?=) Date: Mon, 24 Mar 2008 15:05:13 +0300 Subject: manually downloaded sources Message-ID: HI! How to port manually downloaded source tar-balls? It seems to be very simple but I can't find out any information on this. And something else. Installing from MacPorts-1.6.0.pkg without runninginternet connection result in error. This makes some inconvenience, because user have to define environment paths manually. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080324/12150f10/attachment.html From alejandro.aragon at gmail.com Mon Mar 24 07:35:05 2008 From: alejandro.aragon at gmail.com (Alejandro Aragon) Date: Mon, 24 Mar 2008 09:35:05 -0500 Subject: gnuplot not plotting Message-ID: Hi everyone, I installed gnuplot the other day and then I tried to plot something and it didn't work. Then I figured that the installed gnuplot starts without any terminal: Terminal type set to 'unknown' so if I choose a different terminal, like "set terminal x11" then it plots fine. Is this because of a bug in the installation??? It's probably nothing but I wanted to let you know about this problem. aa From schimaf at boulder.nist.gov Mon Mar 24 07:55:54 2008 From: schimaf at boulder.nist.gov (Frank Schima) Date: Mon, 24 Mar 2008 08:55:54 -0600 Subject: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() Message-ID: <6CB11A4D-1924-4020-BCB4-64461BDA3876@boulder.nist.gov> Hi all, Another thread mentioned pydoc, so I decided to look at it and ran 'pydoc modules'. Although it ran, it first returned a very strange error (a number of times): The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec(). Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__ () to debug. I've seen this before when I run tkinter based python apps. But everything seems to work just fine. What is causing this error? Is it a problem? Can it be removed/fixed somehow? Thanks! Frank Schima NIST Boulder, CO schimaf at boulder.nist.gov From daniel at brightfire.com Mon Mar 24 08:07:25 2008 From: daniel at brightfire.com (Daniel Lord) Date: Mon, 24 Mar 2008 08:07:25 -0700 Subject: using an http proxy? Message-ID: <2ad40b840803240807v5755f5cal90b51c5e15152b0e@mail.gmail.com> My place of employment has everything locked down except for port 80 so I have to use an http proxy. I can use curl from the command line with the proxy option so I know it should work for Macports, but a web search and the reading of the Macport Wiki, FAQ and other docs has not shown that Macports can take advantage of the proxy option for libCURL or the curl command. I have used the libCURL library using the libCURL proxy facility to fetch http data with C++, so I know the proxy can work through both the library and the command. I suppose I could look around in the source and hack it to use a proxy option is an arbitrarily named (by me) proxy file exists and using the proxy for the curl command invocation. But then it would break on Macports updates. Is there an 'official' way to do this? One that should hold up through Macport updates? Daniel LOrd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080324/d77f023e/attachment.html From kw at codebykevin.com Mon Mar 24 08:14:17 2008 From: kw at codebykevin.com (Kevin Walzer) Date: Mon, 24 Mar 2008 11:14:17 -0400 Subject: __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() In-Reply-To: <6CB11A4D-1924-4020-BCB4-64461BDA3876@boulder.nist.gov> References: <6CB11A4D-1924-4020-BCB4-64461BDA3876@boulder.nist.gov> Message-ID: <47E7C549.6090304@codebykevin.com> Frank Schima wrote: > Hi all, > > > Another thread mentioned pydoc, so I decided to look at it and ran > 'pydoc modules'. Although it ran, it first returned a very strange > error (a number of times): > > The process has forked and you cannot use this CoreFoundation > functionality safely. You MUST exec(). > Break on > __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__ > () to debug. > > I've seen this before when I run tkinter based python apps. But > everything seems to work just fine. > > What is causing this error? Is it a problem? Can it be removed/fixed > somehow? > It's a bug that is a result of the interaction between Python and Tkinter (Tcl/Tk) on Leopard, owing to some changes in how CoreFoundation handles processes. See http://bugs.python.org/issue1676 for some additional details. As far as I can tell it's harmless. I haven't noticed any performance issues in the Tkinter application I develop, apart from seeing tons of those error messages in my console logs. I am not aware that anyone is actively working on the bug, since both the Python and Tk folks say it's the other one's problem. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com From dersh at alum.mit.edu Mon Mar 24 09:28:03 2008 From: dersh at alum.mit.edu (Adam Dershowitz) Date: Mon, 24 Mar 2008 09:28:03 -0700 Subject: is the avahi user creation supposed to be part of installing avahi? In-Reply-To: <335F5004-325D-4162-8B34-010B3B3B44D7@gmail.com> References: <79E9F7F6-588F-40CD-81A7-395CD5C03F59@mac.com> <335F5004-325D-4162-8B34-010B3B3B44D7@gmail.com> Message-ID: <67C6A5FE-336D-444E-B6B0-BD32BAA10ED7@alum.mit.edu> I believe that this is the problem that I saw before. It seems that by default dbus doesn't run while avahi does. Just doing: sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist starts the dbus daemon and should allow avahi to connect to it properly. And, for anyone who might be interested, I had an additional avahi problem where my log was filling up with: Mar 23 17:41:06 Macintosh org.freedesktop.avahi-daemon[67]: Received packet from invalid interface. Mar 23 17:41:36: --- last message repeated 9 times --- Mar 23 17:41:36 Macintosh org.freedesktop.avahi-daemon[67]: Received packet from invalid interface. Mar 23 17:42:06: --- last message repeated 9 times --- Mar 23 17:42:06 Macintosh org.freedesktop.avahi-daemon[67]: Received packet from invalid interface. I found that the solution was just to kill it: sudo avahi-daemon -k at which point it automatically restarted and the errors went away. --Adam On Mar 24, 2008, at 12:33 AM, nodje wrote: > thanks for the reply Paul. > gives no hope though :( > > I've had this message for months. > It's polluting my console log and probably consumes resources. > > As you say, some other applications need it. So it's not even > possible to uninstall. > > ... > > > On 24 Mar 2008, at 1:30 PM, paul beard wrote: >> >> >> On Sun, Mar 23, 2008 at 8:19 PM, nodje wrote: >> I had an avahi probleme due to thuis missing user. >> I recently updated avahi to 0.6.22_0 (from 0.6.17_0). It fixed the >> missing avahi >> user problem. >> But I'm still having an issue, apparently similar with Paul's one. >> >> Console log: >> 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] >> Failed to connect to the daemon. This probably means that you >> 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] >> didn't start avahi-daemon before avahi-dnsconfd. >> 24/03/2008 12:05:13 PM com.apple.launchd[1] >> (org.freedesktop.avahi-dnsconfd[522]) Exited with exit code: 1 >> 24/03/2008 12:05:13 PM com.apple.launchd[1] (org.freedesktop.avahi- >> dnsconfd) >> Throttling respawn: Will start in 10 seconds >> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >> Found user 'avahi' (UID 502) and group 'avahi' (GID 502). >> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >> Successfully dropped root privileges. >> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] avahi- >> daemon 0.6.22 >> starting up. >> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >> WARNING: No NSS support for mDNS detected, consider installing nss- >> mdns! >> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >> dbus_bus_get_private(): Failed to connect to socket >> /opt/local/var/run/dbus/system_bus_socket: Connection refused >> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING: >> Failed to contact D-Bus daemon. >> 24/03/2008 12:05:14 PM com.apple.launchd[1] >> (org.freedesktop.avahi-daemon[523]) Exited with exit code: 255 >> 24/03/2008 12:05:14 PM com.apple.launchd[1] (org.freedesktop.avahi- >> daemon) >> Throttling respawn: Will start in 10 seconds >> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] connect(): >> No such file or directory >> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] >> Failed to connect to the daemon. This probably means that you >> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] didn't >> start >> avahi-daemon before avahi-dnsconfd. >> 24/03/2008 12:05:23 PM com.apple.launchd[1] >> (org.freedesktop.avahi-dnsconfd[524]) Exited with exit code: 1 >> >> Would reinstall avahi solve the problem? >> I have seen very few thread about the topic. >> Paul, did you manage to get a working asahi? >> >> Thanks, >> >> --nodje >> >> >> To be honest, I'm not sure. This seems to be one of those areas >> where MacPorts and Apple duplicate each other's efforts. I don't >> know if avahi is supposed to do anything other than just be >> installed so other applications don't grumble. An mDNS responder >> exists on OS X, anyway. >> >> At the moment, my avahi isn't even running, for some reason. I >> don't know if it matters or not. >> >> -- >> Paul Beard / www.paulbeard.org/ >> > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080324/e02b1599/attachment-0001.html From raimue at macports.org Mon Mar 24 13:58:44 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 24 Mar 2008 21:58:44 +0100 Subject: gnuplot not plotting In-Reply-To: References: Message-ID: <47E81604.8040600@macports.org> Alejandro Aragon wrote: > Hi everyone, > > I installed gnuplot the other day and then I tried to plot something > and it didn't work. Then I figured that the installed gnuplot starts > without any terminal: > > Terminal type set to 'unknown' > > so if I choose a different terminal, like "set terminal x11" then it > plots fine. Is this because of a bug in the installation??? It's > probably nothing but I wanted to let you know about this problem. Do you have aquaterm installed? Rainer From blb at macports.org Mon Mar 24 14:02:50 2008 From: blb at macports.org (Bryan Blackburn) Date: Mon, 24 Mar 2008 15:02:50 -0600 Subject: using an http proxy? In-Reply-To: <2ad40b840803240807v5755f5cal90b51c5e15152b0e@mail.gmail.com> References: <2ad40b840803240807v5755f5cal90b51c5e15152b0e@mail.gmail.com> Message-ID: On Mar 24, 2008, at 9:07 AM, Daniel Lord wrote: > My place of employment has everything locked down except for port 80 > so I have to use an http proxy. > I can use curl from the command line with the proxy option so I know > it should work for Macports, but a web search and the reading of the > Macport Wiki, FAQ and other docs has not shown that Macports can > take advantage of the proxy option for libCURL or the curl command. > I have used the libCURL library using the libCURL proxy facility to > fetch http data with C++, so I know the proxy can work through both > the library and the command. > > I suppose I could look around in the source and hack it to use a > proxy option is an arbitrarily named (by me) proxy file exists and > using the proxy for the curl command invocation. But then it would > break on Macports updates. > > Is there an 'official' way to do this? One that should hold up > through Macport updates? > If you set the standard curl proxy environment variables (http_proxy, FTP_PROXY, etc; see 'man curl'), this should get fetching of sources to work through the proxy. However, for selfupdate, which uses rsync, there isn't a way to use the proxy. I think in this case you have to use a subversion-based repository instead. For this you need to checkout MacPorts[1], then updated your ${prefix}/etc/macports/sources.conf to point to the location of the dports directory instead of the rsync:// line. Bryan [1] - http://trac.macports.org/projects/macports/wiki/GetMacPortsSource > Daniel LOrd From raimue at macports.org Mon Mar 24 14:48:21 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 24 Mar 2008 22:48:21 +0100 Subject: using an http proxy? In-Reply-To: References: <2ad40b840803240807v5755f5cal90b51c5e15152b0e@mail.gmail.com> Message-ID: <47E821A5.3090403@macports.org> Bryan Blackburn wrote: > If you set the standard curl proxy environment variables (http_proxy, > FTP_PROXY, etc; see 'man curl'), this should get fetching of sources > to work through the proxy. According to ticket #13158 [1], you have to specify your proxy on the command line if using sudo, as it normally unsets environment variables: $ sudo env http_proxy='foobar' port fetch $portname This is still missing from the HOWTO section in the wiki [2], but requested. Any volunteers? :-) > However, for selfupdate, which uses rsync, there isn't a way to use > the proxy. I think in this case you have to use a subversion-based > repository instead. For this you need to checkout MacPorts[1], then > updated your ${prefix}/etc/macports/sources.conf to point to the > location of the dports directory instead of the rsync:// line. Unfortunately if rsync is unavailable, there is no other way of updating base than downloading sources and compiling manually. But the ports tree can be synced with svn over HTTP/HTTPS. Rainer [1] http://trac.macosforge.org/projects/macports/ticket/13158 [2] http://trac.macosforge.org/projects/macports/wiki/howto/ From alejandro.aragon at gmail.com Mon Mar 24 15:13:19 2008 From: alejandro.aragon at gmail.com (Alejandro Aragon) Date: Mon, 24 Mar 2008 17:13:19 -0500 Subject: gnuplot not plotting In-Reply-To: <47E81604.8040600@macports.org> References: <47E81604.8040600@macports.org> Message-ID: <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> No, I don't. Does it make any difference? aa On Mar 24, 2008, at 3:58 PM, Rainer M?ller wrote: > Alejandro Aragon wrote: >> Hi everyone, >> >> I installed gnuplot the other day and then I tried to plot something >> and it didn't work. Then I figured that the installed gnuplot starts >> without any terminal: >> >> Terminal type set to 'unknown' >> >> so if I choose a different terminal, like "set terminal x11" then it >> plots fine. Is this because of a bug in the installation??? It's >> probably nothing but I wanted to let you know about this problem. > > Do you have aquaterm installed? > > Rainer From vivacarlie at gmail.com Mon Mar 24 15:17:23 2008 From: vivacarlie at gmail.com (Nehemiah Dacres) Date: Mon, 24 Mar 2008 17:17:23 -0500 Subject: is the avahi user creation supposed to be part of Message-ID: <65fadfc30803241517i53497bci5ca15fbc5e85c8b7@mail.gmail.com> why are you installing avahi?it already says on their Track that avahi is an implimentation of mDNS. having 2 of those on the same machine would clearly be a problem, simply use Bonjour. The Avahi mac people will simply have to make their avahi damon work around Bonjour becasue removing bonjour will most likely break mac os functionality. -- "lalalalala! it's not broken because I can use it" http://linux.slashdot.org/comments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080324/e5f45f30/attachment.html From raimue at macports.org Mon Mar 24 15:25:27 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 24 Mar 2008 23:25:27 +0100 Subject: gnuplot not plotting In-Reply-To: <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> References: <47E81604.8040600@macports.org> <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> Message-ID: <47E82A57.5040200@macports.org> Alejandro Aragon wrote: > No, I don't. Does it make any difference? It is a native Cocoa terminal for gnuplot and my gnuplot installation seems to use it automatically. At least I never had to set terminal myself. Terminal type set to 'aqua' gnuplot> Also, aquaterm is a dependency of gnuplot and should have been installed by default. Did you edit the Portfile? Rainer From alejandro.aragon at gmail.com Mon Mar 24 16:10:52 2008 From: alejandro.aragon at gmail.com (Alejandro Aragon) Date: Mon, 24 Mar 2008 18:10:52 -0500 Subject: gnuplot not plotting In-Reply-To: <47E82A57.5040200@macports.org> References: <47E81604.8040600@macports.org> <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> <47E82A57.5040200@macports.org> Message-ID: <7774BB5F-15CC-4A1B-B374-6992B547EC2C@gmail.com> Well, gnuplot depends on aquaterm, but for some reason I don't have it in the system (I don't know why, I usually use the clean after I build the application). This is what it gives me when I try to install it: garyw:~ aaragon$ sudo port install aquaterm ---> Activating aquaterm 1.0.1_0 Error: Target org.macports.activate returned: Image error: /Library/ Frameworks/AquaTerm.framework/AquaTerm already exists and does not belong to a registered port. Unable to activate port aquaterm. Error: Status 1 encountered during processing. What does it mean? On Mar 24, 2008, at 5:25 PM, Rainer M?ller wrote: > Alejandro Aragon wrote: >> No, I don't. Does it make any difference? > > It is a native Cocoa terminal for gnuplot and my gnuplot > installation seems to use it automatically. At least I never had to > set terminal myself. > > Terminal type set to 'aqua' > gnuplot> > > Also, aquaterm is a dependency of gnuplot and should have been > installed by default. Did you edit the Portfile? > > Rainer From skip at pobox.com Mon Mar 24 16:40:34 2008 From: skip at pobox.com (skip at pobox.com) Date: Mon, 24 Mar 2008 18:40:34 -0500 Subject: gnuplot not plotting In-Reply-To: <7774BB5F-15CC-4A1B-B374-6992B547EC2C@gmail.com> References: <47E81604.8040600@macports.org> <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> <47E82A57.5040200@macports.org> <7774BB5F-15CC-4A1B-B374-6992B547EC2C@gmail.com> Message-ID: <18408.15346.828621.387292@montanaro-dyndns-org.local> Alejandro> garyw:~ aaragon$ sudo port install aquaterm ---> Activating aquaterm 1.0.1_0 Alejandro> Error: Target org.macports.activate returned: Image error: /Library/ Alejandro> Frameworks/AquaTerm.framework/AquaTerm already exists and does not Alejandro> belong to a registered port. Unable to activate port aquaterm. Alejandro> Error: Status 1 encountered during processing. Alejandro> What does it mean? To me it means try this: sudo rm -r /Library/Frameworks/AquaTerm.framework/Aquaterm sudo port install aquaterm :-) -- Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From dersh at alum.mit.edu Mon Mar 24 17:21:54 2008 From: dersh at alum.mit.edu (Adam Dershowitz) Date: Mon, 24 Mar 2008 17:21:54 -0700 Subject: is the avahi user creation supposed to be part of In-Reply-To: <65fadfc30803241517i53497bci5ca15fbc5e85c8b7@mail.gmail.com> References: <65fadfc30803241517i53497bci5ca15fbc5e85c8b7@mail.gmail.com> Message-ID: <818A63A6-1B60-4CCB-9890-6FAD8FD0FA97@alum.mit.edu> On Mar 24, 2008, at 3:17 PM, Nehemiah Dacres wrote: > why are you installing avahi?it already says on their Track that > avahi is an implimentation of mDNS. having 2 of those on the same > machine would clearly be a problem, simply use Bonjour. The Avahi > mac people will simply have to make their avahi damon work around > Bonjour becasue removing bonjour will most likely break mac os > functionality. It is installed as part of a dependency chain. I have gimp installed, which depends on librsvg, which depends on gnome-vfs which in turn depends on avahi I don't really know why avahi is necessary (or if it actually is necessary), but both avahi and Bonjour seem to be working fine, and coexisting, on my machine. --Adam From ryandesign at macports.org Mon Mar 24 18:11:50 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 24 Mar 2008 20:11:50 -0500 Subject: manually downloaded sources In-Reply-To: References: Message-ID: <4B3E42C7-44A8-4A80-9AEB-AD3F5724DE72@macports.org> On Mar 24, 2008, at 07:05, ?????? ??????? wrote: > How to port manually downloaded source tar-balls? It seems to be > very simple but I can't find out any information on this. > You can place downloaded tarballs into ${prefix}/var/macports/ distfiles/${name} where ${prefix} is usually /opt/local and ${name} is the name of the port you're trying to install. > And something else. Installing from MacPorts-1.6.0.pkg without > running internet connection result in error. This makes some > inconvenience, because user have to define environment paths manually. > The installer tries to run a selfupdate. This requires an Internet connection. I believe this has already been changed in trunk to no longer be a fatal error. We just haven't had another release of MacPorts since then. There is a bug in the 1.6.0 installer where the paths do not get set up correctly in your environment so you must do it manually. This has already been fixed in trunk. From alejandro.aragon at gmail.com Mon Mar 24 18:23:44 2008 From: alejandro.aragon at gmail.com (Alejandro Aragon) Date: Mon, 24 Mar 2008 20:23:44 -0500 Subject: gnuplot not plotting In-Reply-To: <18408.15346.828621.387292@montanaro-dyndns-org.local> References: <47E81604.8040600@macports.org> <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> <47E82A57.5040200@macports.org> <7774BB5F-15CC-4A1B-B374-6992B547EC2C@gmail.com> <18408.15346.828621.387292@montanaro-dyndns-org.local> Message-ID: I cannot do that, can I? Probably that framework is used by the system. aa On Mar 24, 2008, at 6:40 PM, skip at pobox.com wrote: > > Alejandro> garyw:~ aaragon$ sudo port install aquaterm > ---> Activating aquaterm 1.0.1_0 > Alejandro> Error: Target org.macports.activate returned: Image > error: /Library/ > Alejandro> Frameworks/AquaTerm.framework/AquaTerm already exists > and does not > Alejandro> belong to a registered port. Unable to activate port > aquaterm. > Alejandro> Error: Status 1 encountered during processing. > > Alejandro> What does it mean? > > To me it means try this: > > sudo rm -r /Library/Frameworks/AquaTerm.framework/Aquaterm > sudo port install aquaterm > > :-) > > -- > Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/ From skip at pobox.com Mon Mar 24 18:30:19 2008 From: skip at pobox.com (skip at pobox.com) Date: Mon, 24 Mar 2008 20:30:19 -0500 Subject: gnuplot not plotting In-Reply-To: References: <47E81604.8040600@macports.org> <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> <47E82A57.5040200@macports.org> <7774BB5F-15CC-4A1B-B374-6992B547EC2C@gmail.com> <18408.15346.828621.387292@montanaro-dyndns-org.local> Message-ID: <18408.21931.243979.346874@montanaro-dyndns-org.local> Alejandro> I cannot do that, can I? Probably that framework is used by Alejandro> the system. Not necessarily. /Library/Frameworks/AquaTerm.framework on my Mac is dated March 7. I think MacPorts installed it: % grep /Library /opt/local/var/macports/sources/rsync.macports.org/release/ports/aqua/aquaterm/Portfile system "install_name_tool -change /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm ${prefix}/lib/libaquaterm.1.dylib \ xinstall -d -m 0755 ${destroot}/Library/Frameworks ${destroot}/Library/Frameworks Skip From ryandesign at macports.org Mon Mar 24 18:30:23 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 24 Mar 2008 20:30:23 -0500 Subject: gnuplot not plotting In-Reply-To: References: <47E81604.8040600@macports.org> <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> <47E82A57.5040200@macports.org> <7774BB5F-15CC-4A1B-B374-6992B547EC2C@gmail.com> <18408.15346.828621.387292@montanaro-dyndns-org.local> Message-ID: On Mar 24, 2008, at 20:23, Alejandro Aragon wrote: > On Mar 24, 2008, at 6:40 PM, skip at pobox.com wrote: > >> >> Alejandro> garyw:~ aaragon$ sudo port install aquaterm >> ---> Activating aquaterm 1.0.1_0 >> Alejandro> Error: Target org.macports.activate returned: Image >> error: /Library/ >> Alejandro> Frameworks/AquaTerm.framework/AquaTerm already exists >> and does not >> Alejandro> belong to a registered port. Unable to activate port >> aquaterm. >> Alejandro> Error: Status 1 encountered during processing. >> >> Alejandro> What does it mean? >> >> To me it means try this: >> >> sudo rm -r /Library/Frameworks/AquaTerm.framework/Aquaterm >> sudo port install aquaterm >> >> :-) > > I cannot do that, can I? Probably that framework is used by the > system. Nope, that's part of AquaTerm, which is not made by Apple. More probably, you installed AquaTerm either manually, or with MacPorts before, then removed MacPorts without first uninstalling AquaTerm, then reinstalled MacPorts, so that it now has no idea that it previously installed these files. From paulbeard at gmail.com Mon Mar 24 18:49:57 2008 From: paulbeard at gmail.com (paul beard) Date: Mon, 24 Mar 2008 18:49:57 -0700 Subject: is the avahi user creation supposed to be part of In-Reply-To: <818A63A6-1B60-4CCB-9890-6FAD8FD0FA97@alum.mit.edu> References: <65fadfc30803241517i53497bci5ca15fbc5e85c8b7@mail.gmail.com> <818A63A6-1B60-4CCB-9890-6FAD8FD0FA97@alum.mit.edu> Message-ID: On Mon, Mar 24, 2008 at 5:21 PM, Adam Dershowitz wrote: > > On Mar 24, 2008, at 3:17 PM, Nehemiah Dacres wrote: > > > why are you installing avahi?it already says on their Track that > > avahi is an implimentation of mDNS. having 2 of those on the same > > machine would clearly be a problem, simply use Bonjour. The Avahi > > mac people will simply have to make their avahi damon work around > > Bonjour becasue removing bonjour will most likely break mac os > > functionality. > > > It is installed as part of a dependency chain. > I have gimp installed, which depends on librsvg, which depends on > gnome-vfs which in turn depends on avahi > > I don't really know why avahi is necessary (or if it actually is > necessary), but both avahi and Bonjour seem to be working fine, and > coexisting, on my machine. > Not sure if any of this means it has to be running, just so long as it's installed. It doesn't look like avahi has been running here and I haven't noticed anything missing. -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080324/a09d3c96/attachment.html From nodje.co at gmail.com Mon Mar 24 18:53:55 2008 From: nodje.co at gmail.com (nodje) Date: Tue, 25 Mar 2008 10:53:55 +0900 Subject: is the avahi user creation supposed to be part of installing avahi? In-Reply-To: <67C6A5FE-336D-444E-B6B0-BD32BAA10ED7@alum.mit.edu> References: <79E9F7F6-588F-40CD-81A7-395CD5C03F59@mac.com> <335F5004-325D-4162-8B34-010B3B3B44D7@gmail.com> <67C6A5FE-336D-444E-B6B0-BD32BAA10ED7@alum.mit.edu> Message-ID: thanks for the tip Adam. but the dbus is already started in my case: It's avahi-daemon that cannot start. For some obscure reason, it cannot connect to dbus... --nodje On 25 Mar 2008, at 1:28 AM, Adam Dershowitz wrote: > I believe that this is the problem that I saw before. It seems that > by default dbus doesn't run while avahi does. > Just doing: > sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist > starts the dbus daemon and should allow avahi to connect to it > properly. > > And, for anyone who might be interested, I had an additional avahi > problem where my log was filling up with: > Mar 23 17:41:06 Macintosh org.freedesktop.avahi-daemon[67]: Received > packet from invalid interface. > Mar 23 17:41:36: --- last message repeated 9 times --- > Mar 23 17:41:36 Macintosh org.freedesktop.avahi-daemon[67]: Received > packet from invalid interface. > Mar 23 17:42:06: --- last message repeated 9 times --- > Mar 23 17:42:06 Macintosh org.freedesktop.avahi-daemon[67]: Received > packet from invalid interface. > > I found that the solution was just to kill it: > sudo avahi-daemon -k > > at which point it automatically restarted and the errors went away. > > --Adam > > > > On Mar 24, 2008, at 12:33 AM, nodje wrote: > >> thanks for the reply Paul. >> gives no hope though :( >> >> I've had this message for months. >> It's polluting my console log and probably consumes resources. >> >> As you say, some other applications need it. So it's not even >> possible to uninstall. >> >> ... >> >> >> On 24 Mar 2008, at 1:30 PM, paul beard wrote: >>> >>> >>> On Sun, Mar 23, 2008 at 8:19 PM, nodje wrote: >>> I had an avahi probleme due to thuis missing user. >>> I recently updated avahi to 0.6.22_0 (from 0.6.17_0). It fixed the >>> missing avahi >>> user problem. >>> But I'm still having an issue, apparently similar with Paul's one. >>> >>> Console log: >>> 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] >>> Failed to connect to the daemon. This probably means that you >>> 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] >>> didn't start avahi-daemon before avahi-dnsconfd. >>> 24/03/2008 12:05:13 PM com.apple.launchd[1] >>> (org.freedesktop.avahi-dnsconfd[522]) Exited with exit code: 1 >>> 24/03/2008 12:05:13 PM com.apple.launchd[1] (org.freedesktop.avahi- >>> dnsconfd) >>> Throttling respawn: Will start in 10 seconds >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>> Found user 'avahi' (UID 502) and group 'avahi' (GID 502). >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>> Successfully dropped root privileges. >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] avahi- >>> daemon 0.6.22 >>> starting up. >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>> WARNING: No NSS support for mDNS detected, consider installing nss- >>> mdns! >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>> dbus_bus_get_private(): Failed to connect to socket >>> /opt/local/var/run/dbus/system_bus_socket: Connection refused >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING: >>> Failed to contact D-Bus daemon. >>> 24/03/2008 12:05:14 PM com.apple.launchd[1] >>> (org.freedesktop.avahi-daemon[523]) Exited with exit code: 255 >>> 24/03/2008 12:05:14 PM com.apple.launchd[1] (org.freedesktop.avahi- >>> daemon) >>> Throttling respawn: Will start in 10 seconds >>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] >>> connect(): >>> No such file or directory >>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] >>> Failed to connect to the daemon. This probably means that you >>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] didn't >>> start >>> avahi-daemon before avahi-dnsconfd. >>> 24/03/2008 12:05:23 PM com.apple.launchd[1] >>> (org.freedesktop.avahi-dnsconfd[524]) Exited with exit code: 1 >>> >>> Would reinstall avahi solve the problem? >>> I have seen very few thread about the topic. >>> Paul, did you manage to get a working asahi? >>> >>> Thanks, >>> >>> --nodje >>> >>> >>> To be honest, I'm not sure. This seems to be one of those areas >>> where MacPorts and Apple duplicate each other's efforts. I don't >>> know if avahi is supposed to do anything other than just be >>> installed so other applications don't grumble. An mDNS responder >>> exists on OS X, anyway. >>> >>> At the moment, my avahi isn't even running, for some reason. I >>> don't know if it matters or not. >>> >>> -- >>> Paul Beard / www.paulbeard.org/ >>> >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080325/e8e95d2e/attachment-0001.html From ryandesign at macports.org Mon Mar 24 19:56:37 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 24 Mar 2008 21:56:37 -0500 Subject: gnuplot not plotting In-Reply-To: References: <47E81604.8040600@macports.org> <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> <47E82A57.5040200@macports.org> <7774BB5F-15CC-4A1B-B374-6992B547EC2C@gmail.com> <18408.15346.828621.387292@montanaro-dyndns-org.local> Message-ID: On Mar 24, 2008, at 20:37, Alejandro Aragon wrote: > On Mar 24, 2008, at 8:30 PM, Ryan Schmidt wrote: > >> On Mar 24, 2008, at 20:23, Alejandro Aragon wrote: >> >>> On Mar 24, 2008, at 6:40 PM, skip at pobox.com wrote: >>> >>>> >>>> Alejandro> garyw:~ aaragon$ sudo port install aquaterm >>>> ---> Activating aquaterm 1.0.1_0 >>>> Alejandro> Error: Target org.macports.activate returned: Image >>>> error: /Library/ >>>> Alejandro> Frameworks/AquaTerm.framework/AquaTerm already exists >>>> and does not >>>> Alejandro> belong to a registered port. Unable to activate port >>>> aquaterm. >>>> Alejandro> Error: Status 1 encountered during processing. >>>> >>>> Alejandro> What does it mean? >>>> >>>> To me it means try this: >>>> >>>> sudo rm -r /Library/Frameworks/AquaTerm.framework/Aquaterm >>>> sudo port install aquaterm >>>> >>>> :-) >>> >>> I cannot do that, can I? Probably that framework is used by the >>> system. >> >> Nope, that's part of AquaTerm, which is not made by Apple. >> >> More probably, you installed AquaTerm either manually, or with >> MacPorts before, then removed MacPorts without first uninstalling >> AquaTerm, then reinstalled MacPorts, so that it now has no idea >> that it previously installed these files. > > That's exactly what I did! How do I fix it? The AquaTerm framework > is dated March 19th, and the most recent gnuplot installation March > 20th. I was having some issues with macports when compiling the > boost library so I uninstalled thinking that the problem may be a > bad installation. Should I remove completely that directory and try > the AquaTerm installation again? Yes, just like Skip said: sudo rm -r /Library/Frameworks/AquaTerm.framework/Aquaterm sudo port install aquaterm You could also just tell MacPorts to force the installation: sudo port -f install aquaterm For any file that MacPorts wants to install that already exists, it will first rename the existing file, and tell you about it. You can then manually remove those renamed files later if you want. From alejandro.aragon at gmail.com Mon Mar 24 20:12:26 2008 From: alejandro.aragon at gmail.com (Alejandro Aragon) Date: Mon, 24 Mar 2008 22:12:26 -0500 Subject: gnuplot not plotting In-Reply-To: References: <47E81604.8040600@macports.org> <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> <47E82A57.5040200@macports.org> <7774BB5F-15CC-4A1B-B374-6992B547EC2C@gmail.com> <18408.15346.828621.387292@montanaro-dyndns-org.local> Message-ID: <87DB0ADF-A795-4208-9C63-830B7BC31A28@gmail.com> It's working now, you guys are the best! On Mar 24, 2008, at 9:56 PM, Ryan Schmidt wrote: > On Mar 24, 2008, at 20:37, Alejandro Aragon wrote: > >> On Mar 24, 2008, at 8:30 PM, Ryan Schmidt wrote: >> >>> On Mar 24, 2008, at 20:23, Alejandro Aragon wrote: >>> >>>> On Mar 24, 2008, at 6:40 PM, skip at pobox.com wrote: >>>> >>>>> >>>>> Alejandro> garyw:~ aaragon$ sudo port install aquaterm >>>>> ---> Activating aquaterm 1.0.1_0 >>>>> Alejandro> Error: Target org.macports.activate returned: Image >>>>> error: /Library/ >>>>> Alejandro> Frameworks/AquaTerm.framework/AquaTerm already exists >>>>> and does not >>>>> Alejandro> belong to a registered port. Unable to activate port >>>>> aquaterm. >>>>> Alejandro> Error: Status 1 encountered during processing. >>>>> >>>>> Alejandro> What does it mean? >>>>> >>>>> To me it means try this: >>>>> >>>>> sudo rm -r /Library/Frameworks/AquaTerm.framework/Aquaterm >>>>> sudo port install aquaterm >>>>> >>>>> :-) >>>> >>>> I cannot do that, can I? Probably that framework is used by the >>>> system. >>> >>> Nope, that's part of AquaTerm, which is not made by Apple. >>> >>> More probably, you installed AquaTerm either manually, or with >>> MacPorts before, then removed MacPorts without first uninstalling >>> AquaTerm, then reinstalled MacPorts, so that it now has no idea >>> that it previously installed these files. >> >> That's exactly what I did! How do I fix it? The AquaTerm framework >> is dated March 19th, and the most recent gnuplot installation March >> 20th. I was having some issues with macports when compiling the >> boost library so I uninstalled thinking that the problem may be a >> bad installation. Should I remove completely that directory and try >> the AquaTerm installation again? > > Yes, just like Skip said: > > sudo rm -r /Library/Frameworks/AquaTerm.framework/Aquaterm > sudo port install aquaterm > > You could also just tell MacPorts to force the installation: > > sudo port -f install aquaterm > > For any file that MacPorts wants to install that already exists, it > will first rename the existing file, and tell you about it. You can > then manually remove those renamed files later if you want. > From skip at pobox.com Mon Mar 24 20:15:28 2008 From: skip at pobox.com (skip at pobox.com) Date: Mon, 24 Mar 2008 22:15:28 -0500 Subject: gnuplot not plotting In-Reply-To: References: <47E81604.8040600@macports.org> <99488CBD-FCFB-45BD-B19C-BE37542A9FC7@gmail.com> <47E82A57.5040200@macports.org> <7774BB5F-15CC-4A1B-B374-6992B547EC2C@gmail.com> <18408.15346.828621.387292@montanaro-dyndns-org.local> Message-ID: <18408.28240.787657.723242@montanaro-dyndns-org.local> Ryan> Yes, just like Skip said: Ryan> sudo rm -r /Library/Frameworks/AquaTerm.framework/Aquaterm Ryan> sudo port install aquaterm BTW, I ran into precisely these problems when migrating from my old PowerBook to my shiny new MacBook Pro. I naively assumed MacPorts was wholly contained in /opt/local so I just rm -r'd it and started over. I only learned later that it sprinkles some files outside of that tree. I have several times needed to simply zap something MacPorts complained about. Skip From paulbeard at gmail.com Mon Mar 24 21:22:23 2008 From: paulbeard at gmail.com (paul beard) Date: Mon, 24 Mar 2008 21:22:23 -0700 Subject: is the avahi user creation supposed to be part of installing avahi? In-Reply-To: References: <79E9F7F6-588F-40CD-81A7-395CD5C03F59@mac.com> <335F5004-325D-4162-8B34-010B3B3B44D7@gmail.com> <67C6A5FE-336D-444E-B6B0-BD32BAA10ED7@alum.mit.edu> Message-ID: On Mon, Mar 24, 2008 at 6:53 PM, nodje wrote: > thanks for the tip Adam. > > but the dbus is already started in my case: > It's avahi-daemon that cannot start. > For some obscure reason, it cannot connect to dbus... > do you need it to? -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080324/ee2fb37d/attachment.html From dersh at alum.mit.edu Mon Mar 24 22:45:29 2008 From: dersh at alum.mit.edu (Adam Dershowitz) Date: Mon, 24 Mar 2008 22:45:29 -0700 Subject: is the avahi user creation supposed to be part of installing avahi? In-Reply-To: References: <79E9F7F6-588F-40CD-81A7-395CD5C03F59@mac.com> <335F5004-325D-4162-8B34-010B3B3B44D7@gmail.com> <67C6A5FE-336D-444E-B6B0-BD32BAA10ED7@alum.mit.edu> Message-ID: <52C2AF33-0637-47E2-92AA-030EC70715E1@alum.mit.edu> Are you sure about that? Because I had the identical set of errors a while back and I believe that relaunching dbus solved it. I think that avahi was trying to connect to dbus and failing because dbus was not running. But most of the errors that showed up were avahi errors. Do you get any errors in your system log if you do: sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist When I had the error there were some existing files that confused dbus, so it would not restart properly. What about if you do this: sudo launchctl unload /Library/LaunchDaemons/org.macports.dbus.plist sudo rm /opt/local/var/run/dbus/pid sudo rm /opt/local/var/run/dbus/system_bus_socket sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist Does that get the errors to go away? --Adam On Mar 24, 2008, at 6:53 PM, nodje wrote: > thanks for the tip Adam. > > but the dbus is already started in my case: > It's avahi-daemon that cannot start. > For some obscure reason, it cannot connect to dbus... > > --nodje > > On 25 Mar 2008, at 1:28 AM, Adam Dershowitz wrote: >> I believe that this is the problem that I saw before. It seems >> that by default dbus doesn't run while avahi does. >> Just doing: >> sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist >> starts the dbus daemon and should allow avahi to connect to it >> properly. >> >> And, for anyone who might be interested, I had an additional avahi >> problem where my log was filling up with: >> Mar 23 17:41:06 Macintosh org.freedesktop.avahi-daemon[67]: >> Received packet from invalid interface. >> Mar 23 17:41:36: --- last message repeated 9 times --- >> Mar 23 17:41:36 Macintosh org.freedesktop.avahi-daemon[67]: >> Received packet from invalid interface. >> Mar 23 17:42:06: --- last message repeated 9 times --- >> Mar 23 17:42:06 Macintosh org.freedesktop.avahi-daemon[67]: >> Received packet from invalid interface. >> >> I found that the solution was just to kill it: >> sudo avahi-daemon -k >> >> at which point it automatically restarted and the errors went away. >> >> --Adam >> >> >> >> On Mar 24, 2008, at 12:33 AM, nodje wrote: >> >>> thanks for the reply Paul. >>> gives no hope though :( >>> >>> I've had this message for months. >>> It's polluting my console log and probably consumes resources. >>> >>> As you say, some other applications need it. So it's not even >>> possible to uninstall. >>> >>> ... >>> >>> >>> On 24 Mar 2008, at 1:30 PM, paul beard wrote: >>>> >>>> >>>> On Sun, Mar 23, 2008 at 8:19 PM, nodje wrote: >>>> I had an avahi probleme due to thuis missing user. >>>> I recently updated avahi to 0.6.22_0 (from 0.6.17_0). It fixed >>>> the missing avahi >>>> user problem. >>>> But I'm still having an issue, apparently similar with Paul's one. >>>> >>>> Console log: >>>> 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] >>>> Failed to connect to the daemon. This probably means that you >>>> 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] >>>> didn't start avahi-daemon before avahi-dnsconfd. >>>> 24/03/2008 12:05:13 PM com.apple.launchd[1] >>>> (org.freedesktop.avahi-dnsconfd[522]) Exited with exit code: 1 >>>> 24/03/2008 12:05:13 PM com.apple.launchd[1] >>>> (org.freedesktop.avahi-dnsconfd) >>>> Throttling respawn: Will start in 10 seconds >>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>>> Found user 'avahi' (UID 502) and group 'avahi' (GID 502). >>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>>> Successfully dropped root privileges. >>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] avahi- >>>> daemon 0.6.22 >>>> starting up. >>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>>> WARNING: No NSS support for mDNS detected, consider installing >>>> nss-mdns! >>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>>> dbus_bus_get_private(): Failed to connect to socket >>>> /opt/local/var/run/dbus/system_bus_socket: Connection refused >>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING: >>>> Failed to contact D-Bus daemon. >>>> 24/03/2008 12:05:14 PM com.apple.launchd[1] >>>> (org.freedesktop.avahi-daemon[523]) Exited with exit code: 255 >>>> 24/03/2008 12:05:14 PM com.apple.launchd[1] >>>> (org.freedesktop.avahi-daemon) >>>> Throttling respawn: Will start in 10 seconds >>>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] >>>> connect(): >>>> No such file or directory >>>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] >>>> Failed to connect to the daemon. This probably means that you >>>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] didn't >>>> start >>>> avahi-daemon before avahi-dnsconfd. >>>> 24/03/2008 12:05:23 PM com.apple.launchd[1] >>>> (org.freedesktop.avahi-dnsconfd[524]) Exited with exit code: 1 >>>> >>>> Would reinstall avahi solve the problem? >>>> I have seen very few thread about the topic. >>>> Paul, did you manage to get a working asahi? >>>> >>>> Thanks, >>>> >>>> --nodje >>>> >>>> >>>> To be honest, I'm not sure. This seems to be one of those areas >>>> where MacPorts and Apple duplicate each other's efforts. I don't >>>> know if avahi is supposed to do anything other than just be >>>> installed so other applications don't grumble. An mDNS responder >>>> exists on OS X, anyway. >>>> >>>> At the moment, my avahi isn't even running, for some reason. I >>>> don't know if it matters or not. >>>> >>>> -- >>>> Paul Beard / www.paulbeard.org/ >>>> >>> >>> _______________________________________________ >>> macports-users mailing list >>> macports-users at lists.macosforge.org >>> http://lists.macosforge. > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080324/e181ff39/attachment-0001.html From nodje.co at gmail.com Mon Mar 24 23:00:39 2008 From: nodje.co at gmail.com (nodje) Date: Tue, 25 Mar 2008 15:00:39 +0900 Subject: is the avahi user creation supposed to be part of installing avahi? In-Reply-To: <52C2AF33-0637-47E2-92AA-030EC70715E1@alum.mit.edu> References: <79E9F7F6-588F-40CD-81A7-395CD5C03F59@mac.com> <335F5004-325D-4162-8B34-010B3B3B44D7@gmail.com> <67C6A5FE-336D-444E-B6B0-BD32BAA10ED7@alum.mit.edu> <52C2AF33-0637-47E2-92AA-030EC70715E1@alum.mit.edu> Message-ID: <3408886E-8A6E-48A9-8B1E-1AD81E641D51@gmail.com> Adam, you're great :) it worked. I actually had 'org.macports.dbus: Already loaded' when trying to load dbus. I didn't think restart it could solve the problem. Anyway I didn't know how to, thanks for the set of instruction. Let's see if this support a reboot. Paul, I had the message: 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] dbus_bus_get_private(): Failed to connect to socket /opt/local/var/run/ dbus/system_bus_socket: Connection refused 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING:Failed to contact D-Bus daemon. So I figured asahi needed to connect to DBus... I don't understand what is the relation between the two. thanks Jean On 25 Mar 2008, at 2:45 PM, Adam Dershowitz wrote: > Are you sure about that? > Because I had the identical set of errors a while back and I believe > that relaunching dbus solved it. I think that avahi was trying to > connect to dbus and failing because dbus was not running. But most > of the errors that showed up were avahi errors. > Do you get any errors in your system log if you do: > sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist > > When I had the error there were some existing files that confused > dbus, so it would not restart properly. > What about if you do this: > sudo launchctl unload /Library/LaunchDaemons/org.macports.dbus.plist > sudo rm /opt/local/var/run/dbus/pid > sudo rm /opt/local/var/run/dbus/system_bus_socket > sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist > > Does that get the errors to go away? > > --Adam > > > > On Mar 24, 2008, at 6:53 PM, nodje wrote: > >> thanks for the tip Adam. >> >> but the dbus is already started in my case: >> It's avahi-daemon that cannot start. >> For some obscure reason, it cannot connect to dbus... >> >> --nodje >> >> On 25 Mar 2008, at 1:28 AM, Adam Dershowitz wrote: >>> I believe that this is the problem that I saw before. It seems >>> that by default dbus doesn't run while avahi does. >>> Just doing: >>> sudo launchctl load -w /Library/LaunchDaemons/ >>> org.macports.dbus.plist >>> starts the dbus daemon and should allow avahi to connect to it >>> properly. >>> >>> And, for anyone who might be interested, I had an additional avahi >>> problem where my log was filling up with: >>> Mar 23 17:41:06 Macintosh org.freedesktop.avahi-daemon[67]: >>> Received packet from invalid interface. >>> Mar 23 17:41:36: --- last message repeated 9 times --- >>> Mar 23 17:41:36 Macintosh org.freedesktop.avahi-daemon[67]: >>> Received packet from invalid interface. >>> Mar 23 17:42:06: --- last message repeated 9 times --- >>> Mar 23 17:42:06 Macintosh org.freedesktop.avahi-daemon[67]: >>> Received packet from invalid interface. >>> >>> I found that the solution was just to kill it: >>> sudo avahi-daemon -k >>> >>> at which point it automatically restarted and the errors went away. >>> >>> --Adam >>> >>> >>> >>> On Mar 24, 2008, at 12:33 AM, nodje wrote: >>> >>>> thanks for the reply Paul. >>>> gives no hope though :( >>>> >>>> I've had this message for months. >>>> It's polluting my console log and probably consumes resources. >>>> >>>> As you say, some other applications need it. So it's not even >>>> possible to uninstall. >>>> >>>> ... >>>> >>>> >>>> On 24 Mar 2008, at 1:30 PM, paul beard wrote: >>>>> >>>>> >>>>> On Sun, Mar 23, 2008 at 8:19 PM, nodje wrote: >>>>> I had an avahi probleme due to thuis missing user. >>>>> I recently updated avahi to 0.6.22_0 (from 0.6.17_0). It fixed >>>>> the missing avahi >>>>> user problem. >>>>> But I'm still having an issue, apparently similar with Paul's >>>>> one. >>>>> >>>>> Console log: >>>>> 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] >>>>> Failed to connect to the daemon. This probably means that you >>>>> 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] >>>>> didn't start avahi-daemon before avahi-dnsconfd. >>>>> 24/03/2008 12:05:13 PM com.apple.launchd[1] >>>>> (org.freedesktop.avahi-dnsconfd[522]) Exited with exit code: 1 >>>>> 24/03/2008 12:05:13 PM com.apple.launchd[1] >>>>> (org.freedesktop.avahi-dnsconfd) >>>>> Throttling respawn: Will start in 10 seconds >>>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>>>> Found user 'avahi' (UID 502) and group 'avahi' (GID 502). >>>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>>>> Successfully dropped root privileges. >>>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] avahi- >>>>> daemon 0.6.22 >>>>> starting up. >>>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>>>> WARNING: No NSS support for mDNS detected, consider installing >>>>> nss-mdns! >>>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>>>> dbus_bus_get_private(): Failed to connect to socket >>>>> /opt/local/var/run/dbus/system_bus_socket: Connection refused >>>>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING: >>>>> Failed to contact D-Bus daemon. >>>>> 24/03/2008 12:05:14 PM com.apple.launchd[1] >>>>> (org.freedesktop.avahi-daemon[523]) Exited with exit code: 255 >>>>> 24/03/2008 12:05:14 PM com.apple.launchd[1] >>>>> (org.freedesktop.avahi-daemon) >>>>> Throttling respawn: Will start in 10 seconds >>>>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] >>>>> connect(): >>>>> No such file or directory >>>>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] >>>>> Failed to connect to the daemon. This probably means that you >>>>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] >>>>> didn't start >>>>> avahi-daemon before avahi-dnsconfd. >>>>> 24/03/2008 12:05:23 PM com.apple.launchd[1] >>>>> (org.freedesktop.avahi-dnsconfd[524]) Exited with exit code: 1 >>>>> >>>>> Would reinstall avahi solve the problem? >>>>> I have seen very few thread about the topic. >>>>> Paul, did you manage to get a working asahi? >>>>> >>>>> Thanks, >>>>> >>>>> --nodje >>>>> >>>>> >>>>> To be honest, I'm not sure. This seems to be one of those areas >>>>> where MacPorts and Apple duplicate each other's efforts. I don't >>>>> know if avahi is supposed to do anything other than just be >>>>> installed so other applications don't grumble. An mDNS responder >>>>> exists on OS X, anyway. >>>>> >>>>> At the moment, my avahi isn't even running, for some reason. I >>>>> don't know if it matters or not. >>>>> >>>>> -- >>>>> Paul Beard / www.paulbeard.org/ >>>>> >>>> >>>> _______________________________________________ >>>> macports-users mailing list >>>> macports-users at lists.macosforge.org >>>> http://lists.macosforge. >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosfor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080325/1a203099/attachment.html From randall.h.wood at alexandriasoftware.com Tue Mar 25 02:26:19 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Tue, 25 Mar 2008 05:26:19 -0400 Subject: is the avahi user creation supposed to be part of In-Reply-To: <65fadfc30803241517i53497bci5ca15fbc5e85c8b7@mail.gmail.com> References: <65fadfc30803241517i53497bci5ca15fbc5e85c8b7@mail.gmail.com> Message-ID: On Mon, Mar 24, 2008 at 6:17 PM, Nehemiah Dacres wrote: > why are you installing avahi?it already says on their Track that avahi is an > implimentation of mDNS. having 2 of those on the same machine would clearly > be a problem, simply use Bonjour. The Avahi mac people will simply have to > make their avahi damon work around Bonjour becasue removing bonjour will > most likely break mac os functionality. > Avahi is a total mDNS package, including an mDNS responder, utilities for browsing mDNS resources, and libraries for integrating mDNS services and discovery into applications. Clearly, we don't the mDNS responder portion running if we are using the OS X mDNS responder, but we do want the rest of it. -- 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 randall.h.wood at alexandriasoftware.com Tue Mar 25 02:51:06 2008 From: randall.h.wood at alexandriasoftware.com (Randall Wood) Date: Tue, 25 Mar 2008 05:51:06 -0400 Subject: is the avahi user creation supposed to be part of installing avahi? In-Reply-To: <3408886E-8A6E-48A9-8B1E-1AD81E641D51@gmail.com> References: <79E9F7F6-588F-40CD-81A7-395CD5C03F59@mac.com> <335F5004-325D-4162-8B34-010B3B3B44D7@gmail.com> <67C6A5FE-336D-444E-B6B0-BD32BAA10ED7@alum.mit.edu> <52C2AF33-0637-47E2-92AA-030EC70715E1@alum.mit.edu> <3408886E-8A6E-48A9-8B1E-1AD81E641D51@gmail.com> Message-ID: On Tue, Mar 25, 2008 at 2:00 AM, nodje wrote: > > Adam, you're great :) > it worked. I actually had 'org.macports.dbus: Already loaded' when trying to > load dbus. > I didn't think restart it could solve the problem. > Anyway I didn't know how to, thanks for the set of instruction. > > Let's see if this support a reboot. > > Paul, I had the message: > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > dbus_bus_get_private(): Failed to connect to socket > /opt/local/var/run/dbus/system_bus_socket: Connection refused > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING:Failed to > contact D-Bus daemon. > > So I figured asahi needed to connect to DBus... > I don't understand what is the relation between the two. If I understand things correctly, applications wanting to use avahi communicate with it via dbus. > On 25 Mar 2008, at 2:45 PM, Adam Dershowitz wrote: > > Are you sure about that? > Because I had the identical set of errors a while back and I believe that > relaunching dbus solved it. I think that avahi was trying to connect to > dbus and failing because dbus was not running. But most of the errors that > showed up were avahi errors. > Do you get any errors in your system log if you do: > sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist > > When I had the error there were some existing files that confused dbus, so > it would not restart properly. > > What about if you do this: > sudo launchctl unload /Library/LaunchDaemons/org.macports.dbus.plist > sudo rm /opt/local/var/run/dbus/pid > sudo rm /opt/local/var/run/dbus/system_bus_socket > sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist > > Does that get the errors to go away? > > --Adam > > > > > On Mar 24, 2008, at 6:53 PM, nodje wrote: > > > thanks for the tip Adam. > > but the dbus is already started in my case: > It's avahi-daemon that cannot start. > For some obscure reason, it cannot connect to dbus... > > --nodje > On 25 Mar 2008, at 1:28 AM, Adam Dershowitz wrote: > > I believe that this is the problem that I saw before. It seems that by > default dbus doesn't run while avahi does. > Just doing: > sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist > starts the dbus daemon and should allow avahi to connect to it properly. > > And, for anyone who might be interested, I had an additional avahi problem > where my log was filling up with: > Mar 23 17:41:06 Macintosh org.freedesktop.avahi-daemon[67]: Received packet > from invalid interface. > Mar 23 17:41:36: --- last message repeated 9 times --- > Mar 23 17:41:36 Macintosh org.freedesktop.avahi-daemon[67]: Received packet > from invalid interface. > Mar 23 17:42:06: --- last message repeated 9 times --- > Mar 23 17:42:06 Macintosh org.freedesktop.avahi-daemon[67]: Received packet > from invalid interface. > > > I found that the solution was just to kill it: > sudo avahi-daemon -k > > at which point it automatically restarted and the errors went away. > > --Adam > > > > > On Mar 24, 2008, at 12:33 AM, nodje wrote: > > thanks for the reply Paul. > gives no hope though :( > > I've had this message for months. > It's polluting my console log and probably consumes resources. > > As you say, some other applications need it. So it's not even possible to > uninstall. > > ... > > > On 24 Mar 2008, at 1:30 PM, paul beard wrote: > > > On Sun, Mar 23, 2008 at 8:19 PM, nodje wrote: > > I had an avahi probleme due to thuis missing user. > > I recently updated avahi to 0.6.22_0 (from 0.6.17_0). It fixed the missing > avahi > > user problem. > > But I'm still having an issue, apparently similar with Paul's one. > > > > Console log: > > 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] > > Failed to connect to the daemon. This probably means that you > > 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] > > didn't start avahi-daemon before avahi-dnsconfd. > > 24/03/2008 12:05:13 PM com.apple.launchd[1] > > (org.freedesktop.avahi-dnsconfd[522]) Exited with exit code: 1 > > 24/03/2008 12:05:13 PM com.apple.launchd[1] > (org.freedesktop.avahi-dnsconfd) > > Throttling respawn: Will start in 10 seconds > > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > > Found user 'avahi' (UID 502) and group 'avahi' (GID 502). > > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > > Successfully dropped root privileges. > > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] avahi-daemon > 0.6.22 > > starting up. > > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > > WARNING: No NSS support for mDNS detected, consider installing nss-mdns! > > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] > > dbus_bus_get_private(): Failed to connect to socket > > /opt/local/var/run/dbus/system_bus_socket: Connection refused > > 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING: > > Failed to contact D-Bus daemon. > > 24/03/2008 12:05:14 PM com.apple.launchd[1] > > (org.freedesktop.avahi-daemon[523]) Exited with exit code: 255 > > 24/03/2008 12:05:14 PM com.apple.launchd[1] (org.freedesktop.avahi-daemon) > > Throttling respawn: Will start in 10 seconds > > 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] connect(): > > No such file or directory > > 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] > > Failed to connect to the daemon. This probably means that you > > 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] didn't start > > avahi-daemon before avahi-dnsconfd. > > 24/03/2008 12:05:23 PM com.apple.launchd[1] > > (org.freedesktop.avahi-dnsconfd[524]) Exited with exit code: 1 > > > > Would reinstall avahi solve the problem? > > I have seen very few thread about the topic. > > Paul, did you manage to get a working asahi? > > > > Thanks, > > > > --nodje > > > > > > To be honest, I'm not sure. This seems to be one of those areas where > MacPorts and Apple duplicate each other's efforts. I don't know if avahi is > supposed to do anything other than just be installed so other applications > don't grumble. An mDNS responder exists on OS X, anyway. > > At the moment, my avahi isn't even running, for some reason. I don't know if > it matters or not. > > -- > Paul Beard / www.paulbeard.org/ > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge. > _______________________________________________ > macports-users mailing list > macports-users at lists.macosfor > > _______________________________________________ > 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 nodje.co at gmail.com Tue Mar 25 04:06:41 2008 From: nodje.co at gmail.com (nodje) Date: Tue, 25 Mar 2008 20:06:41 +0900 Subject: is the avahi user creation supposed to be part of installing avahi? In-Reply-To: References: <79E9F7F6-588F-40CD-81A7-395CD5C03F59@mac.com> <335F5004-325D-4162-8B34-010B3B3B44D7@gmail.com> <67C6A5FE-336D-444E-B6B0-BD32BAA10ED7@alum.mit.edu> <52C2AF33-0637-47E2-92AA-030EC70715E1@alum.mit.edu> <3408886E-8A6E-48A9-8B1E-1AD81E641D51@gmail.com> Message-ID: Hum, it seems I have to restart dbus each time I reboot the machine. Too bad :( > If I understand things correctly, applications wanting to use avahi > communicate with it via dbus. that's my understanding too. On 25 Mar 2008, at 6:51 PM, Randall Wood wrote: > On Tue, Mar 25, 2008 at 2:00 AM, nodje wrote: >> >> Adam, you're great :) >> it worked. I actually had 'org.macports.dbus: Already loaded' when >> trying to >> load dbus. >> I didn't think restart it could solve the problem. >> Anyway I didn't know how to, thanks for the set of instruction. >> >> Let's see if this support a reboot. >> >> Paul, I had the message: >> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >> dbus_bus_get_private(): Failed to connect to socket >> /opt/local/var/run/dbus/system_bus_socket: Connection refused >> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >> WARNING:Failed to >> contact D-Bus daemon. >> >> So I figured asahi needed to connect to DBus... >> I don't understand what is the relation between the two. > > If I understand things correctly, applications wanting to use avahi > communicate with it via dbus. > >> On 25 Mar 2008, at 2:45 PM, Adam Dershowitz wrote: >> >> Are you sure about that? >> Because I had the identical set of errors a while back and I >> believe that >> relaunching dbus solved it. I think that avahi was trying to >> connect to >> dbus and failing because dbus was not running. But most of the >> errors that >> showed up were avahi errors. >> Do you get any errors in your system log if you do: >> sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist >> >> When I had the error there were some existing files that confused >> dbus, so >> it would not restart properly. >> >> What about if you do this: >> sudo launchctl unload /Library/LaunchDaemons/org.macports.dbus.plist >> sudo rm /opt/local/var/run/dbus/pid >> sudo rm /opt/local/var/run/dbus/system_bus_socket >> sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist >> >> Does that get the errors to go away? >> >> --Adam >> >> >> >> >> On Mar 24, 2008, at 6:53 PM, nodje wrote: >> >> >> thanks for the tip Adam. >> >> but the dbus is already started in my case: >> It's avahi-daemon that cannot start. >> For some obscure reason, it cannot connect to dbus... >> >> --nodje >> On 25 Mar 2008, at 1:28 AM, Adam Dershowitz wrote: >> >> I believe that this is the problem that I saw before. It seems >> that by >> default dbus doesn't run while avahi does. >> Just doing: >> sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist >> starts the dbus daemon and should allow avahi to connect to it >> properly. >> >> And, for anyone who might be interested, I had an additional avahi >> problem >> where my log was filling up with: >> Mar 23 17:41:06 Macintosh org.freedesktop.avahi-daemon[67]: >> Received packet >> from invalid interface. >> Mar 23 17:41:36: --- last message repeated 9 times --- >> Mar 23 17:41:36 Macintosh org.freedesktop.avahi-daemon[67]: >> Received packet >> from invalid interface. >> Mar 23 17:42:06: --- last message repeated 9 times --- >> Mar 23 17:42:06 Macintosh org.freedesktop.avahi-daemon[67]: >> Received packet >> from invalid interface. >> >> >> I found that the solution was just to kill it: >> sudo avahi-daemon -k >> >> at which point it automatically restarted and the errors went away. >> >> --Adam >> >> >> >> >> On Mar 24, 2008, at 12:33 AM, nodje wrote: >> >> thanks for the reply Paul. >> gives no hope though :( >> >> I've had this message for months. >> It's polluting my console log and probably consumes resources. >> >> As you say, some other applications need it. So it's not even >> possible to >> uninstall. >> >> ... >> >> >> On 24 Mar 2008, at 1:30 PM, paul beard wrote: >> >> >> On Sun, Mar 23, 2008 at 8:19 PM, nodje wrote: >>> I had an avahi probleme due to thuis missing user. >>> I recently updated avahi to 0.6.22_0 (from 0.6.17_0). It fixed the >>> missing >> avahi >>> user problem. >>> But I'm still having an issue, apparently similar with Paul's one. >>> >>> Console log: >>> 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] >>> Failed to connect to the daemon. This probably means that you >>> 24/03/2008 12:05:13 PM org.freedesktop.avahi-dnsconfd[522] >>> didn't start avahi-daemon before avahi-dnsconfd. >>> 24/03/2008 12:05:13 PM com.apple.launchd[1] >>> (org.freedesktop.avahi-dnsconfd[522]) Exited with exit code: 1 >>> 24/03/2008 12:05:13 PM com.apple.launchd[1] >> (org.freedesktop.avahi-dnsconfd) >>> Throttling respawn: Will start in 10 seconds >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>> Found user 'avahi' (UID 502) and group 'avahi' (GID 502). >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>> Successfully dropped root privileges. >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] avahi- >>> daemon >> 0.6.22 >>> starting up. >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>> WARNING: No NSS support for mDNS detected, consider installing nss- >>> mdns! >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] >>> dbus_bus_get_private(): Failed to connect to socket >>> /opt/local/var/run/dbus/system_bus_socket: Connection refused >>> 24/03/2008 12:05:14 PM org.freedesktop.avahi-daemon[523] WARNING: >>> Failed to contact D-Bus daemon. >>> 24/03/2008 12:05:14 PM com.apple.launchd[1] >>> (org.freedesktop.avahi-daemon[523]) Exited with exit code: 255 >>> 24/03/2008 12:05:14 PM com.apple.launchd[1] (org.freedesktop.avahi- >>> daemon) >>> Throttling respawn: Will start in 10 seconds >>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] >>> connect(): >>> No such file or directory >>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] >>> Failed to connect to the daemon. This probably means that you >>> 24/03/2008 12:05:23 PM org.freedesktop.avahi-dnsconfd[524] didn't >>> start >>> avahi-daemon before avahi-dnsconfd. >>> 24/03/2008 12:05:23 PM com.apple.launchd[1] >>> (org.freedesktop.avahi-dnsconfd[524]) Exited with exit code: 1 >>> >>> Would reinstall avahi solve the problem? >>> I have seen very few thread about the topic. >>> Paul, did you manage to get a working asahi? >>> >>> Thanks, >>> >>> --nodje >>> >>> >> >> To be honest, I'm not sure. This seems to be one of those areas where >> MacPorts and Apple duplicate each other's efforts. I don't know if >> avahi is >> supposed to do anything other than just be installed so other >> applications >> don't grumble. An mDNS responder exists on OS X, anyway. >> >> At the moment, my avahi isn't even running, for some reason. I >> don't know if >> it matters or not. >> >> -- >> Paul Beard / www.paulbeard.org/ >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge. >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosfor >> >> _______________________________________________ >> 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 dushanm at spinn.net Tue Mar 25 11:18:37 2008 From: dushanm at spinn.net (Dushan Mitrovich) Date: Tue, 25 Mar 2008 11:18:37 -0700 Subject: gnuplot not plotting In-Reply-To: Message-ID: <9HU6H5aAHIVd092yn@spinn.net> Rainer M?ller wrote: >Alejandro Aragon wrote: >> Hi everyone, >> >> I installed gnuplot the other day and then I tried to plot something >> and it didn't work. Then I figured that the installed gnuplot starts >> without any terminal: >> >> Terminal type set to 'unknown' >> >> so if I choose a different terminal, like "set terminal x11" then it >> plots fine. Is this because of a bug in the installation??? It's >> probably nothing but I wanted to let you know about this problem. > > Do you have aquaterm installed? I also have run into even more vexing problems with gnuplot (version 4.2.2 to use with Octave) and it occured to me that it might be useful to mention them here. In a nutshell: On a Mac Pro under X.4.11, exporting GNUTERM=aqua|x11 (the '|' is an 'or') failed to produce a plot window. Neither it nor error message appeared. Nothing worked until I created the file '~/.MacOSX/environment.plist' holding the GNUTERM variable and its value. So far only the value 'x11' works, with gnuplot opening in an X11 window. Without my having installed AquaTerm separately from what came with Octave (e.g. from MacPorts), set- ting the value to 'aqua' produces nothing. I don't know how relevant this is to the gnuplot problems discussed here, but if there is interest I can forward my latest email exchange with Thomas Treichl on the Octave list. - Dushan Mitrovich From face at CentosPrime.COM Tue Mar 25 11:27:40 2008 From: face at CentosPrime.COM (Chris Janton) Date: Tue, 25 Mar 2008 11:27:40 -0700 Subject: mysql5 vs. mysql5-devel Message-ID: <1BDF87D0-5D1C-4B7E-86CB-D8E291E720E7@centosprime.com> I a merely an egg. I have mysql5 installed and working just fine port install mysql5 +server I am curious about how I would go about installing, using, and/or switching back and forth if I did port install mysql5-devel Do I need to deactivate/stop mysql5 first? Inquiring minds want to know. Thanks. 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From noah at mac.com Tue Mar 25 13:16:11 2008 From: noah at mac.com (Noah Leaman) Date: Tue, 25 Mar 2008 13:16:11 -0700 Subject: using an http proxy? In-Reply-To: <47E821A5.3090403@macports.org> References: <2ad40b840803240807v5755f5cal90b51c5e15152b0e@mail.gmail.com> <47E821A5.3090403@macports.org> Message-ID: <21E0D6F2-149A-4F1F-BF32-2232BF50D891@mac.com> Is it possible to have an officially supported rsync service that listens on port 80 for people like us who cannot get standard rsync ports opened up on the firewall? Is there a technical reason why I can't be done or is it a resource issue? -- Noah On Mar 24, 2008, at 2:48 PM, Rainer M?ller wrote: > Bryan Blackburn wrote: >> If you set the standard curl proxy environment variables (http_proxy, >> FTP_PROXY, etc; see 'man curl'), this should get fetching of sources >> to work through the proxy. > > According to ticket #13158 [1], you have to specify your proxy on the > command line if using sudo, as it normally unsets environment > variables: > > $ sudo env http_proxy='foobar' port fetch $portname > > This is still missing from the HOWTO section in the wiki [2], but > requested. Any volunteers? :-) > >> However, for selfupdate, which uses rsync, there isn't a way to use >> the proxy. I think in this case you have to use a subversion-based >> repository instead. For this you need to checkout MacPorts[1], then >> updated your ${prefix}/etc/macports/sources.conf to point to the >> location of the dports directory instead of the rsync:// line. > > Unfortunately if rsync is unavailable, there is no other way of > updating > base than downloading sources and compiling manually. But the ports > tree > can be synced with svn over HTTP/HTTPS. > > Rainer > > [1] http://trac.macosforge.org/projects/macports/ticket/13158 > [2] http://trac.macosforge.org/projects/macports/wiki/howto/ > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From wsiegrist at apple.com Tue Mar 25 13:40:34 2008 From: wsiegrist at apple.com (William Siegrist) Date: Tue, 25 Mar 2008 13:40:34 -0700 Subject: using an http proxy? In-Reply-To: <21E0D6F2-149A-4F1F-BF32-2232BF50D891@mac.com> References: <2ad40b840803240807v5755f5cal90b51c5e15152b0e@mail.gmail.com> <47E821A5.3090403@macports.org> <21E0D6F2-149A-4F1F-BF32-2232BF50D891@mac.com> Message-ID: The svn method of syncing uses port 80. -Bill On Mar 25, 2008, at 1:16 PM, Noah Leaman wrote: > Is it possible to have an officially supported rsync service that > listens on port 80 for people like us who cannot get standard rsync > ports opened up on the firewall? Is there a technical reason why I > can't be done or is it a resource issue? > > -- > Noah > > On Mar 24, 2008, at 2:48 PM, Rainer M?ller wrote: > >> Bryan Blackburn wrote: >>> If you set the standard curl proxy environment variables >>> (http_proxy, >>> FTP_PROXY, etc; see 'man curl'), this should get fetching of sources >>> to work through the proxy. >> >> According to ticket #13158 [1], you have to specify your proxy on the >> command line if using sudo, as it normally unsets environment >> variables: >> >> $ sudo env http_proxy='foobar' port fetch $portname >> >> This is still missing from the HOWTO section in the wiki [2], but >> requested. Any volunteers? :-) >> >>> However, for selfupdate, which uses rsync, there isn't a way to use >>> the proxy. I think in this case you have to use a subversion-based >>> repository instead. For this you need to checkout MacPorts[1], then >>> updated your ${prefix}/etc/macports/sources.conf to point to the >>> location of the dports directory instead of the rsync:// line. >> >> Unfortunately if rsync is unavailable, there is no other way of >> updating >> base than downloading sources and compiling manually. But the ports >> tree >> can be synced with svn over HTTP/HTTPS. >> >> Rainer >> >> [1] http://trac.macosforge.org/projects/macports/ticket/13158 >> [2] http://trac.macosforge.org/projects/macports/wiki/howto/ >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > _______________________________________________ > 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/20080325/4fc16f69/attachment-0001.bin From ryandesign at macports.org Tue Mar 25 21:45:32 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 25 Mar 2008 23:45:32 -0500 Subject: mysql5 vs. mysql5-devel In-Reply-To: <1BDF87D0-5D1C-4B7E-86CB-D8E291E720E7@centosprime.com> References: <1BDF87D0-5D1C-4B7E-86CB-D8E291E720E7@centosprime.com> Message-ID: On Mar 25, 2008, at 13:27, Chris Janton wrote: > I a merely an egg. > > I have mysql5 installed and working just fine > > port install mysql5 +server > > I am curious about how I would go about installing, using, and/or > switching back and forth if I did > > port install mysql5-devel > > Do I need to deactivate/stop mysql5 first? > > Inquiring minds want to know. If you have done: sudo port install mysql5-devel +server Then, to switch from mysql5 to mysql5-devel, do this: sudo launchctl unload -w /Library/LaunchDaemons/ org.macports.mysql5.plist sudo port deactivate mysql5 sudo port activate mysql5-devel sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5- devel.plist From ryandesign at macports.org Tue Mar 25 23:54:18 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 26 Mar 2008 01:54:18 -0500 Subject: Uninstalling ports & meaning of install variants In-Reply-To: <488e9ef00803252042l5d8628bfo2927438710189892@mail.gmail.com> References: <488e9ef00803231846p24750b15h33e2aa5c4cfe30e6@mail.gmail.com> <0585A397-2720-49A5-89E5-1E17686B65E9@macports.org> <488e9ef00803252042l5d8628bfo2927438710189892@mail.gmail.com> Message-ID: <2CB68FAE-A53A-4265-AB4A-3B453B6005AE@macports.org> Don't forget to Reply All so that your reply also goes to the mailing list. My replies are inline below. On Mar 25, 2008, at 22:42, istojic at gmail.com wrote: > Thanks for your answers, Ryan. > > On Mon, Mar 24, 2008 at 12:12 AM, Ryan Schmidt wrote: > >> To uninstall a port foo, type "sudo port uninstall foo". >> >> There is a bug where the files will not be properly uninstalled if >> you specify the case of the port name incorrectly. For example, if >> you install the port ImageMagick, but then say "sudo port uninstall >> imagemagick" (instead of "sudo port uninstall ImageMagick") the files >> will remain. > > I performed the uninstall logged in as root, but otherwise the > instruction matched what you suggested along with the correct > case. Are there any other bugs that would cause the files to remain? Not that I'm aware of, but that doesn't mean there aren't any. > I had read that files would remain if they are dependencies for > other ports. If another port has a library or runtime dependency on the one you are trying to uninstall, MacPorts will prevent you from uninstalling the port. >> "sudo port install php5" installs a basic command-line version of >> php5 with features most users will want. "sudo port install php5 >> +apache2" installs command-line and apache2 versions of php5. "sudo >> port install php5 +apache2 +fastcgi +mysql5" installs command-line >> and apache2 and fastcgi versions of php5 which also include mysql5 >> support. None of the variants of the php5 port modify your php.ini, >> but there's also nothing that needs to be done to the php.ini to for >> example activate mysql5 support. It's not like on Windows where you >> need to load a separate DLL. When you select the +mysql5 variant, >> mysql5 support is simply built into the php5 library and/or binary. >> Does that explain it? > > I'm still a bit confused. When I attempted to select the variants, > it did things like create an apache directory with its own bin > directory (apachectl, httpd, etc), httpd.conf, etc. This to me > seems more like a duplicate installation of apache than it is > compiling the appropriate PHP modules for apache. Does this make > sense or am I explaining what I'm seeing poorly? The php5 port does not install a directory called apache. The apache2 port does install a directory called apache2; maybe that's what you mean. If you install php5 +apache2, the apache2 port is built and installed for you (if you had not already done so). MacPorts is designed to use its own software, not Apple's software; see the FAQ for why. php5 +apache2 also builds and installs an apache2-compatible php5 module into that apache2 directory. From tomc at sounddsl.com Wed Mar 26 06:08:14 2008 From: tomc at sounddsl.com (Thomas Condon) Date: Wed, 26 Mar 2008 06:08:14 -0700 Subject: mysql5admin Message-ID: <47EA4ABE.3040305@sounddsl.com> Folks, I'm having a few difficulties with a new installation of Navicat playing nicely with my MySQL5 MacPorts installation. One of the recommended actions from the Navicat site is a command called "mysqladmin", which I can't find anywhere (I've also tried "mysql5admin"). Is this an old instruction that has been deprecated and dropped? Or is this part of another package I need to install? Or are they just way out in left field over at the Navicat site? Thanks for any help you can give me. In A Chord, Tom Condon Bass, Agate Passage Quartet Bass & Proud Member, Kitsap Chordsmen Dir. Music Education, Evergreen District, BHS From face at CentosPrime.COM Wed Mar 26 06:38:43 2008 From: face at CentosPrime.COM (Chris Janton) Date: Wed, 26 Mar 2008 06:38:43 -0700 Subject: mysql5 vs. mysql5-devel In-Reply-To: References: <1BDF87D0-5D1C-4B7E-86CB-D8E291E720E7@centosprime.com> Message-ID: On 2008-03-25 , at 21:45 , Ryan Schmidt wrote: > If you have done: > > sudo port install mysql5-devel +server > > Then, to switch from mysql5 to mysql5-devel, do this: > > sudo launchctl unload -w /Library/LaunchDaemons/ > org.macports.mysql5.plist > sudo port deactivate mysql5 > sudo port activate mysql5-devel > sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5- > devel.plist Thank you. That worked nicely. Now I have to figure out why "mysql_upgrade" doesn't work at all... face at mac:~:125 $ mysql_upgrade5 Looking for 'mysql' in: mysql FATAL ERROR: Can't find 'mysql' 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From face at CentosPrime.COM Wed Mar 26 06:43:35 2008 From: face at CentosPrime.COM (Chris Janton) Date: Wed, 26 Mar 2008 06:43:35 -0700 Subject: mysql5admin In-Reply-To: <47EA4ABE.3040305@sounddsl.com> References: <47EA4ABE.3040305@sounddsl.com> Message-ID: On 2008-03-26 , at 06:08 , Thomas Condon wrote: > I'm having a few difficulties with a new installation of Navicat > playing > nicely with my MySQL5 MacPorts installation. One of the recommended > actions from the Navicat site is a command called "mysqladmin", > which I > can't find anywhere (I've also tried "mysql5admin"). Is this an old > instruction that has been deprecated and dropped? Or is this part of > another package I need to install? Or are they just way out in left > field over at the Navicat site? How about /opt/local/bin/mysqladmin5 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From jberry at macports.org Wed Mar 26 06:48:26 2008 From: jberry at macports.org (James Berry) Date: Wed, 26 Mar 2008 06:48:26 -0700 Subject: mysql5 vs. mysql5-devel In-Reply-To: References: <1BDF87D0-5D1C-4B7E-86CB-D8E291E720E7@centosprime.com> Message-ID: On Mar 26, 2008, at 6:38 AM, Chris Janton wrote: > Thank you. That worked nicely. > > Now I have to figure out why "mysql_upgrade" doesn't work at all... > > face at mac:~:125 $ mysql_upgrade5 > Looking for 'mysql' in: mysql > FATAL ERROR: Can't find 'mysql' > > 8) Hi Chris, The layout and naming of the mysql5 on macports is quite wacky, due to a probably misguided effort to allow the mysql 4 and 4 ports in coexist. The msyql_upgrade5 script (and probably others) suffer from this, and fail to work correclty. I think the macports community would be better served by going to a more standard mysql installation layout and naming policy for mysql 5, and abandoning the wacky naming scheme. (I've worked on various pieces of this over the years, and have come to this conclusion after banging my head repeatedly against this wall). James -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2740 bytes Desc: not available Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080326/9c2bf3b4/attachment.bin From jschnide at umn.edu Wed Mar 26 11:46:38 2008 From: jschnide at umn.edu (Joe Schnide) Date: Wed, 26 Mar 2008 13:46:38 -0500 Subject: dbus issue Message-ID: Hello, Recently did the selfupdate and update installed ports. Now when I try to run deluge, X11 starts fine but I get the error: Failed to start message bus: Failed to read directory "/opt/local/etc/dbus-1/session.d": No such file or directory EOF in dbus-launch reading address from bus daemon I look in the directory reffered to and see: -rw-r--r-- 2 root admin 2524 Mar 25 05:56 session.conf -rw-r--r-- 2 root admin 2545 Mar 25 05:56 system.conf drwxr-xr-x 4 root admin 136 Mar 25 05:56 system.d This began only after the most recent updating of ports. I was getting the console messages about org.freedesktop.avahi-daemon Looked at the ticket at http://trac.macosforge.org/projects/macports/ticket/14163 Ran the commands and cleared up the console errors. There are a couple of other users getting this same error when trying to start deluge after doing updates. Please let me know fi I can provide further information. Thanks Joe -- ------- jschnide at umn.edu From birkin.diana at gmail.com Wed Mar 26 13:30:07 2008 From: birkin.diana at gmail.com (Birkin James Diana) Date: Wed, 26 Mar 2008 16:30:07 -0400 Subject: libpcap fetching fails Message-ID: <6A3EA477-A678-48B0-8CFD-ADD9CD2D7D69@gmail.com> MacPorts newbie here. Since the weekend when running 'sudo port install libpcap', fetching is tried from 6 sources, ultimately fails, and displays an error 'Status 1'. Is this common? Or can I reasonably assume some of the sites being tried will be back up within a week or so? --- Birkin James Diana birkin.diana at gmail.com http://bspace.us/ From florian.ebeling at gmail.com Wed Mar 26 14:11:23 2008 From: florian.ebeling at gmail.com (Florian Ebeling) Date: Wed, 26 Mar 2008 22:11:23 +0100 Subject: port uninstall: dep check broken? Message-ID: <5cbbe4ae0803261411j5e5ce0c5x3a47569c9f7a1b73@mail.gmail.com> Does the following make sense in some strange way, or is this simply a bug? $ port installed apr The following ports are currently installed: apr @1.2.12_1+darwin_9 (active) apr @1.2.8_0 $ sudo port uninstall apr @1.2.8_0 ---> Unable to uninstall apr 1.2.8_0, the following ports depend on it: ---> apr-util ---> subversion ---> subversion-perlbindings ---> subversion Error: port uninstall failed: Please uninstall the ports that depend on apr first. Basically, I have 2 installed ports with different variants used. But the dependency check on uninstall does not seem to recognize the one with the variant "darwin_9" and complains, even though it should be happy, since the newer version is there, and dependencies are oblivious of variants (and versions). That looks wrong to me. Florian -- Florian Ebeling florian.ebeling at gmail.com From bretthoerner at gmail.com Wed Mar 26 14:51:06 2008 From: bretthoerner at gmail.com (Brett Hoerner) Date: Wed, 26 Mar 2008 16:51:06 -0500 Subject: Shouldn't Python stdlib C extensions be in lib-dynload rather than site-packages? Message-ID: Is there a reason standard Python C modules such as _hashlib.so are dropped into the site-packages directory when installed? I realize this doesn't matter for most uses, as the module is eventually found on the path regardless, but it can cause bugs on the edge. I just hit a problem when attempting to use virtualenv [1] with the MacPorts Python. It symlinks the basic stdlib modules and directories like lib-dynload, re, csv, etc so you can have a virtual Python working directory and even install other modules (even eggs) there, etc. The problem is, it fails to import hashlib because it should be found in lib-dynload but it rather in site-packages with the other "user-installed" modules. Anyways, it works fine after I symlink the packages into lib-dynload, but this might be something to fix in MacPorts regardless, no? Thanks, Brett [1] http://pypi.python.org/pypi/virtualenv From ryandesign at macports.org Wed Mar 26 22:42:50 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 27 Mar 2008 00:42:50 -0500 Subject: manually downloaded sources In-Reply-To: References: <4B3E42C7-44A8-4A80-9AEB-AD3F5724DE72@macports.org> Message-ID: <61EC2CDD-755C-4F21-9E3B-3A1B64781AB4@macports.org> On Mar 26, 2008, at 13:00, ?????? ??????? wrote: > 2008/3/25, Ryan Schmidt: > >> On Mar 24, 2008, at 07:05, ?????? ??????? wrote: >> >> > How to port manually downloaded source tar-balls? It seems to be >> > very simple but I can't find out any information on this. >> >> You can place downloaded tarballs into ${prefix}/var/macports/ >> distfiles/${name} where ${prefix} is usually /opt/local and ${name} >> is the name of the port you're trying to install. > > Ok, this only works for already existing ports, but if there is not > appropriate port? > Can I create one by creating portfile? And what fields are necessary? You would need to create a portfile. The Guide contains instructions: http://guide.macports.org/ I also find it useful to just look at the source code of some of the existing portfiles. "port cat foo" or "port edit foo" can show you the source of the port foo, and "port file foo" can show you where the portfile is located on your hard disk. From tomc at sounddsl.com Wed Mar 26 23:41:01 2008 From: tomc at sounddsl.com (Thomas Condon) Date: Wed, 26 Mar 2008 23:41:01 -0700 Subject: mysql5admin In-Reply-To: References: <47EA4ABE.3040305@sounddsl.com> Message-ID: <47EB417D.1030907@sounddsl.com> Chris Janton wrote: > On 2008-03-26 , at 06:08 , Thomas Condon wrote: >> I'm having a few difficulties with a new installation of Navicat playing >> nicely with my MySQL5 MacPorts installation. One of the recommended >> actions from the Navicat site is a command called "mysqladmin", which I >> can't find anywhere (I've also tried "mysql5admin"). Is this an old >> instruction that has been deprecated and dropped? Or is this part of >> another package I need to install? Or are they just way out in left >> field over at the Navicat site? > > > How about > > /opt/local/bin/mysqladmin5 Aha! Thanks, Chris. Don't know why the spotlight function couldn't find anything with mysqladmin in it. In A Chord, Tom Condon Bass, Agate Passage Quartet Bass & Proud Member, Kitsap Chordsmen Dir. Music Education, Evergreen District, BHS From lists at simonwheatley.co.uk Thu Mar 27 01:28:03 2008 From: lists at simonwheatley.co.uk (Simon Wheatley) Date: Thu, 27 Mar 2008 08:28:03 +0000 Subject: Cheetah checksum fails Message-ID: <47EB5A93.1080607@simonwheatley.co.uk> Hi, I'm trying to "port install cheetah", but keep getting "Checksum (md5) mismatch for cheetah-1.7.tar.gz". I've tried a selfupdate, and then run "port clean cheetah", but no joy. Is there any way I can fix, or work around this error please? Thanks, Simon From face at CentosPrime.COM Thu Mar 27 07:03:54 2008 From: face at CentosPrime.COM (Chris Janton) Date: Thu, 27 Mar 2008 07:03:54 -0700 Subject: mysql5admin In-Reply-To: <47EB417D.1030907@sounddsl.com> References: <47EA4ABE.3040305@sounddsl.com> <47EB417D.1030907@sounddsl.com> Message-ID: <1F9024CD-F6DC-48B2-96BF-F89EFC499352@CentosPrime.COM> On 2008-03-26 , at 23:41 , Thomas Condon wrote: >> How about >> >> /opt/local/bin/mysqladmin5 > > Aha! Thanks, Chris. Don't know why the spotlight function couldn't > find anything with mysqladmin in it. Spotlight should have found "mysqladmin" (it did on my system). It won't find mysqladmin5 - that's a symbolic link to the actual executable file in /opt/local/lib/mysql5/bin/ Since you may already be at the command line mac 5 # find /opt/local -name '*mysqladmin*' /opt/local/bin/mysqladmin5 /opt/local/lib/mysql5/bin/mysqladmin /opt/local/share/man/man1/mysqladmin.1.gz 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From ryandesign at macports.org Thu Mar 27 09:01:24 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 27 Mar 2008 11:01:24 -0500 Subject: port uninstall: dep check broken? In-Reply-To: <5cbbe4ae0803261411j5e5ce0c5x3a47569c9f7a1b73@mail.gmail.com> References: <5cbbe4ae0803261411j5e5ce0c5x3a47569c9f7a1b73@mail.gmail.com> Message-ID: <9E404E14-A76E-4D1D-85EE-2E0D178E33D2@macports.org> On Mar 26, 2008, at 16:11, Florian Ebeling wrote: > Does the following make sense in some strange way, or is this simply > a bug? > > $ port installed apr > The following ports are currently installed: > apr @1.2.12_1+darwin_9 (active) > apr @1.2.8_0 > $ sudo port uninstall apr @1.2.8_0 > ---> Unable to uninstall apr 1.2.8_0, the following ports depend > on it: > ---> apr-util > ---> subversion > ---> subversion-perlbindings > ---> subversion > Error: port uninstall failed: Please uninstall the ports that depend > on apr first. > > Basically, I have 2 installed ports with different variants used. But > the dependency > check on uninstall does not seem to recognize the one with the variant > "darwin_9" > and complains, even though it should be happy, since the newer version > is there, > and dependencies are oblivious of variants (and versions). That looks > wrong to me. This is simply a deficiency in the way MacPorts currently works. MacPorts only knows that apr-util, subversion et al depend on apr. So when you try to uninstall (any version of) apr, it complains. Since you already have a newer version of apr installed, it's fine to uninstall the older one. You just have to force it to overcome MacPorts' objections. sudo port -f uninstall apr @1.2.8_0 From ryandesign at macports.org Thu Mar 27 09:09:30 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 27 Mar 2008 11:09:30 -0500 Subject: Cheetah checksum fails In-Reply-To: <47EB5A93.1080607@simonwheatley.co.uk> References: <47EB5A93.1080607@simonwheatley.co.uk> Message-ID: On Mar 27, 2008, at 03:28, Simon Wheatley wrote: > I'm trying to "port install cheetah", but keep getting "Checksum (md5) > mismatch for cheetah-1.7.tar.gz". I've tried a selfupdate, and then > run > "port clean cheetah", but no joy. > > Is there any way I can fix, or work around this error please? I filed a ticket for you. In the future please file tickets yourself. http://trac.macosforge.org/projects/macports/ticket/14821 From lists at simonwheatley.co.uk Thu Mar 27 09:16:56 2008 From: lists at simonwheatley.co.uk (Simon Wheatley) Date: Thu, 27 Mar 2008 16:16:56 +0000 Subject: Cheetah checksum fails In-Reply-To: References: <47EB5A93.1080607@simonwheatley.co.uk> Message-ID: <47EBC878.7080907@simonwheatley.co.uk> Ryan Schmidt wrote: > In the future please file tickets yourself. A while ago I wandered fruitlessly around that bug tracker for about 30 minutes, and couldn't get registered, or couldn't get registered properly, or something, so I gave up. Maybe I'm an idiot (entirely possible), or maybe someone should look to make it easier to submit tickets? S From ryandesign at macports.org Thu Mar 27 09:19:54 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 27 Mar 2008 11:19:54 -0500 Subject: libpcap fetching fails In-Reply-To: <6A3EA477-A678-48B0-8CFD-ADD9CD2D7D69@gmail.com> References: <6A3EA477-A678-48B0-8CFD-ADD9CD2D7D69@gmail.com> Message-ID: <1D6E68D3-3BC8-4C75-895D-4E9991848E1C@macports.org> On Mar 26, 2008, at 15:30, Birkin James Diana wrote: > MacPorts newbie here. Since the weekend when running 'sudo port > install libpcap', fetching is tried from 6 sources, ultimately fails, > and displays an error 'Status 1'. Is this common? Or can I reasonably > assume some of the sites being tried will be back up within a week or > so? libpcap's web site, tcpdump.org, appears to be down. We have no control over it. I have sent an email to the technical domain contact. The last time this happened, someone uploaded the 0.9.5 source into the MacPorts repository as a backup. But the port is now at version 0.9.8. I have now put the 0.9.8 source into the repository so fetching should work again. From ryandesign at macports.org Thu Mar 27 09:21:00 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 27 Mar 2008 11:21:00 -0500 Subject: Cheetah checksum fails In-Reply-To: <47EBC878.7080907@simonwheatley.co.uk> References: <47EB5A93.1080607@simonwheatley.co.uk> <47EBC878.7080907@simonwheatley.co.uk> Message-ID: <45986066-5FCC-4012-8890-AA02C7D7495E@macports.org> On Mar 27, 2008, at 11:16, Simon Wheatley wrote: > Ryan Schmidt wrote: > >> In the future please file tickets yourself. > > A while ago I wandered fruitlessly around that bug tracker for > about 30 > minutes, and couldn't get registered, or couldn't get registered > properly, or something, so I gave up. Maybe I'm an idiot (entirely > possible), or maybe someone should look to make it easier to submit > tickets? Sorry to hear you had difficulty registering in the issue tracker. If you describe your difficulty in more detail maybe we can help solve it. From lists at simonwheatley.co.uk Thu Mar 27 09:33:28 2008 From: lists at simonwheatley.co.uk (Simon Wheatley) Date: Thu, 27 Mar 2008 16:33:28 +0000 Subject: Cheetah checksum fails In-Reply-To: <45986066-5FCC-4012-8890-AA02C7D7495E@macports.org> References: <47EB5A93.1080607@simonwheatley.co.uk> <47EBC878.7080907@simonwheatley.co.uk> <45986066-5FCC-4012-8890-AA02C7D7495E@macports.org> Message-ID: <47EBCC58.8030007@simonwheatley.co.uk> Ryan Schmidt wrote: > On Mar 27, 2008, at 11:16, Simon Wheatley wrote: >> A while ago I wandered fruitlessly around that bug tracker for about 30 >> minutes, and couldn't get registered, or couldn't get registered >> properly, or something, so I gave up. Maybe I'm an idiot (entirely >> possible), or maybe someone should look to make it easier to submit >> tickets? > > Sorry to hear you had difficulty registering in the issue tracker. If > you describe your difficulty in more detail maybe we can help solve it. Sure... I clicked on the register link top right, and got to a screen titled "Wordpress > Registration Form" with the subheading "Register for this blog", which seemed a little odd as I was registering for a bug tracker not a blog (although there was a MacOSForge logo, which was slightly reassuring). I entered my email address and chose a nickname. An email arrived bearing my password. I revisited the bug tracker and attempted to log in to the provided HTTP Basic Authentication dialog with my nickname, simonwheatley, and the password provided. It didn't work. I gave up. I've just replicated this by registering with the nickname simonw. Hope this helps. S From clamey at localmatters.com Thu Mar 27 09:42:56 2008 From: clamey at localmatters.com (Christopher Lamey) Date: Thu, 27 Mar 2008 10:42:56 -0600 Subject: Cheetah checksum fails In-Reply-To: <47EBCC58.8030007@simonwheatley.co.uk> Message-ID: On 3/27/08 10:33 AM, "Simon Wheatley" wrote: > I clicked on the register link top right, and got to a screen titled > "Wordpress > Registration Form" with the subheading "Register for this > blog", which seemed a little odd as I was registering for a bug tracker > not a blog (although there was a MacOSForge logo, which was slightly > reassuring). I entered my email address and chose a nickname. An email > arrived bearing my password. I revisited the bug tracker and attempted > to log in to the provided HTTP Basic Authentication dialog with my > nickname, simonwheatley, and the password provided. It didn't work. I > gave up. I've just replicated this by registering with the nickname simonw. Hmm...did perform either of the confirmation steps as specified in the 'password' emails you received from mac ports? Cheers, Chris From raimue at macports.org Thu Mar 27 09:49:46 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Thu, 27 Mar 2008 17:49:46 +0100 Subject: Cheetah checksum fails In-Reply-To: <47EBCC58.8030007@simonwheatley.co.uk> References: <47EB5A93.1080607@simonwheatley.co.uk> <47EBC878.7080907@simonwheatley.co.uk> <45986066-5FCC-4012-8890-AA02C7D7495E@macports.org> <47EBCC58.8030007@simonwheatley.co.uk> Message-ID: <47EBD02A.5030203@macports.org> Simon Wheatley wrote: > I clicked on the register link top right, and got to a screen titled > "Wordpress > Registration Form" with the subheading "Register for this > blog", which seemed a little odd as I was registering for a bug tracker > not a blog (although there was a MacOSForge logo, which was slightly > reassuring). I entered my email address and chose a nickname. An email > arrived bearing my password. I revisited the bug tracker and attempted > to log in to the provided HTTP Basic Authentication dialog with my > nickname, simonwheatley, and the password provided. It didn't work. I > gave up. I've just replicated this by registering with the nickname simonw. As far as I know, you are supposed to login in with your email address. Rainer From lists at simonwheatley.co.uk Thu Mar 27 09:56:45 2008 From: lists at simonwheatley.co.uk (Simon Wheatley) Date: Thu, 27 Mar 2008 16:56:45 +0000 Subject: Cheetah checksum fails In-Reply-To: References: Message-ID: <47EBD1CD.5060202@simonwheatley.co.uk> Christopher Lamey wrote: > Hmm...did perform either of the confirmation steps as specified in the > 'password' emails you received from mac ports? > The 'password' email I received from mac ports contained the following text (no confirmation step that I could see). S > New user registration on MacOSForge::Mac OS Forge: > > Username: simon at simonwheatley.co.uk > > Password: [some password] > http://www.macosforge.org/wp-login.php > From clamey at localmatters.com Thu Mar 27 09:59:09 2008 From: clamey at localmatters.com (Christopher Lamey) Date: Thu, 27 Mar 2008 10:59:09 -0600 Subject: Cheetah checksum fails In-Reply-To: <47EBD1CD.5060202@simonwheatley.co.uk> Message-ID: Whups - it was the confirm email for this list at which I was looking. Sorry about the confusion. On 3/27/08 10:56 AM, "Simon Wheatley" wrote: > Christopher Lamey wrote: >> Hmm...did perform either of the confirmation steps as specified in the >> 'password' emails you received from mac ports? >> > > The 'password' email I received from mac ports contained the following > text (no confirmation step that I could see). > > S > >> New user registration on MacOSForge::Mac OS Forge: >> >> Username: simon at simonwheatley.co.uk >> >> Password: [some password] >> http://www.macosforge.org/wp-login.php >> > > From lists at simonwheatley.co.uk Thu Mar 27 10:11:56 2008 From: lists at simonwheatley.co.uk (Simon Wheatley) Date: Thu, 27 Mar 2008 17:11:56 +0000 Subject: Cheetah checksum fails In-Reply-To: <47EBD02A.5030203@macports.org> References: <47EB5A93.1080607@simonwheatley.co.uk> <47EBC878.7080907@simonwheatley.co.uk> <45986066-5FCC-4012-8890-AA02C7D7495E@macports.org> <47EBCC58.8030007@simonwheatley.co.uk> <47EBD02A.5030203@macports.org> Message-ID: <47EBD55C.6060404@simonwheatley.co.uk> Rainer M?ller wrote: > Simon Wheatley wrote: >> I clicked on the register link top right, and got to a screen titled >> "Wordpress > Registration Form" with the subheading "Register for >> this blog", which seemed a little odd as I was registering for a bug >> tracker not a blog (although there was a MacOSForge logo, which was >> slightly reassuring). I entered my email address and chose a >> nickname. An email arrived bearing my password. I revisited the bug >> tracker and attempted to log in to the provided HTTP Basic >> Authentication dialog with my nickname, simonwheatley, and the >> password provided. It didn't work. I gave up. I've just replicated >> this by registering with the nickname simonw. > > As far as I know, you are supposed to login in with your email address. Thanks Rainer, this got me one step further in. "Register" (top right) has now become "My Account", "Login" has become "Logout". I clicked on My Account, and Firefox v2.0.0.13 alerted me to an unverified certificate [1] which I accepted temporarily for the session. This took me into a Wordpress user profile editing screen, so I changed my password to something more convenient. Logging in and out still worked with the changed password. However I can't create a new ticket (I'm clicking on the ladybird/bug)... Apparently: > You need to be logged in to do that. If you are already logged in, > then you dont have permission. Sorry. I appear to be logged in, but not to have permissions to create a new ticket. Hope this helps. S [1] http://www.simonwheatley.co.uk/wp-content/uploads/2008/03/macosforge-certificate-problem.gif From raimue at macports.org Thu Mar 27 10:17:12 2008 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Thu, 27 Mar 2008 18:17:12 +0100 Subject: Cheetah checksum fails In-Reply-To: <47EBD55C.6060404@simonwheatley.co.uk> References: <47EB5A93.1080607@simonwheatley.co.uk> <47EBC878.7080907@simonwheatley.co.uk> <45986066-5FCC-4012-8890-AA02C7D7495E@macports.org> <47EBCC58.8030007@simonwheatley.co.uk> <47EBD02A.5030203@macports.org> <47EBD55C.6060404@simonwheatley.co.uk> Message-ID: <47EBD698.4070300@macports.org> Simon Wheatley wrote: > However I can't create a new ticket (I'm clicking on the > ladybird/bug)... Apparently: >> You need to be logged in to do that. If you are already logged in, >> then you dont have permission. Sorry. > I appear to be logged in, but not to have permissions to create a new > ticket. Hope this helps. Watch the URL. I ran into this multiple times, too. Some sites redirect you to 'trac.macosforge.org', even if you logged in at 'trac.macports.org'. You might not be logged in at the other domain? Bill (our server admin) already said earlier this will change. Rainer From lists at simonwheatley.co.uk Thu Mar 27 10:17:31 2008 From: lists at simonwheatley.co.uk (Simon Wheatley) Date: Thu, 27 Mar 2008 17:17:31 +0000 Subject: Cheetah checksum fails In-Reply-To: References: <47EB5A93.1080607@simonwheatley.co.uk> Message-ID: <47EBD6AB.3050905@simonwheatley.co.uk> Ryan Schmidt wrote: > http://trac.macosforge.org/projects/macports/ticket/14821 Thanks for the quick fix Ryan. S From martin at siarp.de Thu Mar 27 11:05:06 2008 From: martin at siarp.de (Martin Stadler) Date: Thu, 27 Mar 2008 19:05:06 +0100 Subject: memcached 1.2.5 and libevent Message-ID: <3CD0E943-EE97-4EC3-8F4C-5D4F20E7D7F1@siarp.de> On installing or upgrading to memcached 1.2.5 I'm getting the following error: checking for libevent directory... configure: error: libevent is required. You can get it from http://www.monkey.org/~provos/libevent/ If it's already installed, specify its path using --with- libevent=/dir/ LibEvent is installed: libevent @1.3e_0 (active) MacPorts 1.6 Mac OS 10.5.2 (Intel, MacBook Pro Core Duo) Martin From jkeen at verizon.net Thu Mar 27 12:14:37 2008 From: jkeen at verizon.net (James E Keenan) Date: Thu, 27 Mar 2008 15:14:37 -0400 Subject: .profile not installed; 'ports' command not found Message-ID: <87331D24-7248-4321-BB7D-621948533795@verizon.net> Today I attempted to install Macports on an iBook G4 running MAC OS X 10.4 (Tiger). I followed the instructions at http:// guide.macports.org/#installing. I met the prerequisites: X11, Xcode Tools. I downloaded the installer for MacPorts-1.6.0-10.4- Tiger.dmg and double-clicked for a default installation. The installer proceeded normally, including running the installation script, and concluded by stating that the software had been installed. I then went to the section in the docs concerning MacPorts and the shell (http://guide.macports.org/#installing.shell). Checking my home directory, I noted that no .profile file had been created there. Furthermore, when, following the guide, I called 'sudo port selfupdate', I was told, "sudo: port: command not found". I repeated all of the above, with no better results. Can anyone diagnose? Thanks in advance.Jim Keenan From ryandesign at macports.org Thu Mar 27 12:30:18 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 27 Mar 2008 14:30:18 -0500 Subject: memcached 1.2.5 and libevent In-Reply-To: <3CD0E943-EE97-4EC3-8F4C-5D4F20E7D7F1@siarp.de> References: <3CD0E943-EE97-4EC3-8F4C-5D4F20E7D7F1@siarp.de> Message-ID: On Mar 27, 2008, at 13:05, Martin Stadler wrote: > On installing or upgrading to memcached 1.2.5 I'm getting the > following error: > > > checking for libevent directory... configure: error: libevent is > required. You can get it from http://www.monkey.org/~provos/libevent/ > > If it's already installed, specify its path using --with- > libevent=/dir/ > > > LibEvent is installed: > libevent @1.3e_0 (active) > > MacPorts 1.6 > Mac OS 10.5.2 (Intel, MacBook Pro Core Duo) It installs fine for me on Mac OS X 10.4.11. Maybe Leopard is strange yet again. Any other Leopard users want to report? From ryandesign at macports.org Thu Mar 27 12:31:14 2008 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 27 Mar 2008 14:31:14 -0500 Subject: .profile not installed; 'ports' command not found In-Reply-To: <87331D24-7248-4321-BB7D-621948533795@verizon.net> References: <87331D24-7248-4321-BB7D-621948533795@verizon.net> Message-ID: <78259ABA-A7CE-490E-BB21-9DB0298A6C50@macports.org> On Mar 27, 2008, at 14:14, James E Keenan wrote: > Today I attempted to install Macports on an iBook G4 running MAC OS X > 10.4 (Tiger). I followed the instructions at http:// > guide.macports.org/#installing. I met the prerequisites: X11, > Xcode Tools. I downloaded the installer for MacPorts-1.6.0-10.4- > Tiger.dmg and double-clicked for a default installation. > > The installer proceeded normally, including running the installation > script, and concluded by stating that the software had been installed. > > I then went to the section in the docs concerning MacPorts and the > shell (http://guide.macports.org/#installing.shell). Checking my > home directory, I noted that no .profile file had been created > there. Furthermore, when, following the guide, I called 'sudo port > selfupdate', I was told, "sudo: port: command not found". > > I repeated all of the above, with no better results. Can anyone > diagnose? There is a bug in MacPorts 1.6.0 which prevents the .profile from being created. You'll have to create it yourself. The bug has been fixed in trunk but we haven't released a new version of MacPorts since then. From garylaw at garylaw.net Thu Mar 27 14:29:55 2008 From: garylaw at garylaw.net (Gary Law) Date: Thu, 27 Mar 2008 21:29:55 +0000 Subject: openjade issues Message-ID: Hi I've run into this bug: http://trac.macports.org/projects/macports/ticket/14075 There is a suggested fix of manually setting the CXX value in the build directory. Which I've done, only to hit another issue: root at MacBook:~ # port install openjade ---> Building openjade with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_openjade/work/openjade-1.3.2" && make all " returned error 2 Command output: from Expression.cxx:4: /opt/local/include/OpenSP/config.h:357:1: warning: this is the location of the previous definition mv -f Expression.o .libs/Expression.lo /usr/bin/g++-4.0 -O2 -I/opt/local/include -fno-rtti -I. -I./../include -I/opt/local/include/OpenSP -I/opt/local/include/OpenSP/.. -I./../grove -I./../spgrove "-DPACKAGE_NAME=\"\"" "-DPACKAGE_TARNAME=\"\"" "-DPACKAGE_VERSION=\"\"" "-DPACKAGE_STRING=\"\"" "-DPACKAGE_BUGREPORT=\"\"" "-DPACKAGE=\"openjade\"" "-DVERSION=\"1.3.2\"" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 "-DSGML_CATALOG_FILES_DEFAULT=\"/opt/local/share/sgml/catalog\"" -DHAVE_DLFCN_H=1 "-DDEFAULT_SCHEME_BUILTINS=\"/opt/local/share/sgml/openjade/builtins.dsl\"" -c Expression.cxx >/dev/null 2>&1 mv -f .libs/Expression.lo Expression.lo rm -f .libs/FOTBuilder.lo /usr/bin/g++-4.0 -O2 -I/opt/local/include -fno-rtti -I. -I./../include -I/opt/local/include/OpenSP -I/opt/local/include/OpenSP/.. -I./../grove -I./../spgrove "-DPACKAGE_NAME=\"\"" "-DPACKAGE_TARNAME=\"\"" "-DPACKAGE_VERSION=\"\"" "-DPACKAGE_STRING=\"\"" "-DPACKAGE_BUGREPORT=\"\"" "-DPACKAGE=\"openjade\"" "-DVERSION=\"1.3.2\"" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=4 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 "-DSGML_CATALOG_FILES_DEFAULT=\"/opt/local/share/sgml/catalog\"" -DHAVE_DLFCN_H=1 "-DDEFAULT_SCHEME_BUILTINS=\"/opt/local/share/sgml/openjade/builtins.dsl\"" -c FOTBuilder.cxx -fno-common -DPIC In file included from stylelib.h:6, from FOTBuilder.cxx:4: ./../include/config.h:39:1: warning: "SP_DEFINE_TEMPLATES" redefined In file included from ./../include/config.h:10, from stylelib.h:6, from FOTBuilder.cxx:4: /opt/local/include/OpenSP/config.h:357:1: warning: this is the location of the previous definition FOTBuilder.h:167: error: expected class-name before '{' token /opt/local/include/OpenSP/Ptr.cxx: In destructor 'OpenSP::Ptr::~Ptr() [with T = OpenJade_DSSSL::FOTBuilder::GlyphSubstTable]': /opt/local/include/OpenSP/Ptr.h:53: instantiated from 'T* OpenSP::Vector::erase(const T*, const T*) [with T = OpenSP::ConstPtr]' /opt/local/include/OpenSP/Vector.cxx:18: instantiated from 'OpenSP::Vector::~Vector() [with T = OpenSP::ConstPtr]' FOTBuilder.h:1154: instantiated from here /opt/local/include/OpenSP/Ptr.cxx:22: error: 'struct OpenJade_DSSSL::FOTBuilder::GlyphSubstTable' has no member named 'unref' /opt/local/include/OpenSP/Ptr.cxx: In copy constructor 'OpenSP::Ptr::Ptr(const OpenSP::Ptr&) [with T = OpenJade_DSSSL::FOTBuilder::GlyphSubstTable]': /opt/local/include/OpenSP/Ptr.h:58: instantiated from 'OpenSP::ConstPtr::ConstPtr(const OpenSP::ConstPtr&) [with T = OpenJade_DSSSL::FOTBuilder::GlyphSubstTable]' /opt/local/include/OpenSP/Vector.cxx:92: instantiated from 'void OpenSP::Vector::insert(const T*, const T*, const T*) [with T = OpenSP::ConstPtr]' /opt/local/include/OpenSP/Vector.cxx:29: instantiated from 'OpenSP::Vector::Vector(const OpenSP::Vector&) [with T = OpenSP::ConstPtr]' FOTBuilder.h:1154: instantiated from here /opt/local/include/OpenSP/Ptr.cxx:33: error: 'struct OpenJade_DSSSL::FOTBuilder::GlyphSubstTable' has no member named 'ref' make[2]: *** [FOTBuilder.lo] Error 1 rm InterpreterMessages.cxx make[1]: *** [style] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing. ... can anyone shed any light on the above error? Cheers Gary -- Gary Law Email: garylaw at garylaw.net Chat googletalk/messenger: gary.law at gmail.com iChat/jabber/AIM: gary.law at mac.com From florian.ebeling at gmail.com Thu Mar 27 15:10:20 2008 From: florian.ebeling at gmail.com (Florian Ebeling) Date: Thu, 27 Mar 2008 23:10:20 +0100 Subject: doxygen fails to build Message-ID: <5cbbe4ae0803271510n6e14a174oc1bcac9c371514cb@mail.gmail.com> This is the tail of the output from `sudo port -dv install doxygen', which includes the errors: ... Generating page index... Generating bitmaps for formulas in HTML... Generating image form_0.png for formula gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.4/doc' cd latex ; /opt/local/bin/gmake gmake[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.4/latex' echo "Running latex..." Running latex... pdflatex doxygen_manual.tex This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) kpathsea: Running mktexfmt pdflatex.fmt I can't find the format file `pdflatex.fmt'! gmake[1]: *** [doxygen_manual.pdf] Error 1 gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.4/latex' make: *** [pdf] 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_textproc_doxygen/work/doxygen-1.5.4" && make all pdf " returned error 2 Command output: Generating docs for page perlmod... Generating docs for page perlmod_tree... Generating docs for page arch... Generating group documentation... Generating group index... Generating class documentation... Generating annotated compound index... Generating hierarchical class index... Generating member index... Generating namespace index... Generating namespace member index... Generating graph info page... Generating file index... Generating example index... Generating file member index... Generating page index... Generating bitmaps for formulas in HTML... Generating image form_0.png for formula gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.4/doc' cd latex ; /opt/local/bin/gmake gmake[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.4/latex' echo "Running latex..." Running latex... pdflatex doxygen_manual.tex This is pdfTeX, Version 3.141592-1.40.3 (Web2C 7.5.6) kpathsea: Running mktexfmt pdflatex.fmt I can't find the format file `pdflatex.fmt'! gmake[1]: *** [doxygen_manual.pdf] Error 1 gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.4/latex' make: *** [pdf] Error 2 Warning: the following items did not execute (for doxygen): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. Any ideas? Florian From florian.ebeling at gmail.com Thu Mar 27 15:21:49 2008 From: florian.ebeling at gmail.com (Florian Ebeling) Date: Thu, 27 Mar 2008 23:21:49 +0100 Subject: doxygen fails to build In-Reply-To: <5cbbe4ae0803271510n6e14a174oc1bcac9c371514cb@mail.gmail.com> References: <5cbbe4ae0803271510n6e14a174oc1bcac9c371514cb@mail.gmail.com> Message-ID: <5cbbe4ae0803271521j6dcec7b7yf73a74eed9292dac@mail.gmail.com> > This is the tail of the output from `sudo port -dv install doxygen', > which includes the errors: (macports 1.6, mac osx 10.5.2, macbook duo core, intel) -- Florian Ebeling florian.ebeling at gmail.com From florian.ebeling at gmail.com Thu Mar 27 15:33:12 2008 From: florian.ebeling at gmail.com (Florian Ebeling) Date: Thu, 27 Mar 2008 23:33:12 +0100 Subject: RubyCocoa aka. rb-cocoa fails to build Message-ID: <5cbbe4ae0803271533v6fd078faxbeb2e390fdcefb76@mail.gmail.com> sudo port -dv install rb-cocoa here is the output: ---> Configuring rb-cocoa DEBUG: Executing org.macports.configure (rb-cocoa) DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0" && /opt/local/bin/ruby -rvendor-specific install.rb config --install-prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/destroot/opt/local --install-root=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/destroot' install.rb: entering config phase... create ext/rubycocoa/extconf.rb create framework/GeneratedConfig.xcconfig create framework/src/objc/Version.h create tests/Makefile ---> framework create /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/src/objc/osx_ruby.h ... create /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/src/objc/osx_intern.h ... BSROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/bridge-support" CFLAGS="" /opt/local/bin/ruby build.rb Generating BridgeSupport metadata for: CoreFoundation ... Collect metadata (37.755779 seconds) /opt/local/lib/ruby/1.8/rexml/text.rb:292:in `normalize': private method `gsub' called for true:TrueClass (NoMethodError) from /opt/local/lib/ruby/1.8/rexml/element.rb:1082:in `[]=' from /opt/local/lib/ruby/1.8/rexml/element.rb:586:in `add_attribute' from ./gen_bridge_metadata.rb:1435:in `generate_xml_document' from ./gen_bridge_metadata.rb:1419:in `each' from ./gen_bridge_metadata.rb:1419:in `generate_xml_document' from ./gen_bridge_metadata.rb:551:in `xml_document' from ./gen_bridge_metadata.rb:1511:in `generate_xml' from ./gen_bridge_metadata.rb:1511:in `open' from ./gen_bridge_metadata.rb:1511:in `generate_xml' from ./gen_bridge_metadata.rb:542:in `write' from build.rb:106 from build.rb:50:in `measure' from build.rb:104 from build.rb:62:in `each' from build.rb:62 config failed hook /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/post-config.rb failed: 'system BSROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/bridge-support" CFLAGS="" /opt/local/bin/ruby build.rb' failed try 'ruby install.rb --help' for usage 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-cocoa/work/RubyCocoa-0.12.0" && /opt/local/bin/ruby -rvendor-specific install.rb config --install-prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/destroot/opt/local --install-root=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/destroot " returned error 1 Command output: create ext/rubycocoa/extconf.rb create framework/GeneratedConfig.xcconfig create framework/src/objc/Version.h create tests/Makefile ---> framework create /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/src/objc/osx_ruby.h ... create /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/src/objc/osx_intern.h ... BSROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/bridge-support" CFLAGS="" /opt/local/bin/ruby build.rb Generating BridgeSupport metadata for: CoreFoundation ... Collect metadata (37.755779 seconds) /opt/local/lib/ruby/1.8/rexml/text.rb:292:in `normalize': private method `gsub' called for true:TrueClass (NoMethodError) from /opt/local/lib/ruby/1.8/rexml/element.rb:1082:in `[]=' from /opt/local/lib/ruby/1.8/rexml/element.rb:586:in `add_attribute' from ./gen_bridge_metadata.rb:1435:in `generate_xml_document' from ./gen_bridge_metadata.rb:1419:in `each' from ./gen_bridge_metadata.rb:1419:in `generate_xml_document' from ./gen_bridge_metadata.rb:551:in `xml_document' from ./gen_bridge_metadata.rb:1511:in `generate_xml' from ./gen_bridge_metadata.rb:1511:in `open' from ./gen_bridge_metadata.rb:1511:in `generate_xml' from ./gen_bridge_metadata.rb:542:in `write' from build.rb:106 from build.rb:50:in `measure' from build.rb:104 from build.rb:62:in `each' from build.rb:62 config failed hook /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/post-config.rb failed: 'system BSROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-cocoa/work/RubyCocoa-0.12.0/framework/bridge-support" CFLAGS="" /opt/local/bin/ruby build.rb' failed try 'ruby install.rb --help' for usage Warning: the following items did not execute (for rb-cocoa): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. Does this work for others currently? (This is from OS X 10.5.2, Intel Macbook duo core) Florian -- Florian Ebeling florian.ebeling at gmail.com From florian.ebeling at gmail.com Thu Mar 27 15:38:01 2008 From: florian.ebeling at gmail.com (Florian Ebeling) Date: Thu, 27 Mar 2008 23:38:01 +0100 Subject: memcached 1.2.5 and libevent In-Reply-To: References: <3CD0E943-EE97-4EC3-8F4C-5D4F20E7D7F1@siarp.de> Message-ID: <5cbbe4ae0803271538m65959320j96a87c92bc4c4846@mail.gmail.com> > > On installing or upgrading to memcached 1.2.5 I'm getting the > > following error: > > > > checking for libevent directory... configure: error: libevent is > > required. You can get it from http://www.monkey.org/~provos/libevent/ > It installs fine for me on Mac OS X 10.4.11. Maybe Leopard is strange > yet again. Any other Leopard users want to report? No problems on 10.5.2 intel macbook, I just tried it. Florian -- Florian Ebeling florian.ebeling at gmail.com From paulbeard at gmail.com Thu Mar 27 17:47:02 2008 From: paulbeard at gmail.com (paul beard) Date: Thu, 27 Mar 2008 17:47:02 -0700 Subject: .profile not installed; 'ports' command not found In-Reply-To: <78259ABA-A7CE-490E-BB21-9DB0298A6C50@macports.org> References: <87331D24-7248-4321-BB7D-621948533795@verizon.net> <78259ABA-A7CE-490E-BB21-9DB0298A6C50@macports.org> Message-ID: On Thu, Mar 27, 2008 at 12:31 PM, Ryan Schmidt wrote: > > There is a bug in MacPorts 1.6.0 which prevents the .profile from > being created. You'll have to create it yourself. The bug has been > fixed in trunk but we haven't released a new version of MacPorts > since then. > > Is there a reason why a new release hasn't been cut, considering how many new users are getting bitten by this bug? -- Paul Beard / www.paulbeard.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080327/1a9820b6/attachment.html From mvfranz at gmail.com Thu Mar 27 18:42:06 2008 From: mvfranz at gmail.com (Michael Franz) Date: Thu, 27 Mar 2008 21:42:06 -0400 Subject: Ports requiring X11 on Leopard Message-ID: Hi, I have recently started using Leopard and have found that ports that require X11 cannot find the necessary libraries. This is frustrating as they worked fine on Tiger. I was able to solve my problems by adding configure.pkg_config_path ${prefix}/lib/pkgconfig:${x11prefix}/lib/pkgconfig the Portfile . Why is this not necessary on Tiger? I don't remember configuring anything special when I set up Tiger. Also, which is better to use: lib:libX11:XFree86 or port:xorg-libX11 ? Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080327/ffe4013c/attachment.html From hypocrite at lawyer.com Thu Mar 27 21:45:11 2008 From: hypocrite at lawyer.com (Pete Crite) Date: Thu Mar 27 21:44:34 2008 Subject: Difficulties installing Gnumeric In-Reply-To: <0A3422A1-083F-4A7F-A7D2-9CC1D6D531A7@lawyer.com> References: <8EAB1137-1057-4429-B3B5-4DB7F262B57D@lawyer.com> <7434733A-9A56-4994-B367-343864C086D8@lawyer.com> <3A4C8AD1-F99E-46CF-BFE7-A44842C4BDE6@macports.org> <099ABF27-AB1B-4ACD-A85E-2BCC176724B5@lawyer.com> <1B40C081-D5EA-4679-9CBA-B020E75F0644@macports.org> <0A3422A1-083F-4A7F-A7D2-9CC1D6D531A7@lawyer.com> Message-ID: Hi, I've now got Xcode 2.5 running on my computer. I uninstalled xcode 2.0, and installed 2.5. The customizable options were a fair bit different to the 2.0 installer (e.g. no options for individual SDKs etc.). I only installed "Xcode IDE and Tools." I had a look at the information for the other options, but none of them appeared relevant. I didn't bother reinstalling Macports, as the folders and files appeared intact. I then attempted to continue Gnumeric installation (sudo port install gnumeric), but now have a new (unique) error message for python, which I have reproduced below. Cheers, Pete. <<<<< Error message >>>>> ---> Building python25 with target all Error: Target org.macports.build returned: shell command " cd "/opt/ local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_py thon25/work/Python-2.5.2" && make all " returned error 127Command output: sh: line 1: make: command not found Error: The following dependencies failed to build: gnome-doc-utils iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui gnome- icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo fontconfig freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto xorg-util-macros shared-mime-info tiff libgnomecanvas gail intltool gnome-common libart_lgpl libglade2 libgnomeprint bison m4 libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25-numpy fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk gmake readline neon Error: Status 1 encountered during processing. On 21/03/2008, at 11:43 PM, Pete Crite wrote: > > Ah... well. I decided to install all of the SDKs, seeing as they > didn't really take up that much space at all. I attempted to "sudo > port install gnumeric" again. I didn't get the same error, but > something different now. I assume this probably has something to do > with using XCode 2.0...? I guess I'll just have to try again later > with the newer XCode, unless you can see something that is obviously > wrong here? > > Thanks again, > Pete. > > <<<< Error message >>>> > > ---> Building python25 with target all > Error: Target org.macports.build returned: shell command " cd "/opt/ > local/var/macports/build/ > _opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ > py > thon25/work/Python-2.5.2" && make all " returned error 2 > Command output: /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long- > double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall - > Wstrict-prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -o Modules/main.o Modules/main.c > /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c > /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -c ./Modules/threadmodule.c -o Modules/threadmodule.o > /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -c ./Modules/signalmodule.c -o Modules/signalmodule.o > /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -c ./Modules/posixmodule.c -o Modules/posixmodule.o > /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -c ./Modules/errnomodule.c -o Modules/errnomodule.o > /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o > /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -c ./Modules/_sre.c -o Modules/_sre.o > /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -c ./Modules/_codecsmodule.c -o Modules/ > _codecsmodule.o > /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -c ./Modules/zipimport.c -o Modules/zipimport.o > /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -c ./Modules/symtablemodule.c -o Modules/ > symtablemodule.o > /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -c ./Modules/xxsubtype.c -o Modules/xxsubtype.o > /usr/bin/gcc-4.0 -c -fno-strict-aliasing -Wno-long-double -no-cpp- > precomp -mno-fused-madd -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- > prototypes -I. -IInclude -I./Include -I/opt/local/include - > DPy_BUILD_CORE -DSVNVERSION=\"`LC_ALL=C echo exported`\" -o Modules/ > getbuildinfo.o ./Modules/getbuildinfo.c > rm -f libpython2.5.a > ar cr libpython2.5.a Modules/getbuildinfo.o > ar cr libpython2.5.a Modules/_typesmodule.o > ar cr libpython2.5.a Parser/acceler.o Parser/grammar1.o Parser/ > listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/ > bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o > Parser/pgen.o Parser/myreadline.o Parser/tokenizer.o > ar cr libpython2.5.a Objects/abstract.o Objects/boolobject.o Objects/ > bufferobject.o Objects/cellobject.o Objects/classobject.o Objects/ > cobject.o Objects/codeobject.o Objects/complexobject.o Objects/ > descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/ > genobject.o Objects/fileobject.o Objects/floatobject.o Objects/ > frameobject.o Objects/funcobject.o Objects/intobject.o Objects/ > iterobject.o Objects/listobject.o Objects/longobject.o Objects/ > dictobject.o Objects/methodobject.o Objects/moduleobject.o Objects/ > object.o Objects/obmalloc.o Objects/rangeobject.o Objects/setobject.o > Objects/sliceobject.o Objects/stringobject.o Objects/structseq.o > Objects/tupleobject.o Objects/typeobject.o Objects/weakrefobject.o > Objects/unicodeobject.o Objects/unicodectype.o > ar cr libpython2.5.a Python/Python-ast.o Python/asdl.o Python/ast.o > Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o > Python/errors.o Python/frozen.o Python/frozenmain.o Python/future.o > Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/ > getmtime.o Python/getplatform.o Python/getversion.o Python/graminit.o > Python/import.o Python/importdl.o Python/marshal.o Python/ > modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/pyarena.o > Python/pyfpe.o Python/pystate.o Python/pythonrun.o Python/ > structmember.o Python/symtable.o Python/sysmodule.o Python/ > traceback.o Python/getopt.o Python/pystrtod.o Python/dynload_shlib.o > Python/mactoolboxglue.o Python/thread.o > ar cr libpython2.5.a Modules/config.o Modules/getpath.o Modules/ > main.o Modules/gcmodule.o > ar cr libpython2.5.a Modules/threadmodule.o Modules/signalmodule.o > Modules/posixmodule.o Modules/errnomodule.o Modules/pwdmodule.o > Modules/_sre.o Modules/_codecsmodule.o Modules/zipimport.o Modules/ > symtablemodule.o Modules/xxsubtype.o > ranlib libpython2.5.a > /usr/bin/libtool -o libpython2.5.dylib -dynamic \ > -all_load libpython2.5.a -single_module \ > -install_name /opt/local/lib/libpython2.5.dylib \ > -compatibility_version 2.5 \ > -current_version 2.5 -lSystem -lSystemStubs -L/opt/local/lib > ld64 failed: in libpython2.5.a(getbuildinfo.o), not a valid ppc64 > mach-o file > /usr/bin/libtool: internal link edit command failed > make: *** [libpython2.5.dylib] Error 1 > > > Error: The following dependencies failed to build: gnome-doc-utils > iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25-gobject > py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui gnome- > icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- > simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo fontconfig > freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg-xproto > xorg-util-macros shared-mime-info tiff libgnomecanvas gail intltool > gnome-common libart_lgpl libglade2 libgnomeprint bison m4 > libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 > libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25-numpy > fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk gmake > readline neon > Error: Status 1 encountered during processing. > > > > On 21/03/2008, at 10:27 PM, Ryan Schmidt wrote: >> >> In fact, the missing QuickTime SDK is probably causing your error >> with python25: >> >> http://trac.macosforge.org/projects/macports/wiki/ >> FAQ#Pythonfailstobuild >> >> Maybe that was the only SDK. >> >> >> On Mar 21, 2008, at 06:15, Pete Crite wrote: >> >>> Thanks Ryan, >>> >>> I'll get my brother to download Xcode 2.5 and mail a DVD to me. >>> It's a pity Apple don't release it as separate files without that >>> documentation! >>> >>> Did you know what the other SDK was that I would need for those >>> ports? If I chose not to install Quicktime SDK and the other port, >>> I assume that I would be informed by the relevant ports when the >>> SDKs were lacking? >>> >>> Thanks again, >>> Pete. >>> >>> >>> >>> On 21/03/2008, at 10:05 PM, Ryan Schmidt wrote: >>>> >>>> On Mar 21, 2008, at 01:58, Pete Crite wrote: >>>> >>>>> Oh, and I should also mention a couple of other things. >>>>> >>>>> Firstly, my installation of macports from the dmg didn't really >>>>> work. >>>>> I found that there was no ~/.profile file created. I attempted >>>>> running the installer twice, but had to create this manually >>>>> instead. >>>> >>>> Yes, unfortunately there is a bug in the 1.6.0 installer packages >>>> that prevents this from working properly. You must make the file >>>> manually. This problem has already been fixed in trunk but no new >>>> installer packages have yet been produced. Sorry about that. >>>> >>>> >>>>> Secondly, despite my threadbare XCode installation, I do find that >>>>> some functionality of macports is definitely operational. For >>>>> example, "sudo port selfupdate", "port search gnumeric", "port >>>>> info >>>>> gnumeric" all work. Also, "sudo port install gnumeric" did work >>>>> for >>>>> the first half an hour or so of installation. >>>> >>>> Xcode 2.0 is not acceptable. Please update to Xcode 2.4.1 or 2.5. >>>> >>>> A few ports will fail to compile if you do not install the >>>> QuickTime SDK and I believe one other SDK. I don't recall either >>>> what those few ports were, so you may not run into them. >>>> >>>> >>>>> Cheers, >>>>> Pete. >>>>> >>>>> >>>>> >>>>> On 21/03/2008, at 5:43 PM, Hypo Crite wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>> I'm currently experiencing difficulties installing Gnumeric. I >>>>>> installed XCode and macports, then ran "sudo port install >>>>>> gnumeric" >>>>>> from the terminal. >>>>>> >>>>>> I got the attached error message when the installer got up to >>>>>> python. >>>>>> I am using Mac Mini 1.25GHz PPC running OSX 10.4.11. >>>>>> >>>>>> I may have brought this down on myself with my install of >>>>>> XCode. Due >>>>>> to low bandwidth, I didn't download the newer version of XCode, >>>>>> but >>>>>> rather the bundled version (2.0) with my Tiger install disk. >>>>>> >>>>>> In addition, due to low disk space, I only installed what (I >>>>>> thought) >>>>>> was the minimum I needed from XCode. This was: >>>>>> * Developer Tools Software >>>>>> * gcc 4.0 >>>>>> * Mac OS X SDK >>>>>> * BSD SDK >>>>>> * X11 SDK >>>>>> I installed only these after viewing numerous different sites and >>>>>> cobbling together what I thought was necessary. >>>>>> >>>>>> Does anyone have any hints? >>>>>> >>>>>> Thanks in advance, >>>>>> Pete. >>>>>> >>>>>> >>>>>> <<<<>>>> >>>>>> >>>>>> ---> Fetching python25 >>>>>> ---> Attempting to fetch Python-2.5.2.tar.bz2 from http:// >>>>>> www.python.org//ftp/python/2.5.2/ >>>>>> ---> Verifying checksum(s) for python25 >>>>>> ---> Extracting python25 >>>>>> ---> Applying patches to python25 >>>>>> ---> Configuring python25 >>>>>> ---> Building python25 with target all >>>>>> Error: Target org.macports.build returned: shell command " cd "/ >>>>>> opt/ >>>>>> local/var/macports/build/ >>>>>> _opt_local_var_macports_sources_rsync.macports.org_release_ports_ >>>>>> l >>>>>> ang_ >>>>>> py >>>>>> thon25/work/Python-2.5.2" && make all " returned error 2 >>>>>> Command output: Python/mactoolboxglue.c:425: error: 'cobj' >>>>>> undeclared >>>>>> (first use in this function) >>>>>> Python/mactoolboxglue.c: At top level: >>>>>> Python/mactoolboxglue.c:428: warning: parameter names (without >>>>>> types) >>>>>> in function declaration >>>>>> Python/mactoolboxglue.c:428: error: parse error before "cobj" >>>>>> Python/mactoolboxglue.c:428: warning: function declaration >>>>>> isn't a >>>>>> prototype >>>>>> Python/mactoolboxglue.c: In function 'UserDataObj_New': >>>>>> Python/mactoolboxglue.c:428: error: 'cobj' undeclared (first >>>>>> use in >>>>>> this function) >>>>>> Python/mactoolboxglue.c: At top level: >>>>>> Python/mactoolboxglue.c:429: error: parse error before "UserData" >>>>>> Python/mactoolboxglue.c:429: warning: function declaration >>>>>> isn't a >>>>>> prototype >>>>>> Python/mactoolboxglue.c:429: error: parse error before "UserData" >>>>>> Python/mactoolboxglue.c:429: warning: function declaration >>>>>> isn't a >>>>>> prototype >>>>>> Python/mactoolboxglue.c: In function 'UserDataObj_Convert': >>>>>> Python/mactoolboxglue.c:429: error: 'pyobj' undeclared (first >>>>>> use in >>>>>> this function) >>>>>> Python/mactoolboxglue.c:429: error: 'cobj' undeclared (first >>>>>> use in >>>>>> this function) >>>>>> Python/mactoolboxglue.c: At top level: >>>>>> Python/mactoolboxglue.c:430: warning: parameter names (without >>>>>> types) >>>>>> in function declaration >>>>>> Python/mactoolboxglue.c:430: error: parse error before "cobj" >>>>>> Python/mactoolboxglue.c:430: warning: function declaration >>>>>> isn't a >>>>>> prototype >>>>>> Python/mactoolboxglue.c: In function 'MediaObj_New': >>>>>> Python/mactoolboxglue.c:430: error: 'cobj' undeclared (first >>>>>> use in >>>>>> this function) >>>>>> Python/mactoolboxglue.c: At top level: >>>>>> Python/mactoolboxglue.c:431: error: parse error before "Media" >>>>>> Python/mactoolboxglue.c:431: warning: function declaration >>>>>> isn't a >>>>>> prototype >>>>>> Python/mactoolboxglue.c:431: error: parse error before "Media" >>>>>> Python/mactoolboxglue.c:431: warning: function declaration >>>>>> isn't a >>>>>> prototype >>>>>> Python/mactoolboxglue.c: In function 'MediaObj_Convert': >>>>>> Python/mactoolboxglue.c:431: error: 'pyobj' undeclared (first >>>>>> use in >>>>>> this function) >>>>>> Python/mactoolboxglue.c:431: error: 'cobj' undeclared (first >>>>>> use in >>>>>> this function) >>>>>> make: *** [Python/mactoolboxglue.o] Error 1 >>>>>> >>>>>> Error: The following dependencies failed to build: gnome-doc- >>>>>> utils >>>>>> iso-codes py25-hashlib python25 p5-xml-parser perl5.8 py25- >>>>>> gobject >>>>>> py25-libxml2 py25-numeric scrollkeeper goffice libgnomeprintui >>>>>> gnome- >>>>>> icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml- >>>>>> simple p5-xml-namespacesupport p5-xml-sax gtk2 atk cairo >>>>>> fontconfig >>>>>> freetype libpng render xrender gtk-doc jpeg pango Xft2 xorg- >>>>>> xproto >>>>>> xorg-util-macros shared-mime-info tiff libgnomecanvas gail >>>>>> intltool >>>>>> gnome-common libart_lgpl libglade2 libgnomeprint bison m4 >>>>>> libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf >>>>>> orbit2 >>>>>> libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25- >>>>>> numpy >>>>>> fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk >>>>>> gmake >>>>>> readline neon >>>>>> Error: Status 1 encountered during processing. >>>> >>>> >>>> >>> >>> >>> >>> -- >>> Lee Yeoh >>> >>> >> >> > > > > -- > Lee Yeoh > > > _______________________________________________ > macports-users mailing list > macports-users@lists.macosforge.