Re: Errors installing mysql5
On Sep 22, 2008, at 2:50 AM, Fra Daniele di Gesù ocd wrote: J. M. † J. T. I have just installed the latest one, mysql5 5.0.67_1+server. I am following instructions here http://trac.macports.org/wiki/ howto/MAMP. Since I didn't write those instructions, I'd like to redirect this conversation to the macports-users mailing list where others can comment too. Please Reply All from now on so the discussion can stay there. At this line: sudo chown -R mysql:mysql /opt/local/var/run/mysqld5/ This answer: chown: /opt/local/var/run/mysqld5/: No such file or directory Now I changed the line this way: sudo chown -R mysql:mysql /opt/ local/var/run/mysql5/ (correct folder is mysql5 and not mysqld5) Infact no answer by the command line: no problem. Thanks; I fixed the wiki page: http://trac.macports.org/wiki/howto/MAMP?action=diffversion=18 FYI, you can edit wiki pages too. Just sign up for an account, if you don't have one already. At this line: sudo chown -R mysql:mysql /opt/local/var/log/mysql5/ Same problem: chown: /opt/local/var/log/mysql5/: No such file or directory Here I do not know what to do: no log folder exist. Perhaps I have to change it with this one: /opt/local/lib/mysql5/ mysql/? No, /opt/local/var/log/mysql5 is the correct directory for MySQL logfiles. If it does not exist, you can create it. I should probably have the mysql5 port create this directory. I'm not sure if a ticket has already been filed on that. Now I am following the instructions: sudo /opt/local/bin/mysqld_safe5 [1] 11269 ps -ax | grep mysql 34 ?? Ss 0:00.01 /opt/local/bin/daemondo --label=mysql5 --start- cmd /o 72 ?? S 0:00.02 /bin/sh /opt/local/lib/mysql5/bin/mysqld_safe --datad 98 ?? S 0:34.36 /opt/local/libexec/mysqld --basedir=/opt/local --data 1126 p1- S 0:00.01 sudo /opt/local/lib/mysql5/bin/mysqld_safe 1127 p1- S 0:00.01 sudo /opt/local/lib/mysql5/bin/mysqld_safe 1128 p1- S 0:00.01 sudo /opt/local/lib/mysql5/bin/mysqld_safe 11269p1 S 0:00.01 sudo /opt/local/bin/mysqld_safe5 11271p1 S+ 0:00.00 grep mysql I don't know why it says to manually run mysqld_safe5. That shouldn't be necessary. Running sudo launchctl load -w /Library/ LaunchDaemons/org.macports.mysql5.plist should start the MySQL server for you. Perhaps the order of the commands shown in the wiki page is wrong. For example I'm pretty sure you should install the initial database before attempting to start the server. But I don't have time right now to try setting up MySQL from scratch. Hopefully somebody else does and can correct the instructions. mysqladmin5 -u root password -p Enter password: mysqladmin5: Too few arguments to change password Thanks. This error was introduced into the wiki here: http://trac.macports.org/wiki/howto/MAMP?action=diffversion=12 I undid the incorrect part of that change. http://trac.macports.org/wiki/howto/MAMP?action=diffversion=19 mysql5 -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 7 Server version: 5.0.67 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. Just now it seems good. But there are some errors to correct in the instruction page. Well, you still need to set your root password. Correct instructions for that are now in the wiki. Thank you. I hope what I did is ok. Tell me, please. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: I get the error C compiler cannot create executables when I try to install a port...
On Sep 21, 2008, at 4:01 PM, Bryan Blackburn wrote: On Sun, Sep 21, 2008 at 03:28:55PM -0500, Ryan Schmidt said: On Sep 21, 2008, at 7:34 AM, Otto Roberson Bertsch wrote: I had installed first XCode from the Apple 311_2517_developerdvd.dmg. I thought maybe that was the problem since the FAQ states you need XCode 3.0 - so I installed that from the DVD. I still have the problem and XCode seems to be installed. I'm unable to find a page where we state that Xcode 3.0 is required for Leopard. Could you please tell me the URL so I can fix it to show that 3.0 is a minimum requirement? Thanks. The www site, not the guide, at http://www.macports.org/install.php#requirements specifically lists 3.0 and 2.4.1, without any kind of or newer type of phrasing... Thanks, I added or later to it in r40141. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Creating source packages?
I have a developer who lives in a rural area, with no broadband access. (OK, stop laughing.) Worse, his 28.8K dialup ISP has an 8-hour max session time, so anything signifcantly large just can't be downloaded, period. I want to send him a DVD-ROM of some large packages. Ideally, I'd want them to look like just another source to MacPorts, so that the builds, updates, etc. all happen within MacPorts. (Kinda like Fedora install CDs.)And I want them to include all dependencies. I've been able to create .mpkgs, but those are binary packages. The guide mentions portpkgs, but doesn't say how to create them. Neither does the man page. Is there any documentation on creating source packages? Jay Levitt ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Creating source packages?
Jay Levitt wrote: I have a developer who lives in a rural area, with no broadband access. (OK, stop laughing.) Worse, his 28.8K dialup ISP has an 8-hour max session time, so anything signifcantly large just can't be downloaded, period. I want to send him a DVD-ROM of some large packages. Ideally, I'd want them to look like just another source to MacPorts, so that the builds, updates, etc. all happen within MacPorts. (Kinda like Fedora install CDs.)And I want them to include all dependencies. Are you sure you want to send him sources then, and not binaries ? (in Fedora et al the install CDs usually contain the binary RPMS, while the sources are in the SRPMS, or Source RPMS, packages...) I guess if you have a full DVD anyway, you'd want to include both. But ports sources are rather small even on a dial-up, say like: 5.0M, so chances are that it is the distfiles that you want to send him ? I've been able to create .mpkgs, but those re binary packages. The guide mentions portpkgs, but doesn't say how to create them. Neither does the man page. Is there any documentation on creating source packages? Unfortunately you can only create the source package portpkg.xar as a part of the port submit command, which also sends them in... Theoretically there could be port portpkg command (or something), as it is a separate function in base already. Like the port srpm ? --anders ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Creating source packages?
On Mon, Sep 22, 2008 at 10:22 AM, Jay Levitt [EMAIL PROTECTED] wrote: I have a developer who lives in a rural area, with no broadband access. (OK, stop laughing.) Worse, his 28.8K dialup ISP has an 8-hour max session time, so anything signifcantly large just can't be downloaded, period. I want to send him a DVD-ROM of some large packages. Ideally, I'd want them to look like just another source to MacPorts, so that the builds, updates, etc. all happen within MacPorts. (Kinda like Fedora install CDs.)And I want them to include all dependencies. This might not be what you're looking for, but how about building a minimal MacPorts installation on your machine (using the same OS revision and arch as the developer's), and just sending a tarball of /opt/local ? -- miʃel salim • http://hircus.jaiku.com/ IUCS • [EMAIL PROTECTED] Fedora • [EMAIL PROTECTED] MacPorts • [EMAIL PROTECTED] ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
list element in braces followed by } instead of space
I have a local port repository under my home path where I am testing a new port for libpqxx (see attached). When I try to install this port, I get the following: [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx Password: Portfile changed since last build; discarding previous state. --- Fetching libpqxx --- Verifying checksum(s) for libpqxx --- Extracting libpqxx --- Configuring libpqxx --- Building libpqxx with target all --- Staging libpqxx into destroot --- Installing libpqxx 2.6.9_0 list element in braces followed by } instead of space Error: Status 1 encountered during processing. Thereafter, I can't do anything with this port, eg: [ [EMAIL PROTECTED] ~/ports ]$ sudo port lint libpqxx list element in braces followed by } instead of space Error: Status 1 encountered during processing. [ [EMAIL PROTECTED] ~/ports ]$ sudo port clean --all libpqxx Portfile changed since last build; discarding previous state. list element in braces followed by } instead of space Error: Status 1 encountered during processing. [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx list element in braces followed by } instead of space Error: Status 1 encountered during processing. Is this a sign of corruption somewhere in the macport registry or something? For instance: [ [EMAIL PROTECTED] ~/ports ]$ port -v installed Error: port installed failed: list element in braces followed by } instead of space No ports are installed. If so, how do I fix this? Thanks, Darren Portfile Description: Binary data ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: list element in braces followed by } instead of space
I've also run this debug command: [ [EMAIL PROTECTED] ~/ports ]$ port -d installed DEBUG: list element in braces followed by } instead of space while executing array set receipt_$ref $receipt_contents (procedure receipt_flat::open_entry line 84) invoked from within ${macports::registry.format}::open_entry $name $version $revision $variants (procedure open_entry line 4) invoked from within open_entry $iname $iversion $irevision $ivariants (procedure registry::installed line 13) invoked from within registry::installed Error: port installed failed: list element in braces followed by } instead of space No ports are installed. On Mon, Sep 22, 2008 at 1:06 PM, Darren Weber [EMAIL PROTECTED] wrote: I have a local port repository under my home path where I am testing a new port for libpqxx (see attached). When I try to install this port, I get the following: [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx Password: Portfile changed since last build; discarding previous state. --- Fetching libpqxx --- Verifying checksum(s) for libpqxx --- Extracting libpqxx --- Configuring libpqxx --- Building libpqxx with target all --- Staging libpqxx into destroot --- Installing libpqxx 2.6.9_0 list element in braces followed by } instead of space Error: Status 1 encountered during processing. Thereafter, I can't do anything with this port, eg: [ [EMAIL PROTECTED] ~/ports ]$ sudo port lint libpqxx list element in braces followed by } instead of space Error: Status 1 encountered during processing. [ [EMAIL PROTECTED] ~/ports ]$ sudo port clean --all libpqxx Portfile changed since last build; discarding previous state. list element in braces followed by } instead of space Error: Status 1 encountered during processing. [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx list element in braces followed by } instead of space Error: Status 1 encountered during processing. Is this a sign of corruption somewhere in the macport registry or something? For instance: [ [EMAIL PROTECTED] ~/ports ]$ port -v installed Error: port installed failed: list element in braces followed by } instead of space No ports are installed. If so, how do I fix this? Thanks, Darren ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Creating source packages?
On Sep 22, 2008, at 9:22 AM, Jay Levitt wrote: I have a developer who lives in a rural area, with no broadband access. (OK, stop laughing.) Worse, his 28.8K dialup ISP has an 8-hour max session time, so anything signifcantly large just can't be downloaded, period. Oh, I'm not laughing. My aunt was stuck on 28.8Kbps until recently when she finally upgraded to ISDN. Hooray for 64Kbps! Now she can finally download her own OS updates instead of me having to burn CDs for her. 28800 bits per second = 3600 bytes per second, at 8 hours that's still almost 99 MB that could be downloaded. Though that's assuming ideal conditions and a line that never drops. I want to send him a DVD-ROM of some large packages. Ideally, I'd want them to look like just another source to MacPorts, so that the builds, updates, etc. all happen within MacPorts. (Kinda like Fedora install CDs.)And I want them to include all dependencies. I've been able to create .mpkgs, but those are binary packages. The guide mentions portpkgs, but doesn't say how to create them. Neither does the man page. Is there any documentation on creating source packages? There isn't any such thing as a source package in MacPorts, but you can certainly download distfiles, burn them to a DVD, and have your developer copy them to /opt/local/var/macports/distfiles. MacPorts will happily use them, assuming they're in fact the correct file (that the checksum matches what's in the corresponding Portfile). You could even download every distfile that exists by rsyncing from our distfiles mirror. See these instructions: http://lists.macosforge.org/pipermail/macports-dev/2008-July/005720.html At the time of that message a few months ago, we had 15GB of distfiles, so that would be several DVDs, but note that it does include all versions of every port that have ever been mirrored, not just the currently used versions. So if you thinned this to just the current versions it could be quite a bit smaller. You could run port mirror yourself to download just the current versions. If you're talking about creating private ports just for this developer (ports that aren't in MacPorts) then you can still download the source files for him and send them to him on a DVD and have him copy them to the distfiles directory on his machine. And then you can have him set up a local ports tree and install from that. See: http://guide.macports.org/#development.local-repositories You could provide a ports tree on the DVD for him to copy to his machine and install from (after he's set up his sources.conf). ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Ticket #16549 (add Ada to gcc)
I am extremely interested in this ticket http://trac.macports.org/ticket/16549 to add Ada support to gcc. My particular situation is that I need an Ada 2005 compiler (which means gcc 4.3) which runs on PPC hardware under OS X 10.5. (My need relates to the fact that I have written Ada bindings to the excellent PLplot plotting library but I still work on one of the last PowerBooks which is PPC.) I already have a functioning Ada 2005 compiler running on PPC under 10.4.11 so I have the necessary bootstrapping required to build the new compiler. I believe that the process would involve building the new compiler while running 10.4.x and then installing 10.5.x while maintaining /opt. I'm not sure how to encourage faster attention to this ticket except to vote with this post. Many TIA, Jerry ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: list element in braces followed by } instead of space
On Sep 22, 2008, at 3:06 PM, Darren Weber wrote: I have a local port repository under my home path where I am testing a new port for libpqxx (see attached). When I try to install this port, I get the following: [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx Password: Portfile changed since last build; discarding previous state. --- Fetching libpqxx --- Verifying checksum(s) for libpqxx --- Extracting libpqxx --- Configuring libpqxx --- Building libpqxx with target all --- Staging libpqxx into destroot --- Installing libpqxx 2.6.9_0 list element in braces followed by } instead of space Error: Status 1 encountered during processing. Thereafter, I can't do anything with this port, eg: [ [EMAIL PROTECTED] ~/ports ]$ sudo port lint libpqxx list element in braces followed by } instead of space Error: Status 1 encountered during processing. [ [EMAIL PROTECTED] ~/ports ]$ sudo port clean --all libpqxx Portfile changed since last build; discarding previous state. list element in braces followed by } instead of space Error: Status 1 encountered during processing. [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx list element in braces followed by } instead of space Error: Status 1 encountered during processing. Is this a sign of corruption somewhere in the macport registry or something? Yes, this sounds like something wrong got written to the registry. Is it even called the registry? I don't know. Check the file /opt/local/var/macports/receipts/libpqxx/receipt.bz2 -- copy it somewhere else, decompress it, look into it, see if it looks like valid Tcl. Or attach it here and I'll look at it. My first guess would be the newlines in your long_description. I'm building it now myself to see what's happening, but it will take awhile to build the postgresql83 dependency and its dependencies. For instance: [ [EMAIL PROTECTED] ~/ports ]$ port -v installed Error: port installed failed: list element in braces followed by } instead of space No ports are installed. If so, how do I fix this? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Ticket #16549 (add Ada to gcc)
On Sep 22, 2008, at 4:14 PM, Jerry wrote: I am extremely interested in this ticket http://trac.macports.org/ticket/16549 to add Ada support to gcc. My particular situation is that I need an Ada 2005 compiler (which means gcc 4.3) which runs on PPC hardware under OS X 10.5. (My need relates to the fact that I have written Ada bindings to the excellent PLplot plotting library but I still work on one of the last PowerBooks which is PPC.) I already have a functioning Ada 2005 compiler running on PPC under 10.4.11 so I have the necessary bootstrapping required to build the new compiler. I believe that the process would involve building the new compiler while running 10.4.x and then installing 10.5.x while maintaining / opt. I'm not sure how to encourage faster attention to this ticket except to vote with this post. You can add yourself to the ticket's Cc list to be informed of any progress on the ticket. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
xaw3d error installing gv
This is the error I get: --- Building Xaw3d with target all SHLIBGLOBALSFLAGS=-L/usr/X11R6/lib INCDIR=/ opt/local/include SHLIBDIR=/opt/local/lib USRLIBDIR=/opt/local/lib Error: Target org.macports.build returned: shell command cd /opt/local/var/ma cports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x1 1_Xaw3d/work/xc/lib/Xaw3d make all SHLIBGLOBALSFLAGS=-L/usr/X11R6/lib INCDIR =/opt/local/include SHLIBDIR=/opt/local/lib USRLIBDIR=/opt/local/lib returned error 2 Command output: AllWidgets.c:115: warning: (near initialization for 'XawWidgetAr ray[37]') AllWidgets.c:116: warning: braces around scalar initializer AllWidgets.c:116: warning: (near initialization for 'XawWidgetArray[38]') AllWidgets.c:116: warning: initialization makes integer from pointer without a c ast AllWidgets.c:116: warning: excess elements in scalar initializer AllWidgets.c:116: warning: (near initialization for 'XawWidgetArray[38]') AllWidgets.c:117: warning: braces around scalar initializer AllWidgets.c:117: warning: (near initialization for 'XawWidgetArray[39]') AllWidgets.c:117: warning: initialization makes integer from pointer without a c ast AllWidgets.c:117: warning: excess elements in scalar initializer AllWidgets.c:117: warning: (near initialization for 'XawWidgetArray[39]') AllWidgets.c:118: warning: braces around scalar initializer AllWidgets.c:118: warning: (near initialization for 'XawWidgetArray[40]') AllWidgets.c:118: warning: initialization makes integer from pointer without a c ast AllWidgets.c:118: warning: excess elements in scalar initializer AllWidgets.c:118: warning: (near initialization for 'XawWidgetArray[40]') AllWidgets.c:119: warning: braces around scalar initializer AllWidgets.c:119: warning: (near initialization for 'XawWidgetArray[41]') AllWidgets.c:119: warning: initialization makes integer from pointer without a c ast AllWidgets.c:119: warning: excess elements in scalar initializer AllWidgets.c:119: warning: (near initialization for 'XawWidgetArray[41]') AllWidgets.c:120: warning: braces around scalar initializer AllWidgets.c:120: warning: (near initialization for 'XawWidgetArray[42]') AllWidgets.c:120: warning: initialization makes integer from pointer without a c ast AllWidgets.c:120: warning: excess elements in scalar initializer AllWidgets.c:120: warning: (near initialization for 'XawWidgetArray[42]') AllWidgets.c:121: warning: data definition has no type or storage class AllWidgets.c:123: warning: implicit declaration of function 'XtNumber' AllWidgets.c:123: error: initializer element is not constant make: *** [AllWidgets.o] Error 1 Error: The following dependencies failed to build: Xaw3d ghostscript cairo libpi xman render xrender Error: Status 1 encountered during processing. I am running Tiger 10.4.11 on a Intel i386 iMac Anyone has an idea ? Thomas _ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: list element in braces followed by } instead of space
Yes, Ryan, the receipt contained a syntax problem, related to the long_description. I created a ticket about that problem, where I noted my solution (#16619). I've now created a new ticket to incorporate a port for libpqxx, Ticket #16621. It installs and uninstalls for me. It should be fully tested for functional integrity against the postgresql83 port. I've not had time to configure and run the functional tests. Thanks! On Mon, Sep 22, 2008 at 2:22 PM, Ryan Schmidt [EMAIL PROTECTED] wrote: On Sep 22, 2008, at 3:06 PM, Darren Weber wrote: I have a local port repository under my home path where I am testing a new port for libpqxx (see attached). When I try to install this port, I get the following: [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx Password: Portfile changed since last build; discarding previous state. --- Fetching libpqxx --- Verifying checksum(s) for libpqxx --- Extracting libpqxx --- Configuring libpqxx --- Building libpqxx with target all --- Staging libpqxx into destroot --- Installing libpqxx 2.6.9_0 list element in braces followed by } instead of space Error: Status 1 encountered during processing. Thereafter, I can't do anything with this port, eg: [ [EMAIL PROTECTED] ~/ports ]$ sudo port lint libpqxx list element in braces followed by } instead of space Error: Status 1 encountered during processing. [ [EMAIL PROTECTED] ~/ports ]$ sudo port clean --all libpqxx Portfile changed since last build; discarding previous state. list element in braces followed by } instead of space Error: Status 1 encountered during processing. [ [EMAIL PROTECTED] ~/ports ]$ sudo port install libpqxx list element in braces followed by } instead of space Error: Status 1 encountered during processing. Is this a sign of corruption somewhere in the macport registry or something? Yes, this sounds like something wrong got written to the registry. Is it even called the registry? I don't know. Check the file /opt/local/var/macports/receipts/libpqxx/receipt.bz2 -- copy it somewhere else, decompress it, look into it, see if it looks like valid Tcl. Or attach it here and I'll look at it. My first guess would be the newlines in your long_description. I'm building it now myself to see what's happening, but it will take awhile to build the postgresql83 dependency and its dependencies. For instance: [ [EMAIL PROTECTED] ~/ports ]$ port -v installed Error: port installed failed: list element in braces followed by } instead of space No ports are installed. If so, how do I fix this? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: xaw3d error installing gv
On Sep 22, 2008, at 4:36 PM, thomas milewski wrote: This is the error I get: --- Building Xaw3d with target all SHLIBGLOBALSFLAGS=-L/usr/X11R6/ lib INCDIR=/ opt/local/include SHLIBDIR=/opt/local/lib USRLIBDIR=/opt/local/lib Error: Target org.macports.build returned: shell command cd /opt/ local/var/ma cports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_x1 1_Xaw3d/work/xc/lib/Xaw3d make all SHLIBGLOBALSFLAGS=-L/usr/ X11R6/lib INCDIR =/opt/local/include SHLIBDIR=/opt/local/lib USRLIBDIR=/opt/local/ lib returned error 2 Command output: AllWidgets.c:115: warning: (near initialization for 'XawWidgetAr ray[37]') AllWidgets.c:116: warning: braces around scalar initializer AllWidgets.c:116: warning: (near initialization for 'XawWidgetArray [38]') AllWidgets.c:116: warning: initialization makes integer from pointer without a c ast AllWidgets.c:116: warning: excess elements in scalar initializer AllWidgets.c:116: warning: (near initialization for 'XawWidgetArray [38]') AllWidgets.c:117: warning: braces around scalar initializer AllWidgets.c:117: warning: (near initialization for 'XawWidgetArray [39]') AllWidgets.c:117: warning: initialization makes integer from pointer without a c ast AllWidgets.c:117: warning: excess elements in scalar initializer AllWidgets.c:117: warning: (near initialization for 'XawWidgetArray [39]') AllWidgets.c:118: warning: braces around scalar initializer AllWidgets.c:118: warning: (near initialization for 'XawWidgetArray [40]') AllWidgets.c:118: warning: initialization makes integer from pointer without a c ast AllWidgets.c:118: warning: excess elements in scalar initializer AllWidgets.c:118: warning: (near initialization for 'XawWidgetArray [40]') AllWidgets.c:119: warning: braces around scalar initializer AllWidgets.c:119: warning: (near initialization for 'XawWidgetArray [41]') AllWidgets.c:119: warning: initialization makes integer from pointer without a c ast AllWidgets.c:119: warning: excess elements in scalar initializer AllWidgets.c:119: warning: (near initialization for 'XawWidgetArray [41]') AllWidgets.c:120: warning: braces around scalar initializer AllWidgets.c:120: warning: (near initialization for 'XawWidgetArray [42]') AllWidgets.c:120: warning: initialization makes integer from pointer without a c ast AllWidgets.c:120: warning: excess elements in scalar initializer AllWidgets.c:120: warning: (near initialization for 'XawWidgetArray [42]') AllWidgets.c:121: warning: data definition has no type or storage class AllWidgets.c:123: warning: implicit declaration of function 'XtNumber' AllWidgets.c:123: error: initializer element is not constant make: *** [AllWidgets.o] Error 1 Error: The following dependencies failed to build: Xaw3d ghostscript cairo libpi xman render xrender Error: Status 1 encountered during processing. I am running Tiger 10.4.11 on a Intel i386 iMac Anyone has an idea ? Hmm. xaw3d is successfully installed on my MacBook Pro with Mac OS X 10.4.11 and Xcode 2.5. Is your Xcode up to date? If it's less than 2.4.1, update to Xcode 2.5. Do you have Apple X11 installed or the XFree86 port or the xorg port? I have (and recommend) Apple X11. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
building gnucash
I was trying to 'port install gnucash' the other day, and the building process failed on some dependencies. What surprised me was the sheer scale of the set of dependencies. For example, one of the listed failed dependencies was 'nautilus'. Isn't this a GNOME file manager GUI? I can't see why gnucash would require nautilus installation. So I'm wondering if somehow I've gotten macports misconfigured, or if there's some way to build a more minimal gnucash version. thanks, R ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: building gnucash
On Sep 22, 2008, at 18:22 PM, Robert Goldman wrote: I was trying to 'port install gnucash' the other day, and the building process failed on some dependencies. What surprised me was the sheer scale of the set of dependencies. For example, one of the listed failed dependencies was 'nautilus'. Isn't this a GNOME file manager GUI? I can't see why gnucash would require nautilus installation. So I'm wondering if somehow I've gotten macports misconfigured, or if there's some way to build a more minimal gnucash version. thanks, R Gnucash is huge. I think nautilus, assuming it's what you say it is, must be in there for when you open a file - so there's a nice browser window. Lenore ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
exlive_base 2007 not working
I just tried to install doxygen. After 10min I recived a failure. After some research I found out i could install texlive_base: any suggestions? --- Building texlive_base 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_tex_texlive_base/work/texlive_base-2007 make all returned error 2 Command output: make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make all-recursive Making all in data make[4]: Nothing to be done for `all'. Making all in src make[4]: Nothing to be done for `all'. make[4]: Nothing to be done for `all-am'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. make[2]: Nothing to be done for `all'. cd gui; make CC='/usr/bin/gcc-4.0' CFLAGS='-O2 ' libgui.a make[3]: `libgui.a' is up to date. /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0 -o xdvi-xaw.bin -L/opt/ local/lib browser.o dvi-draw.o dvi-init.o dvisel.o encodings.o events.o filehist.o font-open.o gf.o hypertex.o image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o search-internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o ./ gui/libgui.a ../../libs/t1lib/libt1.a .../../libs/t1lib/../type1/ libtype1.a -L/usr/lib/ruby 1 -L/usr/X11/lib -lXaw -lXmu -lXt -lSM - lICE -lXp -lXext -lXpm -lX11 -liconv ../kpathsea/libkpathsea.la -lm /usr/bin/gcc-4.0 -o xdvi-xaw.bin browser.o dvi-draw.o dvi-init.o dvisel.o encodings.o events.o filehist.o font-open.o gf.o hypertex.o image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o search-internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o 1 -L/opt/local/lib ./gui/ libgui.a .../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/ libtype1.a -L/usr/lib/ruby -L/usr/X11/lib -lXaw -lXmu -lXt -lSM -lICE - lXp -lXext -lXpm -lX11 -lXau -lXdmcp -liconv ../kpathsea/.libs/ libkpathsea.a -lm i686-apple-darwin9-gcc-4.0.1: 1: No such file or directory make[2]: *** [xdvi-xaw.bin] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 Error: Status 1 encountered during processing.___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: building gnucash
I have used gnucash for a long time, and I remember building it from source on linux. The developers said that gnucash lived high on the software foodchain. They used all sorts of libraries to reduce the code that they had to write, but macports dependencies still surprise me. I think firefox is a dependency too. I have gotten it to build and it seems to work except for the help system. It displays the raw html instead of showing it formatted. I am still working on what is causing that. Mike On Sep 22, 2008, at 7:22 PM, Robert Goldman wrote: I was trying to 'port install gnucash' the other day, and the building process failed on some dependencies. What surprised me was the sheer scale of the set of dependencies. For example, one of the listed failed dependencies was 'nautilus'. Isn't this a GNOME file manager GUI? I can't see why gnucash would require nautilus installation. So I'm wondering if somehow I've gotten macports misconfigured, or if there's some way to build a more minimal gnucash version. thanks, R ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: exlive_base 2007 not working
On Tue, Sep 23, 2008 at 02:02:49AM +0200, Florian Kühnlenz said: I just tried to install doxygen. After 10min I recived a failure. After some research I found out i could install texlive_base: any suggestions? --- Building texlive_base 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_tex_texlive_base/work/texlive_base-2007 make all returned error 2 [...] /usr/bin/gcc-4.0 -o xdvi-xaw.bin browser.o dvi-draw.o dvi-init.o dvisel.o encodings.o events.o filehist.o font-open.o gf.o hypertex.o image-magick.o mime.o my-snprintf.o my-vsnprintf.o pagehist.o pk.o print-internal.o psdps.o psgs.o psheader.o psnews.o read-mapfile.o search-internal.o special.o string-utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o 1 -L/opt/local/lib ./gui/libgui.a .../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a -L/usr/lib/ruby -L/usr/X11/lib -lXaw -lXmu -lXt -lSM -lICE -lXp -lXext -lXpm -lX11 -lXau -lXdmcp -liconv ../kpathsea/.libs/libkpathsea.a -lm i686-apple-darwin9-gcc-4.0.1: 1: No such file or directory Hmm, an errant '1' in there; maybe related to the X11R6 1 issue, mentioned at http://trac.macports.org/wiki/ProblemHotlist#Aportfailedtobuildwithamessagereferringto1lib:Nosuchfileordirectory See if you have any * 1 directories in /usr. Bryan [...] ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Configure error macport - mkvToolnix
Hi, Ok it's been several days and I am really struggling with this one. I need to install mkxToolnix but in order to do that, I need to install Boost (which I have now donew several times). MacPorts installs Boost 1.35.0_2 but for some reason it appears that not all the required files are installed. I get the following error when I try to install mkvToolnix: *** Not checking for wxWidgets: disabled by user request checking for magic_open in -lmagic... no checking for boostlib = 1.20.0... yes checking whether the Boost::Regex library is available... yes checking for main in -lboost_regex-mt... no checking for main in -lboost_regex-boost_regex-mt... no configure: error: Could not link against boost_regex-boost_regex-mt ! Error: Status 1 encountered during processing. I looked in the configure file and copied anything I could see to do with Boost.regex or just regex. Can anyone see anything in the following that would disable the install of the required files. # Configure ICU echo -n Unicode/ICU support for Boost.Regex?... if test x$flag_icu != xno; then if test x$ICU_ROOT = x; then COMMON_ICU_PATHS=/usr /usr/local /sw for p in $COMMON_ICU_PATHS; do if test -r $p/include/unicode/utypes.h; then ICU_ROOT=$p fi done if test x$ICU_ROOT = x; then echo not found. else BJAM_CONFIG=$BJAM_CONFIG -sICU_PATH=$ICU_ROOT echo $ICU_ROOT fi else BJAM_CONFIG=$BJAM_CONFIG -sICU_PATH=$ICU_ROOT echo $ICU_ROOT fi else echo disabled. fi and this section: Configuration: -h, --helpdisplay this help and exit --with-bjam=BJAM use existing Boost.Jam executable (bjam) [automatically built] --with-toolset=TOOLSETuse specific Boost.Build toolset [automatically detected] --show-libraries show the set of libraries that require build and installation steps (i.e., those libraries that can be used with --with-libraries or --without-libraries), then exit --with-libraries=list build only a particular set of libraries, describing using either a comma- separated list of library names or all [all] --without-libraries=list build all libraries except the ones listed [] --with-icuenable Unicode/ICU support in Regex [automatically detected] --without-icu disable Unicode/ICU support in Regex --with-icu=DIRspecify the root of the ICU library installation and enable Unicode/ICU support in Regex [automatically detected] --with-python=PYTHON specify the Python executable [python] --with-python-root=DIRspecify the root of the Python installation [automatically detected] --with-python-version=X.Y specify the Python version as X.Y [automatically detected] As suggested by Michel I tried 'port contents boost | grep regex-mt' but it did not find the file. However, I was not sure if that command was searching the directories after the install or seaching sources that will be installed. Does anyone have any other suggestion? I only hope that installing mpeg4ip will be less trouble. Thanks, Terrence On 21 Sep 2008, at 19:19, Michel Salim wrote: On Sun, Sep 21, 2008 at 1:37 PM, Mine [EMAIL PROTECTED] wrote: Hi Paul, Thanks for replying. You are right the libboost_regex-mt.dylib is not in /opt/local/lib. However it appears that Boost 1.35.0_2 is the version installed. I have searched and found a Boost 1.36.0. As I am not very familiar with MacPortsIs, do you know if it possible to get MacPorts to install apps that are not in its database. Try 'port contents boost | grep regex-mt' to see if your boost installation contains that file at all. Perhaps the problem is that it was not installed properly, in which case you might want to reinstall boost from macports. Boost 1.36 has some API changes, I believe, so you don't want to upgrade to it yet. It was introduced and then pulled out from Fedora Linux's development tree, for example. If you *do* want to try it, however, the way to do it would be to modify the Portfile that tells MacPorts how to build Boost, so that it uses the new version instead. See the documentation for details. Hope that helps, and oh, by the way, you might want to bottom-quote when posting. It's the convention, and makes it easier to follow the conversation. Regards, -- miʃel salim • http://hircus.jaiku.com/ IUCS • [EMAIL PROTECTED] Fedora • [EMAIL PROTECTED] MacPorts • [EMAIL PROTECTED] ___ macports-users mailing list macports-users@lists.macosforge.org
Re: building gnucash
On Sep 22, 2008, at 6:22 PM, Robert Goldman wrote: I was trying to 'port install gnucash' the other day, and the building process failed on some dependencies. If you show us exactly what error occurred we may be able to help you diagnose it! :) What surprised me was the sheer scale of the set of dependencies. For example, one of the listed failed dependencies was 'nautilus'. Isn't this a GNOME file manager GUI? I can't see why gnucash would require nautilus installation. So I'm wondering if somehow I've gotten macports misconfigured, or if there's some way to build a more minimal gnucash version. I don't think you have any misconfiguration. As was said, gnucash has lots of dependencies -- so many that my port dependency graph maker just draws a jumble, which you can view here for your undoubtedly great amusement: http://www.ryandesign.com/tmp/gnucash.png (1.2MB) port variants gnucash explains that there are some variants which may help a bit: without_quotes, without_hbci, without_ofx, each of which deletes some of the dependencies (at the expense of some feature). ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Configure error macport - mkvToolnix
On Sep 22, 2008, at 7:45 PM, Mine wrote: Ok it's been several days and I am really struggling with this one. I need to install mkxToolnix but in order to do that, I need to install Boost (which I have now donew several times). MacPorts installs Boost 1.35.0_2 but for some reason it appears that not all the required files are installed. I get the following error when I try to install mkvToolnix: *** Not checking for wxWidgets: disabled by user request checking for magic_open in -lmagic... no checking for boostlib = 1.20.0... yes checking whether the Boost::Regex library is available... yes checking for main in -lboost_regex-mt... no checking for main in -lboost_regex-boost_regex-mt... no configure: error: Could not link against boost_regex-boost_regex-mt ! Error: Status 1 encountered during processing. I looked in the configure file and copied anything I could see to do with Boost.regex or just regex. Can anyone see anything in the following that would disable the install of the required files. # Configure ICU echo -n Unicode/ICU support for Boost.Regex?... if test x$flag_icu != xno; then if test x$ICU_ROOT = x; then COMMON_ICU_PATHS=/usr /usr/local /sw Do you have anything installed in /usr/local or /sw? If so, rename those directories, clean and try again. Software installed in /usr/ local or /sw can interfere with MacPorts (because, as you see, software likes to look there for things, though we don't want it to). sudo mv /sw /sw-off sudo mv /usr/local /usr/local-off sudo port clean --work someport where someport is whatever port failed. Then try again. As suggested by Michel I tried 'port contents boost | grep regex-mt' but it did not find the file. However, I was not sure if that command was searching the directories after the install or seaching sources that will be installed. port contents boost shows all files that got installed by boost. This is then piped through grep to show only those files whose names contain regex-mt. On my systems (10.4.11 Intel and PowerPC) I see: $ port contents boost | grep regex-mt /opt/local/lib/libboost_regex-mt-1_35.dylib /opt/local/lib/libboost_regex-mt.dylib $ You don't see that, so your boost is not installing those files... not sure why... You could do this: sudo port deactivate boost sudo port clean --work boost sudo port configure boost open $(port dir boost) Then go into the work directory, into the boost source directory, and attach the config.log file to an email reply. I'll run the same on my system and see if I see any differences that might point to the problem. Then to clean up, don't forget to: sudo port clean --work boost sudo port activate boost Does anyone have any other suggestion? I only hope that installing mpeg4ip will be less trouble. You mentioned you were on Mac OS X 10.4.11... are you on Intel or PowerPC? Do you have at least Xcode 2.4.1? If not, download and install Xcode 2.5 from: http://developer.apple.com/tools/xcode/ On Sun, Sep 21, 2008 at 1:37 PM, Mine [EMAIL PROTECTED] wrote: Thanks for replying. You are right the libboost_regex-mt.dylib is not in /opt/local/lib. However it appears that Boost 1.35.0_2 is the version installed. I have searched and found a Boost 1.36.0. As I am not very familiar with MacPortsIs, do you know if it possible to get MacPorts to install apps that are not in its database. Try 'port contents boost | grep regex-mt' to see if your boost installation contains that file at all. Perhaps the problem is that it was not installed properly, in which case you might want to reinstall boost from macports. Boost 1.36 has some API changes, I believe, so you don't want to upgrade to it yet. It was introduced and then pulled out from Fedora Linux's development tree, for example. If you *do* want to try it, however, the way to do it would be to modify the Portfile that tells MacPorts how to build Boost, so that it uses the new version instead. See the documentation for details. FYI, an enhancement request has already been filed to update boost to 1.36; if you want to test it you can grab the portfile from here: http://trac.macports.org/ticket/16378 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users