Hi Harry,

Harry van der Wolf schrieb am 03.08.12 10:25:

2012/8/2 Carl von Einem <[email protected] <mailto:[email protected]>>

    Bruno Postle schrieb am 02.08.12 14:14:

        On 2 Aug 2012 00:13, "Carl von Einem" <[email protected]
        <mailto:[email protected]>
        <mailto:[email protected] <mailto:[email protected]>>> wrote:
         >
         > And trying to save a test "camera" via "Save camera to
        database" I
        get an error (translated by me as follows)
         > "directory '/Users/carl/.local/share/__lensfun' could not be
        created.
         >   (error 2: no such file or directory)"
         > Mac OS X (10.6.8 here at the moment) has a /usr/local/share/
        directory, so this seems to be a wrong path on Mac, right?

        /usr/local/share or /usr/share would be where the database installed
        with lensfun would go. Your 'personal' database would be in this
        .local/share folder.

        Hugin ought to create the folder if it doesn't already exist.

    Thanks, Bruno, than that seems to be a bug... I'll look into it this
    evening and file a bug report with some more details.

We might have an issue here which I completely overlooked.

/usr/local is a linux like folder structure normally not on Mac OS X. If
you build programs that are ported from linux, the latest step is always
the "sudo make install" and the install defaults to /usr/local. As I
have done this many times to check & build software,  I have a complete
/usr/local folder structure on my Apple created under the sudo command.

When hugin tries to create the /usr/local/<etcetera> folder structure it
does need sudo rights. Normally you never execute Hugin with sudo rights
of course and that's where I think the error comes from.
I can rework the official installer to make sure this folder structure
is created but that will not work for the current beta1 which is not an
installer. Of course I can make an installer based on the beta1 and that
one should do it as the installer uses "Administrator" rights, like it
is called on OSX.
I'll try to do that in the coming two days. I'm not much at home these days.

Not sure if this is part of the problem: I'm one of those rare Mac users who sport the habit to log in as a standard user, i.e. without admin rights.

Btw do you know about the Panotools meeting in Den Haag in September? Are you in the area?

Carl

--
You received this message because you are subscribed to the Google Groups "Hugin and 
other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to