Problem installing under MacOSX

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem installing under MacOSX

Iain Wood
Hi,

I'm trying to install digikam on my intel macbook running 10.6.8 using macports. I did "sudo port install digikam" and after a day of waiting and watching the dependancies install I get this:
 
--->  Computing dependencies for digikam
--->  Building digikam
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for digikam is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/digikam/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

The last part of main.log contains this:

:info:build [ 81%] Built target digikamimageplugin_enhance
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/digikam/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/digikam/work/build'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/digikam/work/build" && /usr/bin/make -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for digikam): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for digikam is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/digikam/main.log

The problem appears to be with the command "/usr/bin/make -j2 -w all" Running this from the command line also fails...

Any idea what is going wrong and what I can try next?

Iain
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing under MacOSX

Gilles Caulier-4
2011/12/13 Iain Wood <[hidden email]>:

> Hi,
>
> I'm trying to install digikam on my intel macbook running 10.6.8 using macports. I did "sudo port install digikam" and after a day of waiting and watching the dependancies install I get this:
>
> --->  Computing dependencies for digikam
> --->  Building digikam
> Error: Target org.macports.build returned: shell command failed (see log for details)
> Log for digikam is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/digikam/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
>
> The last part of main.log contains this:
>
> :info:build [ 81%] Built target digikamimageplugin_enhance
> :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/digikam/work/build'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/digikam/work/build'
> :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/digikam/work/build" && /usr/bin/make -j2 -w all " returned error 2
> :error:build Target org.macports.build returned: shell command failed (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
>    while executing
> "command_exec build"
>    (procedure "portbuild::build_main" line 8)
>    invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for digikam): org.macports.activate org.macports.build org.macports.destroot org.macports.install
> :notice:build Log for digikam is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_digikam/digikam/main.log
>
> The problem appears to be with the command "/usr/bin/make -j2 -w all" Running this from the command line also fails...
>
> Any idea what is going wrong and what I can try next?

yes. uninstall your whole macport (it's important), and re-install it
(look into macport documentation to uninstall).

After that, look my procedure here :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/README.MACOSX

Look like i don't use official digiKam macport package. By this way,
you will use the current implementation from git/master repository
(next 2.5.0)

Let's me hear if you have some problem with it.

Note : i compile digiKam like this under my macbook and also under a
virtualbox running macosx...

Best

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing under MacOSX

Iain Wood

On 14 Dec 2011, at 00:02, Gilles Caulier wrote:

> 2011/12/13 Iain Wood <[hidden email]>:
>>
>> Any idea what is going wrong and what I can try next?
>
> yes. uninstall your whole macport (it's important), and re-install it
> (look into macport documentation to uninstall).
>

Thanks for the quick reply. Is there any way to clean up my macport rather than uninstall it? I have a lot of things in there and an unreliable internet connection. It could take days to reinstall it all :-)

Iain

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing under MacOSX

Gilles Caulier-4
No idea exactly, but look here :

http://guide.macports.org/#installing.macports.uninstalling

perhaps first command is enough

Gilles Caulier

2011/12/13 Iain Wood <[hidden email]>:

>
> On 14 Dec 2011, at 00:02, Gilles Caulier wrote:
>
>> 2011/12/13 Iain Wood <[hidden email]>:
>>>
>>> Any idea what is going wrong and what I can try next?
>>
>> yes. uninstall your whole macport (it's important), and re-install it
>> (look into macport documentation to uninstall).
>>
>
> Thanks for the quick reply. Is there any way to clean up my macport rather than uninstall it? I have a lot of things in there and an unreliable internet connection. It could take days to reinstall it all :-)
>
> Iain
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing under MacOSX

Iain Wood
In reply to this post by Gilles Caulier-4

On 14 Dec 2011, at 00:02, Gilles Caulier wrote:

yes. uninstall your whole macport (it's important), and re-install it
(look into macport documentation to uninstall).

After that, look my procedure here :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/README.MACOSX

Look like i don't use official digiKam macport package. By this way,
you will use the current implementation from git/master repository
(next 2.5.0)

Let's me hear if you have some problem with it.

I have uninstalled macports and started again following your procedure as you suggested. Now I get trouble with the make command for digikam:

[ 72%] Building CXX object core/digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/imagehistory/imagehistorygraphmodel.cpp.o
.
.
.
/Users/iain/Code/digikam-sc/core/libs/database/imagehistory/imagehistorygraphmodel.cpp:310:   instantiated from here
/opt/local/include/boost/property_map/property_map.hpp:354: error: no match for ‘operator[]’ in ‘(const boost::ref_property_map<boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, int>&)((const boost::ref_property_map<boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, int>*)(& pa))[k]’
/opt/local/include/boost/property_map/property_map.hpp:575: note: candidates are: ValueType& boost::ref_property_map<KeyType, ValueType>::operator[](const KeyType&) const [with KeyType = boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>, ValueType = int]
make[2]: *** [core/digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/imagehistory/imagehistorygraphmodel.cpp.o] Error 1
make[1]: *** [core/digikam/CMakeFiles/digikamdatabase.dir/all] Error 2
make: *** [all] Error 2

Any idea what I should try next?

Iain



_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem installing under MacOSX

Gilles Caulier-4
Well, there is a problem, not yet fixed, with boost library :

https://bugs.kde.org/show_bug.cgi?id=287772

Typically, digiKam code need to be fixed to compile fine. Marcel is
currently working on.

Gilles Caulier

2011/12/14 Iain Wood <[hidden email]>:

>
> On 14 Dec 2011, at 00:02, Gilles Caulier wrote:
>
> yes. uninstall your whole macport (it's important), and re-install it
> (look into macport documentation to uninstall).
>
> After that, look my procedure here :
>
> https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/README.MACOSX
>
> Look like i don't use official digiKam macport package. By this way,
> you will use the current implementation from git/master repository
> (next 2.5.0)
>
> Let's me hear if you have some problem with it.
>
>
> I have uninstalled macports and started again following your procedure as
> you suggested. Now I get trouble with the make command for digikam:
>
> [ 72%] Building CXX object
> core/digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/imagehistory/imagehistorygraphmodel.cpp.o
> .
> .
> .
> /Users/iain/Code/digikam-sc/core/libs/database/imagehistory/imagehistorygraphmodel.cpp:310:
>   instantiated from here
> /opt/local/include/boost/property_map/property_map.hpp:354: error: no match
> for ‘operator[]’ in ‘(const
> boost::ref_property_map<boost::detail::edge_desc_impl<boost::bidirectional_tag,
> long unsigned int>, int>&)((const
> boost::ref_property_map<boost::detail::edge_desc_impl<boost::bidirectional_tag,
> long unsigned int>, int>*)(& pa))[k]’
> /opt/local/include/boost/property_map/property_map.hpp:575: note: candidates
> are: ValueType& boost::ref_property_map<KeyType,
> ValueType>::operator[](const KeyType&) const [with KeyType =
> boost::detail::edge_desc_impl<boost::bidirectional_tag, long unsigned int>,
> ValueType = int]
> make[2]: ***
> [core/digikam/CMakeFiles/digikamdatabase.dir/__/libs/database/imagehistory/imagehistorygraphmodel.cpp.o]
> Error 1
> make[1]: *** [core/digikam/CMakeFiles/digikamdatabase.dir/all] Error 2
> make: *** [all] Error 2
>
> Any idea what I should try next?
>
> Iain
>
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users