Walker Blackwell
2017-07-11 14:00:43 UTC
Dear Devs.
I’m working on a temp fork of gutenprint with some additional test code. Building and running on Linux is a breeze but I’m having trouble building for OS X. To eliminate variables and just test with currently working code, I downloaded the most recent cvs of the official gutenprint-5.2.13-pre1 and the tarball + all dependent OS X utilities required to build the install package for OS X. I’m running most recent version of OS X but PackageMaker still works, and homebrew is backwards compatible.
I’ve hit upon two bumps that seem to be missing from documentation of the OS X “option 1” packaging process.
1. After successful ./make-build I run ./make-installer. The first error that crops up is "cp: src/gutenprint.pkg.src/Contents: No such file or directory” Sure enough, there is no “Contents” directory. Making a blank folder there seems to eliminate the error but that may just be glossing over the problem . . .
2. The second error that crops up is that this “make-installer” command requires a “.mkpg”. I can find the most recent mkpg in the 5.2.10 dmg download so after copying that and adding it to the source, I can build a new dmg.
3. The problem is that this new dmg (and installer therein) is in the old “mpkg” format and not the new “pkg” format as found in the current .11, .12 and .13 installers. Also, upon test-installing it says the installer will add “55.2” megabytes but after clicking Install it throws an error and can’t find anything to install. This may be due to the lack of a Contents folder . . . I tested the installer on a fresh OS X El Capitan as well . . . no dice.
Questions:
1. Is there an updated workflow for creating the pkg and not “mpkg” that I’m not aware of? This is not documented in the OS X build instructions or throughout the list archive so far as I can see.
2. Is there a way to get around the missing Contents folder error? A hunch tells me these may be connected.
3. Do I need to run this installation process on an older version of OS X? I’m not attempting to make this install backwards compatible.
Thank your for your time.
I apologize if this is redundant questioning. I could not find the information in the list archives.
all the best,
Walker Blackwell
R&D Vermont Photo Inkjet LLC.
I’m working on a temp fork of gutenprint with some additional test code. Building and running on Linux is a breeze but I’m having trouble building for OS X. To eliminate variables and just test with currently working code, I downloaded the most recent cvs of the official gutenprint-5.2.13-pre1 and the tarball + all dependent OS X utilities required to build the install package for OS X. I’m running most recent version of OS X but PackageMaker still works, and homebrew is backwards compatible.
I’ve hit upon two bumps that seem to be missing from documentation of the OS X “option 1” packaging process.
1. After successful ./make-build I run ./make-installer. The first error that crops up is "cp: src/gutenprint.pkg.src/Contents: No such file or directory” Sure enough, there is no “Contents” directory. Making a blank folder there seems to eliminate the error but that may just be glossing over the problem . . .
2. The second error that crops up is that this “make-installer” command requires a “.mkpg”. I can find the most recent mkpg in the 5.2.10 dmg download so after copying that and adding it to the source, I can build a new dmg.
3. The problem is that this new dmg (and installer therein) is in the old “mpkg” format and not the new “pkg” format as found in the current .11, .12 and .13 installers. Also, upon test-installing it says the installer will add “55.2” megabytes but after clicking Install it throws an error and can’t find anything to install. This may be due to the lack of a Contents folder . . . I tested the installer on a fresh OS X El Capitan as well . . . no dice.
Questions:
1. Is there an updated workflow for creating the pkg and not “mpkg” that I’m not aware of? This is not documented in the OS X build instructions or throughout the list archive so far as I can see.
2. Is there a way to get around the missing Contents folder error? A hunch tells me these may be connected.
3. Do I need to run this installation process on an older version of OS X? I’m not attempting to make this install backwards compatible.
Thank your for your time.
I apologize if this is redundant questioning. I could not find the information in the list archives.
all the best,
Walker Blackwell
R&D Vermont Photo Inkjet LLC.