Wednesday 12 September 2012

Building from source

I began last night picking 2 GNU packages to build, and ran into tons of problems because of missing packages. Here are some of the errors I ran into.

Error 1 : [From package gnufdisk]
configure: error: GNU Fdisk headers are missing, install headers and try again.
configure: error: ./configure failed for backend
Error 2: [From package icecat]
 configure: error: Library requirements (gtk+-2.0 >= 2.10.0 gtk+-unix-print-2.0 glib-2.0 gobject-2.0 gdk-x11-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.

Error 3: [from package complexity]
./configure: line 11685: autoopts-config: command not found
configure: error: libopts was not found
I finally got 2 packages to properly configure, and make and run from binary. I built gzip, and inetutils. Both hyperlinks are my compiled applications, and for inetutils i only uploaded, ifconfig.

The thing that i noted was that the configure time was the longest. But its what makes me LIKE the build process more, because of how it checks everything that is required to run before actually attempting to compile.

Sample program outputs: gzip, inetutils

No comments:

Post a Comment