probelm about install



Hi,

I am a student in University of New South Wales, Australia. For my
assignment on OO software design. I downloaded GTK+ version 1.2.8 & GLIB.  

when I follow the procedure:

% gzip -cd glib-1.2.8.tar.gz | tar xvf -  # unpack the sources
  % cd glib-1.2.8                           # change to the toplevel
directory
  % ./configure                             # run the `configure' script
  % make                                    # build GLIB
  [ Become root if necessary ]
  % make install                            # install GLIB

The below error occured: 

% make install
Making install in .
make[1]: Entering directory `/tmp_amd/glass/import/1/jgan924/glib-1.2.8'
make[2]: Entering directory `/tmp_amd/glass/import/1/jgan924/glib-1.2.8'
/bin/sh ./mkinstalldirs /usr/local/lib
/bin/sh ./libtool  --mode=install ./install-sh -c libglib.la
/usr/local/lib/libglib.la
./install-sh -c .libs/libglib-1.2.so.0.0.8
/usr/local/lib/libglib-1.2.so.0.0.8
cp: cannot create /usr/local/lib/#inst.8923#: Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 2
make[2]: Leaving directory `/tmp_amd/glass/import/1/jgan924/glib-1.2.8'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp_amd/glass/import/1/jgan924/glib-1.2.8'
make: *** [install-recursive] Error 1
 
Of course I can not install GTK+ (version 1.2.8), sice the above occured.

I know the reason is that I do not have permission to access the directory
/usr/local/lib/

I only can make a directory under my account name. 

How can I use GTK+ for C++ on UNIX system (sun solaris)?

Regards,

Broadie Gan 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]