[e-users] Opensuse: errors during make install

2008-09-13 Thread batden
Hi,

I'm running OpenSUSE 11.0 with the latest E17 environment from svn.
I get this error during make install:

( ...make[2]: Entering directory `/home/dazibaldo/e/trunk/edje_editor/data'
make[3]: Entering directory `/home/dazibaldo/e/trunk/edje_editor/data'
make[3]: Nothing to be done for `install-exec-am'.)
test -z /usr/local/share/applications || /bin/mkdir -p 
/usr/local/share/applications
/bin/mkdir: cannot create directory `/usr/local/share/applications': 
File exists
make[3]: *** [install-desktopDATA] Error 1
make[3]: Leaving directory `/home/dazibaldo/e/trunk/edje_editor/data'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/dazibaldo/e/trunk/edje_editor/data'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/dazibaldo/e/trunk/edje_editor/data'
make: *** [install-recursive] Error

Same error with emphasis, entrance_edit_gui and eyesight (all other 
programs are ok).
Now, these apps build fine on Ubuntu Hardy Heron...

Any hints from openSUSErs ?


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Opensuse: errors during make install

2008-09-13 Thread Alan McKinnon
On Saturday 13 September 2008 09:46:38 batden wrote:
 Hi,

 I'm running OpenSUSE 11.0 with the latest E17 environment from svn.
 I get this error during make install:

 ( ...make[2]: Entering directory `/home/dazibaldo/e/trunk/edje_editor/data'
 make[3]: Entering directory `/home/dazibaldo/e/trunk/edje_editor/data'
 make[3]: Nothing to be done for `install-exec-am'.)
 test -z /usr/local/share/applications || /bin/mkdir -p
 /usr/local/share/applications
 /bin/mkdir: cannot create directory `/usr/local/share/applications':
 File exists

This is in the install phase. Are you running 'make install' as root? Non-root 
users probably cannot create that directory, in which case I would say the 
error message is misleading. The mkdir should not fail as it is preceded with 
a check to see if the directory exists. Plus, mkdir behaviour is mandated to 
NOT fail on existing directories with -p.

Before I start to blame the distro, please first check man mkdir on your 
system to see if OpenSUSE's mkdir says anything about this. Then check the 
permissions on each directory in the /usr/local/share/applications chain. Is 
the filesystem the directory is on mounted ro perhaps?

Finally, are you using SELinux or AppArmour or any other access control 
mechanism that can prevent even root from creating a directory?


-- 
alan dot mckinnon at gmail dot com

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Opensuse: errors during make install

2008-09-13 Thread batden
Alan McKinnon a écrit :
 On Saturday 13 September 2008 09:46:38 batden wrote:
   
 Hi,

 I'm running OpenSUSE 11.0 with the latest E17 environment from svn.
 I get this error during make install:

 ( ...make[2]: Entering directory `/home/dazibaldo/e/trunk/edje_editor/data'
 make[3]: Entering directory `/home/dazibaldo/e/trunk/edje_editor/data'
 make[3]: Nothing to be done for `install-exec-am'.)
 test -z /usr/local/share/applications || /bin/mkdir -p
 /usr/local/share/applications
 /bin/mkdir: cannot create directory `/usr/local/share/applications':
 File exists
 

 This is in the install phase. Are you running 'make install' as root? 
 Non-root 
 users probably cannot create that directory, in which case I would say the 
 error message is misleading. The mkdir should not fail as it is preceded with 
 a check to see if the directory exists. Plus, mkdir behaviour is mandated to 
 NOT fail on existing directories with -p.

 Before I start to blame the distro, please first check man mkdir on your 
 system to see if OpenSUSE's mkdir says anything about this. Then check the 
 permissions on each directory in the /usr/local/share/applications chain. Is 
 the filesystem the directory is on mounted ro perhaps?

 Finally, are you using SELinux or AppArmour or any other access control 
 mechanism that can prevent even root from creating a directory?


   
Thank you for your answer.

I use the common sequence './autogen.sh  make  sudo make install'
for installing applications.
I checked the permissions, everything's ok.
Never messed with SElinux or AppArmour...
For some unknown reasons, /bin/mkdir seems to ignore the '-p' argument.
This problem is limited to edje_editor, eyesight, emphasis and
entrance_edit_gui, everything else builds flawlessly. :-\





-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] Opensuse: errors during make install

2008-09-13 Thread Alan McKinnon
On Saturday 13 September 2008 16:58:22 batden wrote:
 Thank you for your answer.

 I use the common sequence './autogen.sh  make  sudo make install'
 for installing applications.
 I checked the permissions, everything's ok.
 Never messed with SElinux or AppArmour...
 For some unknown reasons, /bin/mkdir seems to ignore the '-p' argument.
 This problem is limited to edje_editor, eyesight, emphasis and
 entrance_edit_gui, everything else builds flawlessly. :-\

You seem to have done everything right, I can't see any sensible reason why 
those builds are failing. Maybe a process of elimination is called for. What 
happens if you:

mkdir -p /usr/local/share/applications/
mkdir -p /usr/share/applications/
./autogen.sh --prefix=/usr

-- 
alan dot mckinnon at gmail dot com

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users