Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autopano-sift, enblend, hugin-cvs, panorama-tools[ebuilds]
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Sun Nov 14, 2004 5:09 pm    Post subject: autopano-sift, enblend, hugin-cvs, panorama-tools[ebuilds] Reply with quote

I created the following ebuilds to complete my graphic tools:

autopano-sift-2.0
enblend-2.0
hugin-cvs-0.1

the package includes is also an improved version of the panorama-tools.

You can download the ebuilds from: www.hotheads.de/linux/ebuilds/media-gfx/stitcher-suite.tar.bz2

Extract it in to your PORTDIR_OVERLAY/media-gfx, emerge them and happy stitching.

Ruben
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
seddes
n00b
n00b


Joined: 21 Nov 2004
Posts: 12

PostPosted: Sun Nov 21, 2004 2:34 pm    Post subject: Reply with quote

Hi,
Thanks for puttings these ebuilds together. It looks like panorama-tools ebuild doesn't work. This is the error I get:

>>> Downloading http://bugbear.blackfish.org.uk/~bruno/apt/redhat/9/en/i386/SRPMS.panorama/panorama-tools-2.6bml12-2.src.rpm
--07:28:58-- http://bugbear.blackfish.org.uk/%7Ebruno/apt/redhat/9/en/i386/SRPMS.panorama/panorama-tools-2.6bml12-2.src.rpm
=> `/usr/portage/distfiles/panorama-tools-2.6bml12-2.src.rpm'
Resolving bugbear.blackfish.org.uk... 82.133.7.245
Connecting to bugbear.blackfish.org.uk[82.133.7.245]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
07:29:03 ERROR 404: Not Found.

I poked around, and don't see a panorama-tools anywhere. Any ideas? Thanks, Doug
Back to top
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Sun Nov 21, 2004 4:44 pm    Post subject: Reply with quote

You are right, the needed src.rpm is gone.

For a quick solution you can put the src.rpm I have uploaded for you in the distfiles directory!

www.hotheads.de/linux/distfiles/panorama-tools-2.6bml12-2.src.rpm

I'm happy to see that there is someone who is interested in these ebuilds. :D

Ruben
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
bens
n00b
n00b


Joined: 03 Mar 2004
Posts: 37
Location: MIT

PostPosted: Sat Nov 27, 2004 8:45 pm    Post subject: CVS fails Reply with quote

Code:
bash-2.05b# emerge hugin-cvs
Calculating dependencies  ...done!
>>> emerge (1 of 1) media-gfx/hugin-cvs-0.2 to /
>>> Unpacking source...
 * Fetching CVS module hugin into /usr/portage/distfiles/cvs-src/hugin ...
 * Running  cvs -q -f -z3 -d ":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/hugin" login
Logging in to :pserver:anonymous@cvs.sourceforge.net:2401/cvsroot/hugin
 * Running  cvs -q -f -z3 -d ":pserver:anonymous@cvs.sourceforge.net:/cvsroot/hugin" update -dP hugin
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
P hugin/AUTHORS
cvs update: cannot rewrite CVS/Entries.Backup: Permission denied
cvs [update aborted]: cannot open .new.AUTHORS: Permission denied

!!! ERROR: media-gfx/hugin-cvs-0.2 failed.
!!! Function cvs_fetch, Line 343, Exitcode 1
!!! cvs update command failed
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Sun Nov 28, 2004 1:46 pm    Post subject: Reply with quote

check the permissions of /usr/portage/distfiles/cvs-src/hugin.
-> maybe you delete the directory and ty emerging once more.

ruben
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
bens
n00b
n00b


Joined: 03 Mar 2004
Posts: 37
Location: MIT

PostPosted: Thu Dec 02, 2004 1:03 pm    Post subject: Worked Reply with quote

I deleted the directory, and it worked.
Thanks,
Ben
Back to top
View user's profile Send private message
bens
n00b
n00b


Joined: 03 Mar 2004
Posts: 37
Location: MIT

PostPosted: Thu Dec 02, 2004 1:25 pm    Post subject: Dependencies Reply with quote

You have a dependency on "x11-libs/gtk-sharp", a nonexistent package, in autopano-sift.

The correct dependency is dev-dotnet/gtk-sharp
Back to top
View user's profile Send private message
bens
n00b
n00b


Joined: 03 Mar 2004
Posts: 37
Location: MIT

PostPosted: Thu Dec 02, 2004 2:54 pm    Post subject: autopano-sfft error Reply with quote

First off, I think something's wrong with my portage configuration, because it doesn't attempt to install any of hugin-cvs's dependencies, even though an emerge -e confirms their presence (and fails because one is masked).
These dependencies are definitely not installed on my machine, as confirmed by emerge -pc.

Having said that, autopano-sift fails:
Code:
bash-2.05b# emerge autopano-sift
Calculating dependencies  ...done!
>>> emerge (1 of 1) media-gfx/autopano-sift-2.0 to /
>>> md5 src_uri ;-) autopano-sift-2.0.tar.gz
>>> Unpacking source...
>>> Unpacking autopano-sift-2.0.tar.gz to /var/tmp/portage/autopano-sift-2.0/wor
k
>>> Source unpacked.
mcs /debug /unsafe /target:library /out:libsift.dll \
        ImageMap.cs KDTree.cs ScaleSpace.cs SimpleMatrix.cs ImageMatchModel.cs R
ANSAC.cs Transform.cs LoweDetector.cs GaussianConvolution.cs KeypointXML.cs Matc
hKeys.cs BondBall.cs AreaFilter.cs /pkg:gtk-sharp /r:System.Drawing /r:ICSharpCo
de.SharpZipLib
Compilation succeeded
make  -C util all
make[1]: Entering directory `/var/tmp/portage/autopano-sift-2.0/work/autopano-si
ft-2.0/src/util'
mcs /debug /unsafe /out:autopano.exe Autopano.cs \
        /r:../libsift.dll /r:System.Drawing /define:USING_GTK /pkg:gtk-sharp /pk
