New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not compile on Amazon Linux 64b #48
Comments
Hi, sorry for the delay in responding. You can make this a bit simpler: get the sources from git and make a distribution tarball on your development machine, then configure and build that on your production machine. git sources -> dev tarball needs quite a few packages, such as swig and gobject-introspection and automake, which are not required for the final configure. So I'd do this on my development machine: download snapshot from github, patch as required
./bootstrap
./configure --enable-gtk-doc
make
make dist This will make a distribution tarball. This tarball can configure and build with only run-time dependencies required. For example, no need for swig, since that's run for you at dis build time. Now on your amazon instance: tar xf vips-7.31.0.tar.gz
cd vips-7.31.0
./configure --prefix=/home/me/vips
make
make install And that should work with no development dependencies. |
Thanks for your help again, |
There's an updated dev tarball here: http://www.vips.ecs.soton.ac.uk/development/vips-7.31.0.tar.gz it might help this problem. |
Closing this issue, it seems to be fixed. Please reopen if there's still a problem. |
I am having the exact same issue on Amazon Linux AMI release 2014.03. For the tarball at http://www.vips.ecs.soton.ac.uk/supported/current/vips-7.40.2.tar.gz, output of
At a minimum, glib-2.0 is on the system. I assume there are some path issues, but I cannot figure out what. |
Well, that turned out to be embarrassingly easy... glib-2.0 was on the system but glib2-devel was not. Installing it and libxml2-devel fixed the issue.
|
This time I will document everything I do while trying to get VIPS compiled on Amazon AWS EC2 instance running Amazon Linux updated to the latest version (I believe that is 2012.09):
After git clone, from libvips directory:
ok, aclocal and gtkdocize missing, aclocal is i think provided by automake:
$ sudo yum install automake gtk-doc
then:I need SWIG!
sudo yum install swig
also it has some issues with libtoolize, let's get it libtoolsudo yum install libtool-ltdl-devel libtool
thenok, now let's try to configure (to /lib and /bin) :
And now I am trying to install
gobject-introspection
, I haven't found it in repositories, so I am trying to compile it from source. It keeps telling me that Glib on the system is too old, so I compiled latest glib from source with prefix='', then ldconfig and tried configuringgobject-introspection
again, but it still doesn't register the newly compiled Glib and keeps telling me thatRequested 'glib-2.0 >= 2.29.7' but version of GLib is 2.22.5
. Restarted the instance and now am recompiling glib again after Isudo yum remove glib-devel
(it didn't let me uninstall glib, when I tried it tried to remove yum)Now for a change
No package 'glib-2.0' found
, even though I have just compiled it, restarting the system again...The text was updated successfully, but these errors were encountered: