Re: probelm about install



> From: Jiangbo Broadie Gan <jgan924 cse unsw EDU AU>
> Date: Fri, 13 Apr 2001 18:34:10 +1000 (EST)
> X-Sender: jgan924 moog02 orchestra cse unsw EDU AU
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> Sender: gtk-list-admin gnome org
> X-BeenThere: gtk-list gnome org
> X-Loop: gtk-list gnome org
> X-Mailman-Version: 2.0beta5
> Precedence: bulk
> List-Id: General discussion of GTK+ <gtk-list.gnome.org>
> Content-Length: 1724
> 
> 
> 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. 

When running configure for both glib and gtk use --prefix=dir

where dir is a subdirectory in your account.

Try: ./configure --help
to see all the options.

Dave




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