g:glade-sharp
Compilation succeeded
mcs /debug /unsafe /out:showone.exe ShowOne.cs DrawingPrimitives.cs BasicImaging
Interface.cs GUIImage.cs /r:../libsift.dll /r:System.Drawing /define:USING_GTK /
pkg:gtk-sharp /pkg:glade-sharp
Compilation succeeded
mcs /debug /unsafe /out:showtwo.exe ShowTwo.cs DrawingPrimitives.cs BasicImaging
Interface.cs GUIImage.cs /r:../libsift.dll /r:System.Drawing /define:USING_GTK /
pkg:gtk-sharp /pkg:glade-sharp
Compilation succeeded
mcs /debug /unsafe /out:generatekeys.exe GenerateKeys.cs \
        DrawingPrimitives.cs BasicImagingInterface.cs GUIImage.cs /r:../libsift.
dll /r:System.Drawing /define:USING_GTK /pkg:gtk-sharp /pkg:glade-sharp
Compilation succeeded
mv generatekeys.exe generatekeys-gtk.exe
make -C . systemdrawing=yes generatekeys.exe
make[2]: Entering directory `/var/tmp/portage/autopano-sift-2.0/work/autopano-si
ft-2.0/src/util'
mcs /debug /unsafe /out:generatekeys.exe GenerateKeys.cs \
        DrawingPrimitives.cs BasicImagingInterface.cs GUIImage-Drawing.cs /r:../
libsift.dll /r:System.Drawing
Compilation succeeded
make[2]: Leaving directory `/var/tmp/portage/autopano-sift-2.0/work/autopano-sif
t-2.0/src/util'
mv generatekeys.exe generatekeys-sd.exe
mv generatekeys-gtk.exe generatekeys.exe
make  -C autopanog all
make[2]: Entering directory `/var/tmp/portage/autopano-sift-2.0/work/autopano-si
ft-2.0/src/util/autopanog'
mcs /debug /unsafe -out:autopanog.exe -main:Autopanog autopanog.cs \
        -resource:autopanog.glade \
        ../BasicImagingInterface.cs ../GUIImage.cs ../DrawingPrimitives.cs ../Au
topano.cs /pkg:gtk-sharp /pkg:glade-sharp /resource:image-bottom-left.png /resou
rce:image-bottom-right.png /resource:image-vanilla.png /r:../../libsift.dll
Compilation succeeded
make[2]: Leaving directory `/var/tmp/portage/autopano-sift-2.0/work/autopano-sif
t-2.0/src/util/autopanog'
make  -C autopano-win32 all
make[2]: Entering directory `/var/tmp/portage/autopano-sift-2.0/work/autopano-si
ft-2.0/src/util/autopano-win32'
mcs   -main:autopano_sift_winGUI.Form1 \
        -r:System.dll -r:System.Data.dll -r:System.Drawing.dll \
        -r:System.Windows.Forms.dll -r:System.Xml.dll \
        -r:ICSharpCode.SharpZipLib.dll \
        -r:../../libsift.dll \
        -target:winexe -out:autopano-win32.exe \
        -resource:Form1.resx,autopano_sift_winGUI.Form1.resx -resource:FormProce
ss.resx,autopano_sift_winGUI.FormProcess.resx \
        AssemblyInfo.cs ../Autopano.cs ../BasicImagingInterface.cs Form1.cs Form
Process.cs ../GUIImage-Drawing.cs
Compilation succeeded
make[2]: Leaving directory `/var/tmp/portage/autopano-sift-2.0/work/autopano-sif
t-2.0/src/util/autopano-win32'
make[1]: Leaving directory `/var/tmp/portage/autopano-sift-2.0/work/autopano-sif
t-2.0/src/util'
>>> Test phase [not enabled]: media-gfx/autopano-sift-2.0

>>> Install autopano-sift-2.0 into /var/tmp/portage/autopano-sift-2.0/image/ cat
egory media-gfx

!!! ERROR: media-gfx/autopano-sift-2.0 failed.
!!! Function einstall, Line 480, Exitcode 1
!!! no Makefile found


Having looked inside the tarball, I imagine this is because the Makefile in src/ doesn't have an "install" target. It appears the correct sequence is "make all", then copy the contents of bin/ to /usr/bin/
Back to top
View user's profile Send private message
ranmakun
Guru
Guru


Joined: 06 Nov 2002
Posts: 372
Location: Buenos Aires - Argentina

PostPosted: Sat Dec 04, 2004 3:24 pm    Post subject: Problem with autopano-sift ebuild Reply with quote

I have a problem with autopano-sift ebuild
Code:

ukyo autopano-sift # emerge -v autopano-sift
Calculating dependencies ...done!
>>> emerge (1 of 1) media-gfx/autopano-sift-2.0 to /
>>> md5 src_uri ;-) autopano-sift-2.0.tar.gz
>>> Unpacking source...
>>> Unpacking autopano-sift-2.0.tar.gz to /tmp/portage/autopano-sift-2.0/work
>>> Source unpacked.
mcs /debug /unsafe /target:library /out:libsift.dll \
        ImageMap.cs KDTree.cs ScaleSpace.cs SimpleMatrix.cs ImageMatchModel.cs R
ANSAC.cs Transform.cs LoweDetector.cs GaussianConvolution.cs KeypointXML.cs Matc
hKeys.cs BondBall.cs AreaFilter.cs /pkg:gtk-sharp /r:System.Drawing /r:ICSharpCo
de.SharpZipLib
ACCESS DENIED  mkdir:     /root/.wapi
ACCESS DENIED  open_wr:   /root/.wapi/shared_data-ukyo-3-0

** (/usr/lib/mono/1.0/mcs.exe:7696): CRITICAL **: : shared file [/root/.wapi/shared_data-ukyo-3-0] open error: Permiso denegado

** (/usr/lib/mono/1.0/mcs.exe:7696): CRITICAL **: : shared file [/root/.wapi/shared_data-ukyo-3-0] open error

** (/usr/lib/mono/1.0/mcs.exe:7696): WARNING **: Failed to attach shared memory! Falling back to non-shared handles
See: http://www.go-mono.com/issues.html#wapi for details
error CS8027: Couldn't run pkg-config: Cannot find the specified file
make: *** [libsift.dll] Error 1

!!! ERROR: media-gfx/autopano-sift-2.0 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! compiling failed
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-media-gfx_-_autopano-sift-2.0-7680.log"

mkdir:     /root/.wapi
open_wr:   /root/.wapi/shared_data-ukyo-3-0
--------------------------------------------------------------------------------


even with FEATURES="-sandbox"
Code:

ukyo autopano-sift # FEATURES="-sandbox" emerge autopano-sift
Calculating dependencies ...done!
>>> emerge (1 of 1) media-gfx/autopano-sift-2.0 to /
>>> md5 src_uri ;-) autopano-sift-2.0.tar.gz
>>> Unpacking source...
>>> Unpacking autopano-sift-2.0.tar.gz to /tmp/portage/autopano-sift-2.0/work
>>> Source unpacked.
mcs /debug /unsafe /target:library /out:libsift.dll \
        ImageMap.cs KDTree.cs ScaleSpace.cs SimpleMatrix.cs ImageMatchModel.cs RANSAC.cs Transform.cs LoweDetector.cs GaussianConvolution.cs KeypointXML.cs MatchKeys.cs BondBall.cs AreaFilter.cs /pkg:gtk-sharp /r:System.Drawing /r:ICSharpCode.SharpZipLib
Compilation succeeded
make  -C util all
make[1]: Entering directory `/tmp/portage/autopano-sift-2.0/work/autopano-sift-2.0/src/util'
mcs /debug /unsafe /out:autopano.exe Autopano.cs \
        /r:../libsift.dll /r:System.Drawing /define:USING_GTK /pkg:gtk-sharp /pkg:glade-sharp
