dskvr / opkg

Automatically exported from code.google.com/p/opkg
0 stars 0 forks source link

libopkg/config.h included in the .tar.gz gets in the way during the out-of-tree build #83

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download opkg-0.1.8.tar.gz.
2. Unpack && cd opkg-0.1.8 && mkdir build && cd build.
3. Look into ../libopkg/config.h and see what options are enabled. For example, 
there's a #define HAVE_CURL 1, let's remember that.
4. ../configure --disable-curl
5. Look into $(builddir)/libopkg/config.h - ok, HAVE_CURL is commented out.
6. Try to make, but...
7. ...here's an error:
../../libopkg/opkg_download.c:35:23: fatal error: curl/curl.h: No such file or 
directory

What is the expected output? What do you see instead?
Expected $(builddir)/libopkg/config.h to be used during the compilation. 
Unfortunately, the one from the source dir came first.

What version of the product are you using? On what operating system?
opkg 0.1.8, Linux Mint Debian Edition.

Please provide any additional information below.
1. After I manually removed the "wrong" config.h, everything went alright.
2. This does happen only during the out-of-tree builds.

Original issue reported on code.google.com by paintitg...@gmail.com on 3 Oct 2011 at 9:49

GoogleCodeExporter commented 8 years ago
Confirmed. The config.h file should not be included in the released tarball(s). 
This will not be fixed however, as it would require regenerating the existing 
release tarballs. The svn repository does not include a config.h.

Original comment by graham.g...@gmail.com on 11 Oct 2011 at 11:06