On Sunday 15 May 2005 02:51 pm, Guillaume Laurent wrote:

> You wouldn't have the same kind of permissions on the original files in
> your source tree by any chance ? And you wouldn't have a non-standard umask
> ?

I guess if 0027 isn't standard, I do.  It looks like it's not Debian's 
default, and I configured it that way on purpose.

Come to think of it, I'm pretty sure I copied this bit of config out of my old 
Mandrake install.  Either that or it was inserted by a "tighten up your 
security" utility I ran.  Either way, it doesn't look like I wrote it myself, 
but it isn't part of either of the three more or less stock Debian installs I 
can look at from here.

> From what I've just checked, scons install files by copying them and
> duplicating the permission flags.

This seems like a fragile design to me.  I can't be the only person in the 
world who changed his umask.  That's what it's there for.  This has never 
been a problem in the past, and that's because the old fashioned build system 
uses an install -m to set the permissions for everything explicitly.

OK, this is useful.  I find/chmod'ed all the files to circumvent this brain 
damage, and:

sudo scons install
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: `install' is up to date.
scons: done building targets.

So now what, I touch everything or something?

Nope.  Hell. 

Well, crap.

$rm -rf rosegarden
$umask 0022
$cvs co rosegarden
$cd rosegarden
$scons
scons: Reading SConscript files ...
Checking for kde-config           :  kde-config was found
Checking for kde version          :  3.4.0
Checking for the qt library       :  qt was found as /usr
Checking for uic                  :  uic was found as /usr/bin/uic
Checking for moc                  :  moc was found as /usr/bin/moc
Checking for the qt includes      :  the qt headers were found 
in /usr/include/qt3/
Checking for the kde includes     :  the kde headers were found 
in /usr/include/kde/
Checking for pkg-config ... ok
Checking for alsa >= 1.0 ... ok
Checking for jack >= 0.77 ... ok
Checking for C header file ladspa.h... yes
Checking for lrdf_init() in C library lrdf... yes
Checking for liblo >= 0.7 ... ok
Checking for mad >= 0.10 ... ok
Checking for dssi >= 0.4 ... ok
Checking for xft >= 2.1.0 ... ok
scons: done reading SConscript files.
scons: Building targets ...
[...]
/usr/bin/moc -o gui/audiomanagerdialog.moc gui/audiomanagerdialog.h
g++ -I/usr/include/alsa -I/usr/local/include -I/usr/include/freetype2 
-I/usr/X11R6/include -DHAVE_ALSA -DHAVE_LIBJACK -DHAVE_LADSPA -DHAVE_LIBLO 
-DHAVE_LIBMAD -DHAVE_LIBLRDF -DQT_THREAD_SUPPORT -DVERSION=\"4-1.1_cvs\" 
-I/usr/include/kde/ -I/usr/include/qt3 -I/usr/include/alsa 
-I/usr/local/include -I/usr/include/freetype2 -I/usr/X11R6/include 
-DHAVE_ALSA -DHAVE_LIBJACK -DHAVE_LADSPA -DHAVE_LIBLO -DHAVE_LIBMAD 
-DHAVE_LIBLRDF -g3 -O0 -gstabs+3 -DNDEBUG -DNO_DEBUG -I/usr/include/alsa 
-I/usr/local/include -I/usr/local/include -I/usr/include/freetype2 
-I/usr/X11R6/include -I/usr/X11R6/include/X11/Xft -Ibase -Isound -I. -Igui -c 
-o gui/audiomanagerdialog.o gui/audiomanagerdialog.cpp
In file included from gui/rosegardenguidoc.h:36,
                 from gui/audiomanagerdialog.h:28,
                 from gui/audiomanagerdialog.cpp:44:
gui/rosegardengui.h:25:20: config.h: No such file or directory
gui/audiomanagerdialog.cpp: In member function `void
   Rosegarden::AudioManagerDialog::slotRename()':
gui/audiomanagerdialog.cpp:899: warning: `getText' is deprecated (declared at
   /usr/include/kde/klineeditdlg.h:98)
gui/audiomanagerdialog.cpp: In member function `bool
   Rosegarden::AudioManagerDialog::addFile(const KURL&)':
gui/audiomanagerdialog.cpp:1095: warning: `download' is deprecated (declared 
at
   /usr/include/kde/kio/netaccess.h:121)
scons: *** [gui/audiomanagerdialog.o] Error 1
scons: building terminated because of errors.


-- 
Michael McIntyre  ----   Silvan <[EMAIL PROTECTED]>
Linux fanatic, and certified Geek;  registered Linux user #243621
http://www.geocities.com/Paris/Rue/5407/
http://rosegarden.sourceforge.net/tutorial/


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to