Compilation succeeded
mcs /debug /unsafe /out:showone.exe ShowOne.cs DrawingPrimitives.cs BasicImagingInterface.cs GUIImage.cs /r:../libsift.dll /r:System.Drawing /define:USING_GTK /pkg:gtk-sharp /pkg:glade-sharp
Compilation succeeded
mcs /debug /unsafe /out:showtwo.exe ShowTwo.cs DrawingPrimitives.cs BasicImagingInterface.cs GUIImage.cs /r:../libsift.dll /r:System.Drawing /define:USING_GTK /pkg:gtk-sharp /pkg:glade-sharp
Compilation succeeded
mcs /debug /unsafe /out:generatekeys.exe GenerateKeys.cs \
        DrawingPrimitives.cs BasicImagingInterface.cs GUIImage.cs /r:../libsift.dll /r:System.Drawing /define:USING_GTK /pkg:gtk-sharp /pkg:glade-sharp
Compilation succeeded
mv generatekeys.exe generatekeys-gtk.exe
make -C . systemdrawing=yes generatekeys.exe
make[2]: Entering directory `/tmp/portage/autopano-sift-2.0/work/autopano-sift-2.0/src/util'
mcs /debug /unsafe /out:generatekeys.exe GenerateKeys.cs \
        DrawingPrimitives.cs BasicImagingInterface.cs GUIImage-Drawing.cs /r:../libsift.dll /r:System.Drawing
Compilation succeeded
make[2]: Leaving directory `/tmp/portage/autopano-sift-2.0/work/autopano-sift-2.0/src/util'
mv generatekeys.exe generatekeys-sd.exe
mv generatekeys-gtk.exe generatekeys.exe
make  -C autopanog all
make[2]: Entering directory `/tmp/portage/autopano-sift-2.0/work/autopano-sift-2.0/src/util/autopanog'
mcs /debug /unsafe -out:autopanog.exe -main:Autopanog autopanog.cs \
        -resource:autopanog.glade \
        ../BasicImagingInterface.cs ../GUIImage.cs ../DrawingPrimitives.cs ../Autopano.cs /pkg:gtk-sharp /pkg:glade-sharp /resource:image-bottom-left.png /resource:image-bottom-right.png /resource:image-vanilla.png /r:../../libsift.dll
Compilation succeeded
make[2]: Leaving directory `/tmp/portage/autopano-sift-2.0/work/autopano-sift-2.0/src/util/autopanog'
make  -C autopano-win32 all
make[2]: Entering directory `/tmp/portage/autopano-sift-2.0/work/autopano-sift-2.0/src/util/autopano-win32'
mcs   -main:autopano_sift_winGUI.Form1 \
        -r:System.dll -r:System.Data.dll -r:System.Drawing.dll \
        -r:System.Windows.Forms.dll -r:System.Xml.dll \
        -r:ICSharpCode.SharpZipLib.dll \
        -r:../../libsift.dll \
        -target:winexe -out:autopano-win32.exe \
        -resource:Form1.resx,autopano_sift_winGUI.Form1.resx -resource:FormProcess.resx,autopano_sift_winGUI.FormProcess.resx \
        AssemblyInfo.cs ../Autopano.cs ../BasicImagingInterface.cs Form1.cs FormProcess.cs ../GUIImage-Drawing.cs
Compilation succeeded
make[2]: Leaving directory `/tmp/portage/autopano-sift-2.0/work/autopano-sift-2.0/src/util/autopano-win32'
make[1]: Leaving directory `/tmp/portage/autopano-sift-2.0/work/autopano-sift-2.0/src/util'
>>> Test phase [not enabled]: media-gfx/autopano-sift-2.0

>>> Install autopano-sift-2.0 into /tmp/portage/autopano-sift-2.0/image/ category media-gfx

!!! ERROR: media-gfx/autopano-sift-2.0 failed.
!!! Function einstall, Line 480, Exitcode 1
!!! no Makefile found
!!! If you need support, post the topmost build error, NOT this status message.



Any ideas?
Back to top
View user's profile Send private message
hothead
Apprentice
Apprentice


Joined: 02 Jul 2004
Posts: 277
Location: /dev/core

PostPosted: Sun Dec 05, 2004 10:32 am    Post subject: Reply with quote

Sorry, but the autopano-sift ebuild is currently broken.
I will create an ebuild for the 2.1 version as soon as I have the time to do so.

Ruben
_________________
Got a question? - http://justfuckinggoogleit.com/
Back to top
View user's profile Send private message
seddes
n00b
n00b


Joined: 21 Nov 2004
Posts: 12

PostPosted: Sun Dec 12, 2004 10:23 pm    Post subject: autopano-sift-2.1 ebuild Reply with quote

Hi,
Modification of hotheads autopano-sift-2.0 ebuild, to work with autopano-sift-2.1.
    Corrects the wapi error
    Fixes the dotnet and gtk-sharp/gtk-glade dependencies


Note that the source code does not have a make install, so I used dobin and dolib, which I have no idea if that is the correct thing to do. Also, not clear on the guidelines on where to place .exe and .dll files, but other mono files seemed to use /usr/bin and /usr/lib, so I did too. Seems wrong somehow. :?

Instructions:
Place in your local portage, usually /usr/local/portage/media-gfx/autopano-sift-2.1.ebuild
Run: ebuild /usr/local/portage/media-gfx/autopano-sift-2.1.ebuild digest
ACCEPT_KEYWORDS="~x86" emerge =autopano-sift-2.1
mono /usr/bin/autopanog.exe

media-gfx/autopano-sift-2.1.ebuild :
Code:

# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="SIFT algorithm for automatic panorama creation"
HOMEPAGE="http://user.cs.tu-berlin.de/~nowozin/autopano-sift/"
SRC_URI="http://user.cs.tu-berlin.de/~nowozin/autopano-sift/${P}.tar.gz"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
export MONO_SHARED_DIR=${T}

DEPEND=">=dev-dotnet/mono-1.0
        dev-dotnet/glade-sharp
        dev-dotnet/gtk-sharp"

src_compile() {
        cd  ${S}/src
        make || die "compiling failed"
}

src_install() {
        cd ${S}/bin
        dobin *.exe
        dobin *.sh
        dolib *.dll
}
Back to top
View user's profile Send private message
seddes
n00b
n00b


Joined: 21 Nov 2004
Posts: 12

PostPosted: Sun Dec 12, 2004 10:26 pm    Post subject: Reply with quote

Sorry: that should be /usr/local/portage/media-gfx/autopano-sift/autopano-sift-2.1.ebuild
ebuild /usr/local/portage/media-gfx/autopano-sift/autopano-sift-2.1.ebuild digest
Back to top
View user's profile Send private message
seddes
n00b
n00b


Joined: 21 Nov 2004
Posts: 12

PostPosted: Thu Dec 23, 2004 3:06 am    Post subject: Reply with quote

Updated on Jan 18, 2005 All ebuilds were updated.
The following steps should work, assuming you've done a recent sync

Please note: fftw moved from from dev-libs to sci-libs, and this ebuild
supports this. You *need* a recent sync, a la Jan 1, 2005.


In your PORTAGE_OVERLAY directory (/usr/local/portage)
mkdir /usr/local/portage/media-gfx
mkdir /usr/local/portage/media-libs

Download: https://bugs.gentoo.org/attachment.cgi?id=47434&action=view
mv <download dir>/libpano12-2.7.0.8.ebuild /usr/local/portage/media-libs/libpano12/libpano12-2.7.0.8.ebuild
ebuild usr/local/portage/media-libs/libpano12/libpano12-2.7.0.8.ebuild digest
ACCEPT_KEYWORDS=”~x86” emerge =media-lib/libpano12


mkdir /usr/local/portage/media-gfx/hugin
Download https://bugs.gentoo.org/attachment.cgi?id=48599&action=view
and store in above as hugin-0.4-r1.ebuild
mkdir /usr/local/portage/media-gfx/hugin/files
Download https://bugs.gentoo.org/attachment.cgi?id=46679&action=view
and store in above as splash-configure_ac.patch
Download https://bugs.gentoo.org/attachment.cgi?id=46897
and store in above as hugin-0.4-wx_gtk.m4.patch
ebuild /usr/local/portage/media-gfx/hugin/hugin-0.4-r1.ebuild digest
ACCEPT_KEYWORDS=”~x86” emerge =media-gfx/hugin-0.4-r1

mkdir /usr/local/portage/media-gfx/autopano-sift
Download https://bugs.gentoo.org/attachment.cgi?id=48727&action=view
and store in above as autopano-sift-2.2.ebuild
mkdir /usr/local/portage/media-gfx/autopano-sift/files
Download https://bugs.gentoo.org/attachment.cgi?id=46560&action=view
and store in above as autopano-sift
ebuild /usr/local/portage/media-gfx/autopano-sift/autopano-sift-2.2.ebuild digest
ACCEPT_KEYWORDS=”~x86” emerge =media-gfx/autopano-sift-2.2

mkdir /usr/local/portage/media-gfx/enblend
Download https://bugs.gentoo.org/attachment.cgi?id=47447&action=view
and store in above as enblend-2.1.ebuild
ebuild /usr/local/portage/media-gfx/enblend/enblend-2.1.ebuild digest
ACCEPT_KEYWORDS=”~x86” emerge =media-gfx/enblend-2.1


executables:
autopano-sift
hugin
enblend


Last edited by seddes on Wed Jan 19, 2005 2:21 am; edited 1 time in total
Back to top
View user's profile Send private message
GreenyGianty
n00b
n00b


Joined: 06 Jan 2005
Posts: 6

PostPosted: Sun Jan 09, 2005 10:07 am    Post subject: Reply with quote

hi Seddes.

Having problems emerging hugin-0.4-r1



Code:
In file included from PointMatching.cpp:28:
../../src/include/vigra_ext/PointMatching.h: In member function `bool vigra_ext::MatchFeatures::operator()(const std::vector<vigra_ext::SIFTFeature, std::allocator<vigra_ext::SIFTFeature> >&, const std::vector<vigra_ext::SIFTFeature, std::allocator<vigra_ext::SIFTFeature> >&, vigra_ext::SIFTMatchVector&)':
../../src/include/vigra_ext/PointMatching.h:163: error: no matching function for call to `std::vector<vigra_ext::SIFTMatch, std::allocator<vigra_ext::SIFTMatch> >::push_back(vigra::triple<int, long int, int>)'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/include/g++-v3/bits/stl_vector.h:557: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = vigra_ext::SIFTMatch, _Alloc = std::allocator<vigra_ext::SIFTMatch>]
make[2]: *** [PointMatching.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/hugin-0.4-r1/work/hugin-0.4/src/vigra_ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hugin-0.4-r1/work/hugin-0.4/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/hugin-0.4-r1 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! compiling failed
!!! If you need support, post the topmost build error, NOT this status message.


I have emerged panoramatools.

Any suggestions?

--
Brian
Back to top
View user's profile Send private message
andyknownasabu
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 281
Location: Zurich, Switzerland

PostPosted: Thu Jan 13, 2005 8:44 pm    Post subject: Reply with quote

Me too:
Code:
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... (cached) i686-pc-linux-gnu-strip
checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.10, ltmain.sh = 1.5.6) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

_________________
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/
Back to top
View user's profile Send private message
DaMutz
n00b
n00b


Joined: 22 Jul 2004
Posts: 1
Location: Giebenach / Schweiz

PostPosted: Sat Jan 15, 2005 7:53 pm    Post subject: Reply with quote

andyknownasabu wrote:
Me too:
Code:
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... (cached) i686-pc-linux-gnu-strip
checking for correct ltmain.sh version... no

*** Gentoo sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.10, ltmain.sh = 1.5.6) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.


did you already run 'libtoolize --copy --force'?

on my computer it doesn't run either, my failure message with hugin-0.4:
Quote:
MyProgressDialog.cpp: In member function `virtual void MyProgressDialog::updateProgressDisplay()':
MyProgressDialog.cpp:46: error: no matching function for call to `wxString::Printf(const char[18], const char*, const char*, double)'
/usr/include/wx/string.h:733: note: candidates are: int wxString::Printf(const wxChar*, ...)
MyProgressDialog.cpp:49: error: no matching function for call to `wxString::Printf(const char[7], const char*, const char*)'
/usr/include/wx/string.h:733: note: candidates are: int wxString::Printf(const wxChar*, ...)
distcc[12596] ERROR: compile on localhost failed
make[4]: *** [MyProgressDialog.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/tmp/portage/hugin-0.4/work/hugin-0.4/src/hugin'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/tmp/portage/hugin-0.4/work/hugin-0.4/src/hugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/tmp/portage/hugin-0.4/work/hugin-0.4/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/hugin-0.4 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! compiling failed
!!! If you need support, post the topmost build error, NOT this status message.

any ideas?
Back to top
View user's profile Send private message
andyknownasabu
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 281
Location: Zurich, Switzerland

PostPosted: Sun Jan 16, 2005 1:41 am    Post subject: Reply with quote

DaMutz wrote:
did you already run 'libtoolize --copy --force'?

I modified the ebuild to reflect this and uploaded a new version.
Unfortunately I get the following error message, now:
Code:
[...]
PTOptimise.cpp:441: error: `CPGraph' undeclared (first use this function)
PTOptimise.cpp:441: error: expected `;' before "graph"
PTOptimise.cpp:442: error: `graph' undeclared (first use this function)
PTOptimise.cpp:460: error: `boost' has not been declared
PTOptimise.cpp:460: error: `queue' undeclared (first use this function)
PTOptimise.cpp:460: error: `boost' has not been declared
PTOptimise.cpp:460: error: `graph_traits' undeclared (first use this function)
PTOptimise.cpp:460: error: `::vertex_descriptor' has not been declared
PTOptimise.cpp:460: error: `qu' undeclared (first use this function)
PTOptimise.cpp:461: error: `boost' has not been declared
PTOptimise.cpp:462: error: `vertex_color' undeclared (first use this function)
PTOptimise.cpp:462: error: `get' undeclared (first use this function)
PTOptimise.cpp:462: error: `color_map' undeclared (first use this function)
PTOptimise.cpp:463: error: `breadth_first_search' undeclared (first use this function)
make[2]: *** [PTOptimise.lo] error 1
make[2]: Leaving directory `/var/tmp/portage/hugin-0.4-r1/work/hugin-0.4/src/Panorama'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/var/tmp/portage/hugin-0.4-r1/work/hugin-0.4/src'
make: *** [all-recursive] Fehler 1

_________________
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/
Back to top
View user's profile Send private message
seddes
n00b
n00b


Joined: 21 Nov 2004
Posts: 12

PostPosted: Wed Jan 19, 2005 2:34 am    Post subject: Reply with quote

Hi,
Above steps were updated using new ebuilds, which includes great contribs by David Grant. I resynced on Jan 17, and cleaned everything out, and it seems to be ok.

GreenGianty: Not sure what is going on with that compile error. It might be the boost library. Even though the ebuild has a floor of 1.31, I'm using 1.32, which was masked. Other setting I'm using:

gcc(++): Latest version installed: 3.4.3-r1
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
CXXFLAGS=${CFLAGS}

use flags:
USE=" 3dnow 3dnowex -arts c++ cairo codecs divx4linux dvd dvdread \
exif -kde mmx mmx2 mozsvg network ppds quotes real sse \
theora usb xvid gtk2"

Perhaps trying to re-emerge the packages?

andyknownasabu: Maybe the newer boost 1.32 would help? It is masked.
Back to top
View user's profile Send private message
andyknownasabu
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 281
Location: Zurich, Switzerland

PostPosted: Thu Jan 20, 2005 3:40 pm    Post subject: Reply with quote

Well, I don't know what I did but suddenly the emerge finished without errors ;)

Just to add the reference here:
https://bugs.gentoo.org/show_bug.cgi?id=48269
_________________
Please, also have a look at:
Global Marshall Plan Initiative
http://www.globalmarshallplan.org/
Back to top
View user's profile Send private message
GreenyGianty
n00b
n00b


Joined: 06 Jan 2005
Posts: 6

PostPosted: Sat Jan 22, 2005 9:17 pm    Post subject: Reply with quote

still failing to emerge hugin + autopano sift

Hugin fails to emerge with the same error

In file included from PointMatching.cpp:28:
../../src/include/vigra_ext/PointMatching.h: In member function `bool vigra_ext::MatchFeatures::operator()(const std::vector<vigra_ext::SIFTFeature, std::allocator<vigra_ext::SIFTFeature> >&, const std::vector<vigra_ext::SIFTFeature, std::allocator<vigra_ext::SIFTFeature> >&, vigra_ext::SIFTMatchVector&)':
../../src/include/vigra_ext/PointMatching.h:163: error: no matching function for call to `std::vector<vigra_ext::SIFTMatch, std::allocator<vigra_ext::SIFTMatch> >::push_back(vigra::triple<int, long int, int>)'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/include/g++-v3/bits/stl_vector.h:557: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = vigra_ext::SIFTMatch, _Alloc = std::allocator<vigra_ext::SIFTMatch>]
make[2]: *** [PointMatching.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/hugin-0.4-r1/work/hugin-0.4/src/vigra_ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hugin-0.4-r1/work/hugin-0.4/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/hugin-0.4-r1 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! compiling failed
!!! If you need support, post the topmost build error, NOT this status message.

autopano sift fails to emerge as mono-1.0.5-r3 ebuild fails to emerge.

Perhaps the fact that i'm running gentoo amd64 is making it a bit more complicated?

:(

--
Brian
Back to top
View user's profile Send private message
GreenyGianty
n00b
n00b


Joined: 06 Jan 2005
Posts: 6

PostPosted: Sun Jan 23, 2005 9:17 pm    Post subject: Reply with quote

Making some progress...

Managed to get mono 1.1.3 installed and most of the dependencies for autopanosift except libgdiplus-1.1.3 as a result autopanosift fails to emerge:

Code:
make[2]: *** [bitmap.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.3/work/libgdiplus-1.1.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.3/work/libgdiplus-1.1.3'
make: *** [all] Error 2

!!! ERROR: dev-dotnet/libgdiplus-1.1.3 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Tried to emerge hugin, but I keep getting the pointmatching.cpp:28 error

Code:

In file included from PointMatching.cpp:28:
../../src/include/vigra_ext/PointMatching.h: In member function `bool vigra_ext::MatchFeatures::operator()(const std::vector<vigra_ext::SIFTFeature, std::allocator<vigra_ext::SIFTFeature> >&, const std::vector<vigra_ext::SIFTFeature, std::allocator<vigra_ext::SIFTFeature> >&, vigra_ext::SIFTMatchVector&)':
../../src/include/vigra_ext/PointMatching.h:163: error: no matching function for call to `std::vector<vigra_ext::SIFTMatch, std::allocator<vigra_ext::SIFTMatch> >::push_back(vigra::triple<int, long int, int>)'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/include/g++-v3/bits/stl_vector.h:557: note: candidates are: void std::vector<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = vigra_ext::SIFTMatch, _Alloc = std::allocator<vigra_ext::SIFTMatch>]
make[2]: *** [PointMatching.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/hugin-0.4-r1/work/hugin-0.4/src/vigra_ext'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hugin-0.4-r1/work/hugin-0.4/src'
make: *** [all-recursive] Error 1


Could this be due to autopanosift not being installed?

I really am at my limit of understanding. I thought it would have just been a case of emerging hugin etc.....
:(

I have got vigra installed by a manual compilation of the 1.3.1 tarball from vigra website.

I may try doing a manual compile + install of Hugin from the hugin sourforge website......

Now time for bed!

--
Brian
Back to top
View user's profile Send private message
ejona
n00b
n00b


Joined: 09 Jan 2004
Posts: 11
Location: Texas, USA

PostPosted: Thu Jan 27, 2005 3:57 am    Post subject: Fixed Reply with quote

I have gcc version 3.4.3. I found this: http://www.email-lists.org/pipermail/ptx/2005-January/003010.html. That states the possible problem.... Don't know if that IS why, but still.

More important - a fix: http://www.email-lists.org/pipermail/ptx/2005-January/003011.html

Basically replace:
result.push_back(vigra::make_triple(dist1, it1 - feat1.begin(), best));
with:
result.push_back(vigra::make_triple(dist1, (int)(it1 -feat1.begin()), best));
at PointMatching.cpp:163

One problem... it fails later... It has to be the gcc 3.4.3 version that is messing it up... unless it is the problem of amd64, which might be true with a push messing up.

---added--- I continued reading the above thread and eventually just tried out the new cvs and it worked. I had tried some snapshots a day or so ago and it didn't work, but the cvs did after deleting a few lines from a translation file. So I guess just get a new cvs for the ebuild or wait for the next snapshot.
Back to top
View user's profile Send private message
GreenyGianty
n00b
n00b


Joined: 06 Jan 2005
Posts: 6

PostPosted: Thu Jan 27, 2005 4:58 pm    Post subject: Re: Fixed Reply with quote

ejona wrote:

---added--- I continued reading the above thread and eventually just tried out the new cvs and it worked. I had tried some snapshots a day or so ago and it didn't work, but the cvs did after deleting a few lines from a translation file. So I guess just get a new cvs for the ebuild or wait for the next snapshot.


When you say get a new cvs for the ebuild what exactly do you mean? I'm a beginner at gentoo + ebuilds...

regards

--
Brian
Back to top
View user's profile Send private message
ejona
n00b
n00b


Joined: 09 Jan 2004
Posts: 11
Location: Texas, USA

PostPosted: Fri Jan 28, 2005 9:51 pm    Post subject: Reply with quote

Development is stored and shared with cvs. You normally have two options when getting sources, a snapshot from that cvs when it was know to work pretty well, or from the current cvs. The problems I encountered have been fixed in the current sources on the cvs, but the team has not released a snapshot that contains the fixes.

As a ebuilder, you have two options, ignore the problems with the current ebuild because they aren't your problem and just wait until another snapshot has been taken, or you can take a snapshot of the package yourself and add a second ebuild that works with the taken snapshot and provide this as a suppliment for those who can't use the currently released snapshot.

Politically, it would probably be best to just wait for the next snapshot that the hugin team provides. However, a second ebuild that uses newer sources would be nice.
Back to top
View user's profile Send private message
GreenyGianty
n00b
n00b


Joined: 06 Jan 2005
Posts: 6

PostPosted: Sat Jan 29, 2005 6:26 pm    Post subject: Reply with quote

ejona, could you give me your ebuild to see if I can get hugin working on my box?

I've got lots of photos needing stitched, and no stitching software to use! :?

cheers

--
Brian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum