Minor issue with ./configure script.
Opened this issue · 8 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
0. Do not have libmng-dev installed
1. ./configure
2. make
3. Observe that linking fails
What is the expected output? What do you see instead?
Error during ./configure explaining that libmng is required.
What version of the product are you using? On what operating system?
1.0, ubuntu linux 64-bit
Please provide any additional information below.
Not a big deal by any means. But it would help.
Original issue reported on code.google.com by omnipote...@gmail.com
on 23 Aug 2010 at 3:21
GoogleCodeExporter commented
IMHO, the bug report is wrong. The headers for "mng" aren't required
("libmng-dev" on Debian/Ubuntu), just the binaries ("libmng1"). If the "DevIL"
library is correctly installed, then the library "mng" has to be installed too,
and that's all hqx needs.
To sum it up, you just have to install "libdevil-dev" on Debian/Ubuntu and it
will take care of the dependencies.
Original comment by mytskine
on 20 Feb 2011 at 3:11
GoogleCodeExporter commented
That might be the case. I just took a wild stab at what was missing because I
didn't know for certain. Because ./configure didn't tell me. :)
If all that is needed is the DevIL library then it would be nice if ./configure
told me. ;)
Original comment by omnipote...@gmail.com
on 20 Feb 2011 at 5:53
GoogleCodeExporter commented
I also had to install libmng-dev after build failed. Installing libdevil-dev
does not automatically install libmng-dev on Ubuntu 11.04 32-bit. Only libmng1
is installed when libdevil-dev is installed. Build works after installing
libmng-dev.
Original comment by arclanc...@gmail.com
on 22 Aug 2011 at 6:15
GoogleCodeExporter commented
Sorry for the late reply. I'll look into updating the configure script.
Original comment by grom...@gmail.com
on 1 Dec 2011 at 11:06
GoogleCodeExporter commented
Original comment by grom...@gmail.com
on 1 Dec 2011 at 11:09
GoogleCodeExporter commented
I just did a fresh install of 11.04 32bit Ubuntu and was not able to reproduce
this error.
# sudo apt-get install autoconf libtool libdevil-dev
# mkdir m4
# autoreconf -vi
# ./configure
# make
@omnipotententity, what ubuntu version are you on? Configure already does tell
you that you need DevIL. In future I may provide a deb package for Ubuntu.
@arclanceSU. Can you provide more details. I never needed libmng-dev package.
Original comment by grom...@gmail.com
on 5 Dec 2011 at 3:40
GoogleCodeExporter commented
Here is how it happened as close as I can remember.
1. run ./configure
2. run make
3. make fails indicating a missing dependency (I don't think it said which one)
4. check if there is a related bug report
5. find this bug report
6. bug report identifies the problem (libmng-dev must be installed but was not
installed when following installation instructions)
7. install missing dependency
8. now it works
I can't give you anything more detailed than that, it has been four months and
I don't remember specific details anymore.
I have a question about your new installation in the last post.
Why are you doing this?
# mkdir m4
# autoreconf -vi
These lines are not in the readme (I assume mkdir m4 is making a directory to
build hqx in but I could be wrong).
Readme file lines I am talking about.
Install
-------
NOTE: DevIL library and development headers are required.
./configure
make && make install
For more information refer to INSTALL.
I have seen libdevil and libdevil-dev update a couple of times since I built
hqx, maybe this was caused by a bug in the libdevil-dev package that has since
been fixed?
Original comment by arclanc...@gmail.com
on 5 Dec 2011 at 4:06
GoogleCodeExporter commented
That is because I use autoconf/automake tools. So if you checkout from
subversion will need to generate the configure script. The tarball download
already has these steps done (using Ubuntu distro) and the INSTALL notes relate
to the tarball release. I have followed how I see most tarball releases done.
Yeah I thinking of marking this issue as won't fix. Because the distro should
take care of the dependencies of libdevil-dev. On my ubuntu 11.04 and 11.10
they both compile successfully without libmng-dev being installed. Additionally
DevIL can be compiled without MNG support. So having hqx depend on an optional
part of DevIL seems wrong to me.
Original comment by grom...@gmail.com
on 6 Dec 2011 at 12:08