On Mon, Oct 13, 2003 at 11:41:53PM -0000, Jonty Ray wrote:
> 2) Installed GLIB version 1.2.8. After I run tar xvf glib1.2.8*.tar it
> creates a folder for me.
> From that folder i run ./configure. (Shud i be root to tun this)
No.
> No Errors
> I do not see any make file there. so I cannot run make or "make install"
Well, it might not have reported an error, but if there's no Makefile,
there *was* an error of some sort, even if it wasn't reported as such.
We'd need to see the *entire* output of the configure script - and the
contents of the "config.log" file in the GLib source directory - to be
able to figure out what the problem is.
> 3) Then I untar libcap_2003.10.10. and run ./configure & Get error below:
> configure: error: DAG support only available with 'linux' 'bpf' and 'dag' packet capture types
That's a bug in recent CVS versions of libpcap. I've checked in a fix;
it's in the current CVS tree. It will probably not be in a "current tar
files" libpcap snapshot until the libpcap-2003.10.15 snapshot, which
will be on the tcpdump.org Web site on Wednesday.
> 4) Now when I untar the gtk and it creates a folder for me
> Run ./configure from that folder i get error that there is no makefile
> as follows:
>
...
> checking whether make is GNU Make... ./configure: make: not found
No, you get an error that there is no "make", not that there's no
Makefile.
You need either to have GNU Make installed, or you need to have your
path include /usr/ccs/bin.
That might also have been the problem with GLib, so after you've fixed
your path to include /usr/ccs/bin, try running configure in its
directory as well.
> and also error in the end regarding improper GLIB. as follows:
>
...
> checking for GLIB - version >= 1.2.8... ./configure: /scratch/users/ukoul/Ethereal/glib-1.2.8: cannot execute
> ./configure: /scratch/users/ukoul/Ethereal/glib-1.2.8: cannot execute
> ./configure: /scratch/users/ukoul/Ethereal/glib-1.2.8: cannot execute
> ./configure: /scratch/users/ukoul/Ethereal/glib-1.2.8: cannot execute
> ./configure: /scratch/users/ukoul/Ethereal/glib-1.2.8: cannot execute
> no
> *** Could not run GLIB test program, checking why...
> *** The test program failed to compile or link. See the file config.log for the
> *** exact error that occured. This usually means GLIB was incorrectly installed
> *** or that you have moved GLIB since it was installed. In the latter case, you
> *** may want to edit the glib-config script: /scratch/users/ukoul/Ethereal/glib-1.2.8
The error is probably not that there's an *improper* GLib, the error is
probably that there's *no* GLib, as you weren't able to configure it.
You *cannot* build GTK+ without GLib, so you'll have to get GLib built
and installed before you can even *try* to build GTK+.