Re: IM on a USB stick
Posted: 2008-10-19T16:14:09-07:00
I am not certain how you woul ddo this for windows, but I am certain it would be similar.
Under UNIX I can set up something like this.
You would configure and install Im into a particular location
for example....
However to run from this location, especially if a system install of IM is also present I would need to ensure that the binaries (PATH environment variable) and libraries (LD_LIBRARY_PATH under LINUX,
DYLD_LIBRARY_PATH for MacOSX) are also set.
I have not done so, but there is a script in the source area called "magick.sh" which is designed to allow you to run an IM command from the built but un-installed binaries for testing purposes. I use it all the time during testing of new additions to IM. This script could be modified to make a 'all-in-one' directory install, work very well.
How big it is? Depends on the number of coders and extra libraries needed. You can always delete all the coders for image formats you don't need, but keep them safe to put back if you later find you do need that coder. You can also remove the french (or english, or both) error config files, and cut back on the color specification files too if you need to.
Will it fit on a USB? not sure.
However if you USB stick mount moves around you may also have other problems, which would make the launch script essential.
Perhaps someone would like to expand on the above and work out a guide to publish here or for on the website.
Under UNIX I can set up something like this.
You would configure and install Im into a particular location
for example....
Code: Select all
rm config.status config.log
nice ./configure --prefix=$HOME/apps/im --disable-static --with-modules --without-perl --without-magick-plus-plus
make clean
make all
rm -r ~/apps/im; make install
DYLD_LIBRARY_PATH for MacOSX) are also set.
I have not done so, but there is a script in the source area called "magick.sh" which is designed to allow you to run an IM command from the built but un-installed binaries for testing purposes. I use it all the time during testing of new additions to IM. This script could be modified to make a 'all-in-one' directory install, work very well.
How big it is? Depends on the number of coders and extra libraries needed. You can always delete all the coders for image formats you don't need, but keep them safe to put back if you later find you do need that coder. You can also remove the french (or english, or both) error config files, and cut back on the color specification files too if you need to.
Will it fit on a USB? not sure.
However if you USB stick mount moves around you may also have other problems, which would make the launch script essential.
Perhaps someone would like to expand on the above and work out a guide to publish here or for on the website.