Moved back to the SLUG list ....

On Fri, 2005-03-25 at 23:19 +1100, Elliott-Brennan wrote:
> Jan wrote
> 
> On Fri, 2005-03-25 at 19:31 +1100, Elliott-Brennan wrote:
> 
> >> 
> >> imagjpg.cpp:35:21: jconfig.h: No such file or directory
> >> 
> >> imagjpg.cpp:37:21: jpeglib.h: No such file or directory
> >> 
> >  
> >
> 
> Looks like you're missing the development packages for libjpeg. On
> debian/ubuntu, that'd be either libjpeg62-dev or libjpeg-mmx-dev
> 
> J.
> 
> 
> Hi Jan,
> 
> I had a look and found libjpeg-devel.i386, so installed that.
> 
> Now I have THIS problem (%)):
> 
> *************************************
> 
> 
> 
> sudo ./configure && make
> 
> checking for a BSD-compatible install... /usr/bin/install -c
> 
> checking whether build environment is sane... yes

*snip*

> g++ -DPACKAGE_NAME=\"DVDStyler\" -DPACKAGE_TARNAME=\"dvdstyler\" 
> -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"DVDStyler\ 1.0\" 
> -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" 
> -DPACKAGE=\"dvdstyler\" -DVERSION=\"1.0\"  -I. -I.     -g -O2  
> -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ 
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES   
> -DDATADIR=\"/usr/local/share/dvdstyler\" -c -o xml.o `test -f 'xml.cpp' 
> || echo './'`xml.cpp
> 
> xml.cpp:754: fatal error: opening dependency file .deps/xml.TPo: 
> Permission denied
> 
> *************************************************
> 
> Now, I can't locate a file name 'xml.TPo', but can locate one named 'xml.Po'
> 
> Any advice or assistance is, again, most appreciated.
> 

When you do 'sudo ./configure && make', you are executing _2_ commands,
separated by the && statement. Hence you're running "sudo ./configure"
and "make" - the first runs as root and creates a bunch of stuff, the
second runs as a normal user and _doesn't_ have root permission to write
to the directories created by configure.

J.
-- 
Jan Schmidt <[EMAIL PROTECTED]>

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to