Re: [AD] MacOS X dynamic linking and enduser package |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
About the package generation, mkpkg.sh needs root priviledges;
I hope this is not a problem with the compile farm...
Getting root priviledges on a shared system... can't you use fakeroot
or similar trickery?
Just reexamined the script source and removed the need to run it as
root. It was requiring it due to some old "sudo" calls which I thought
were needed, but the script still works after I removed them.
[...]
Creating compressed disk image
.......................................................................
.......................................................................
..........................
created: temp.dmg
Initialized /dev/rdisk1 as a 4 MB HFS Plus volume
hdiutil: detach: "disk1" detached successfully.
hdid: mounting "temp.dmg" failed: no mountable file systems.
cp: missing destination file
Try `cp --help' for more information.
reading ./misc/pkgreadme._tx
writing /readme.txt
Error writing ASCII output file
[...]
After spending some time examining the problem, I found a possible
answer in the hdid man page:
If you get the error "no mountable filesystems" and you
believe that
the image does contain mountable filesystems, you may be running
into a
problem common when remotely logged in to a machine with no one
logged
in on console. diskarbitrationd won't mount removable media
until the
SystemUIServer process is running for the console user (in a
managed
environment, it controls what can be mounted). On a
non-managed sys-
tem, the boolean AutomountDisksWithoutUserLogin can be safely
set in
/Library/Preferences/SystemConfiguration/com.apple.DiskArbitra-
tion.diskarbitrationd.plist. You can also manually mount
filesystems
in the image after attaching the image with -nomount.
So I've changed the script a bit and applied changes to CVS. Now it
should work remotely... let me know if the problem persists!
--
Angelo Mottola
a.mottola@xxxxxxxxxx