Install Questions

Tim Frost timfrost at xtra.co.nz
Wed Nov 30 23:09:16 UTC 2005


On Tue, 2005-11-29 at 21:46 -0600, Wade Smart wrote:
> 11292005 2141 GMT-5
> 
> This is from the INSTALL file:
> 1. ./configure

when I ran configure, it crashed:
        creating libtool
        checking for pkg-config... /usr/bin/pkg-config
        checking for libgnomeui-2.0 gtk+-2.0 libglade-2.0... tim at marvin:~/src/gruler-0.6$ echo $?
        1
        tim at marvin:~/src/gruler-0.6$ tail config.log
        #define PACKAGE "gruler"
        #define PACKAGE_BUGREPORT ""
        #define PACKAGE_NAME ""
        #define PACKAGE_STRING ""
        #define PACKAGE_TARNAME ""
        #define PACKAGE_VERSION ""
        #define STDC_HEADERS 1
        #define VERSION "0.6"
        
        configure: exit 1
        
        
This indicates that some dependent development packages are missing from
the build machine.  I confirmed that libgnomeui-dev was missing.
Selecting that in synaptic, then checking the marked changes, tells me
that 54 packages need to be installed.  The necessity to install
development packages is consistent with the way software is packaged,
with the development libraries separated from the production binary
package.

The INSTALL and README files do NOT tell you what development libraries
are needed, and because this is not a debian/ubuntu source, there is no
way to know what build dependencies must be met.


However, after installing libgnomeui-dev and the other 53 files, the
configure finishes by creating the makefiles:

        configure: creating ./config.status
        config.status: creating Makefile
        config.status: creating intl/Makefile
        config.status: creating po/Makefile.in
        config.status: creating macros/Makefile
        config.status: creating include/Makefile
        config.status: creating src/Makefile
        config.status: creating pixmaps/Makefile
        config.status: creating gruler.desktop
        config.status: creating config.h
        config.status: executing depfiles commands
        config.status: executing default-1 commands
        config.status: creating po/POTFILES
        config.status: creating po/Makefile

And the make was successful


> 2. 'make' to compile
> 3. Optionally, 'make check'
> 4. make install
For this step you need to be root.  The advice to use checkinstall is
good, as it creates a .deb that can be managed using apt.  checkinstall
is in universe, so you need to enable that repository.


Your choices are:
1: Just do the install:
  sudo make install
2: use checkinstall to build a .deb package, and install that:
  sudo checkinstall


> 5. you can remove the binaries.
> 
> Thats pretty much it.
> I have two files titled Makefile.am and Makefile.in. I dont know if that 
> helps.
> 
> There is a thread running about frustruation with linux, if there is any 
> one thing that is totally frustrating is this: installing software.
> 
> I installed this on 5.04 and considering I dont know what Im doing, I 
> got it running. HOW did I do that?

I would guess that you had all the development tools and packages
installed.
> 
> Thanks for your help Federico.
> 
> Wade
> 


Tim





More information about the ubuntu-users mailing list