Hello. I once made available a wrapper around gnumeric for those who didn't want to install MacPorts. It was around 1GB in size, and I'm thinking it is because of the source code. How do I use the -b option? I remember reading something about "archive mode." -- View this message in context: http://www.nabble.com/How-to-get-a-binary-only-archive--tf4058327.html#a1152... Sent from the MacPorts - Users mailing list archive at Nabble.com.
On 7/10/07, andlabs <pietro10@mac.com> wrote:
Hello. I once made available a wrapper around gnumeric for those who didn't want to install MacPorts. It was around 1GB in size, and I'm thinking it is because of the source code. How do I use the -b option? I remember reading something about "archive mode."
sudo port mpkg gnumeric Kudos to whoever fixed this; it seems to work properly in 1.5, even with variants. HTH, Marc
Thanks! This would really help! (I used Platypus the first time, and there were reported problems). Three questions: 1) Where will the mpkg be? 2) Does it have an uninstall feature? 3) Does the end-user need to have MacPorts or is this standalone? Marc André Selig-2 wrote:
On 7/10/07, andlabs <pietro10@mac.com> wrote:
Hello. I once made available a wrapper around gnumeric for those who didn't want to install MacPorts. It was around 1GB in size, and I'm thinking it is because of the source code. How do I use the -b option? I remember reading something about "archive mode."
sudo port mpkg gnumeric
Kudos to whoever fixed this; it seems to work properly in 1.5, even with variants.
HTH, Marc _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- View this message in context: http://www.nabble.com/How-to-get-a-binary-only-archive--tf4058327.html#a1153... Sent from the MacPorts - Users mailing list archive at Nabble.com.
On 7/11/07, andlabs <pietro10@mac.com> wrote:
Marc André Selig-2 wrote:
sudo port mpkg gnumeric Thanks! This would really help! (I used Platypus the first time, and there were reported problems).
Three questions: 1) Where will the mpkg be?
Probably in $prefix/var/macports/build/*_gnome_gnumeric/work/gnumeric*.mpkg
2) Does it have an uninstall feature?
I don't think mpkg packages can easily be uninstalled.
3) Does the end-user need to have MacPorts or is this standalone?
It is specifically targeted at end-users who don't have or want MacPorts. It will happily install over an existing MacPorts installation and might even mess it up for all I know. Please, anybody, correct me if I'm wrong. ;-) Regards, Marc
Thanks! One more question: would this be in Universal form? I tried $ sudo port mpkg gnumeric +universal and it gave me Error: Error executing universal: Default universal variant only works with ports based on configure Error: Unable to execute port: Error evaluating variants Marc André Selig-3 wrote:
On 7/11/07, andlabs <pietro10@mac.com> wrote:
Marc André Selig-2 wrote:
sudo port mpkg gnumeric Thanks! This would really help! (I used Platypus the first time, and there were reported problems).
Three questions: 1) Where will the mpkg be?
Probably in $prefix/var/macports/build/*_gnome_gnumeric/work/gnumeric*.mpkg
2) Does it have an uninstall feature?
I don't think mpkg packages can easily be uninstalled.
3) Does the end-user need to have MacPorts or is this standalone?
It is specifically targeted at end-users who don't have or want MacPorts. It will happily install over an existing MacPorts installation and might even mess it up for all I know.
Please, anybody, correct me if I'm wrong. ;-)
Regards, Marc _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- View this message in context: http://www.nabble.com/How-to-get-a-binary-only-archive--tf4058327.html#a1155... Sent from the MacPorts - Users mailing list archive at Nabble.com.
On 7/12/07, andlabs <pietro10@mac.com> wrote:
Thanks! One more question: would this be in Universal form? I tried
$ sudo port mpkg gnumeric +universal
and it gave me
Error: Error executing universal: Default universal variant only works with ports based on configure
This will only work if gnumeric and all ports it depends on can be compiled with +universal. That is apparently not the case. Patches are welcome. ;-) Regards, Marc
Now I'm having problems. When I tested the mpkg, I got "Please try again later" after the install started. After some investigation, none of the other ports had anything in their work directory, let alone pkg files! Re-making the mpkg tells me that everything is up-to-date. What's going on? Marc André Selig-2 wrote:
On 7/12/07, andlabs <pietro10@mac.com> wrote:
Thanks! One more question: would this be in Universal form? I tried
$ sudo port mpkg gnumeric +universal
and it gave me
Error: Error executing universal: Default universal variant only works with ports based on configure
This will only work if gnumeric and all ports it depends on can be compiled with +universal. That is apparently not the case. Patches are welcome. ;-)
Regards, Marc _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- View this message in context: http://www.nabble.com/How-to-get-a-binary-only-archive--tf4058327.html#a1156... Sent from the MacPorts - Users mailing list archive at Nabble.com.
andlabs wrote:
Now I'm having problems. When I tested the mpkg, I got "Please try again later" after the install started. After some investigation, none of the other ports had anything in their work directory, let alone pkg files! Re-making the mpkg tells me that everything is up-to-date. What's going on?
The "destroot" target has a bug when the port has already been installed... Basically it thinks "since the port is installed, I don't have to destroot". And since the destroot is usually cleared out after installing, it is empty. The workaround is either forcing the destroot target, or uninstall the port ? It's definitely a bug, it should destroot or unarchive even if it's installed. http://trac.macports.org/projects/macports/ticket/10881 --anders PS. If you run into this a lot, disabling "autoclean" or using a chroot or dedicated machine to build the packages is probably a good idea.
participants (4)
-
Anders F Björklund
-
andlabs
-
Marc André Selig
-
Marc André Selig