| View previous topic :: View next topic |
| Author |
Message |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Sun Aug 06, 2006 12:04 am Post subject: Hugin 0.6 compile errors. [Solved] |
|
|
This is the compile error I'm geting
| Quote: |
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxLongToLongHashMap_wxImplementation_HashTable::DeleteNode(_wxHashTable_NodeBase*)'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnPoke(wxString const&, wxString const&, wchar_t*, int, wxIPCFormat)'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxOutputStream::Close()'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxPopupTransientWindow::CanDismiss()'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnAdvise(wxString const&, wxString const&, wchar_t*, int, wxIPCFormat)'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxTimer::IsRunning() const'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::IsSeekable() const'
/usr/X11R6/lib/libwx_gtk2u_core-2.6.so: undefined reference to `wxObjectList::Find(wxListKey const&) const'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxThread::OnExit()'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxPrintout::IsPreview() const'
/usr/X11R6/lib/libwx_gtk2u_xrc-2.6.so: undefined reference to `wxButton::ShouldInheritColours() const'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc2()'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxVScrolledWindow::OnGetLinesHint(unsigned int, unsigned int) const'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxPrintout::SetIsPreview(bool)'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxStreamBase::ReservedStreamFunc9()'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxInputStream::LastRead() const'
/usr/X11R6/lib/libwx_gtk2u_xrc-2.6.so: undefined reference to `wxTreeCtrl::wxTreeCtrl()'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxDialog::~wxDialog()'
/usr/X11R6/lib/libwx_baseu_net-2.6.so: undefined reference to `wxConnectionBase::OnRequest(wxString const&, wxString const&, int*, wxIPCFormat)'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxBitmapButton::SetLabel(wxBitmap const&)'
/usr/X11R6/lib/libwx_gtk2u_adv-2.6.so: undefined reference to `wxLongToLongHashMap_wxImplementation_HashTable::CopyNode(wxLongToLongHashMap_wxImplementation_HashTable::Node*)'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxSizer::Add(wxWindow*, int, int, int, wxObject*)'
/usr/X11R6/lib/libwx_gtk2u_html-2.6.so: undefined reference to `wxHelpControllerBase::SetParentWindow(wxWindow*)'
collect2: ld returned 1 exit status
make[3]: *** [hugin] Error 1
make[3]: Leaving directory `/var/tmp/portage/hugin-0.6/work/hugin-0.6/src/hugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/hugin-0.6/work/hugin-0.6/src/hugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hugin-0.6/work/hugin-0.6/src'
make: *** [all-recursive] Error 1
!!! ERROR: media-gfx/hugin-0.6 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
hugin-0.6.ebuild, line 44: Called die
|
Anyway I got the ebuild from bugzilla, and I get the same error with hugin-0.5, and hugin-0.5-r1, and so forth, so I decided to try out hugin-0.6 in hopes that it would fix the error, but, its still getting the same error.
So I then attempted to upgrade and downgrade wxGTK and got same error on them all, so anyone got any idea where to point me to now, because I've done bunch of searching and haven't gotten anywhere.
Btw the userflag for wxGTK is: X opengl unicode, and userflag for hugin is: unicode
Thanks!
Edit: I'm trying to force wxGTK to an even older version, one with GTK2 userflag to see if that helps.
Last edited by Antimatter on Sat Aug 12, 2006 3:36 am; edited 1 time in total |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Sun Aug 06, 2006 3:24 am Post subject: |
|
|
| Hmm, tried the older wxGTK, and newer wxGTK, both dosen't work, and been searching high and low on google, and all forums that I know of, and geting nothing. |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Sun Aug 06, 2006 5:01 am Post subject: |
|
|
more information on this hugin stuff.
| Quote: |
wxrc -g -o ./about.xrs about.xrc
make[4]: wxrc: Command not found
wxrc -g -o ./anchor_orientation.xrs anchor_orientation.xrc
make[4]: wxrc: Command not found
make[4]: [about.xrs] Error 127 (ignored)
wxrc -g -o ./cp_editor_panel.xrs cp_editor_panel.xrc
make[4]: wxrc: Command not found
make[4]: [anchor_orientation.xrs] Error 127 (ignored)
wxrc -g -o ./cp_list_frame.xrs cp_list_frame.xrc
make[4]: wxrc: Command not found
make[4]: [cp_editor_panel.xrs] Error 127 (ignored)
wxrc -g -o ./edit_script_dialog.xrs edit_script_dialog.xrc
make[4]: wxrc: Command not found
make[4]: [cp_list_frame.xrs] Error 127 (ignored)
wxrc -g -o ./edit_text.xrs edit_text.xrc
make[4]: wxrc: Command not found
make[4]: [edit_script_dialog.xrs] Error 127 (ignored)
wxrc -g -o ./help.xrs help.xrc
make[4]: wxrc: Command not found
make[4]: [edit_text.xrs] Error 127 (ignored)
wxrc -g -o ./image_center.xrs image_center.xrc
make[4]: wxrc: Command not found
make[4]: [help.xrs] Error 127 (ignored)
wxrc -g -o ./images_panel.xrs images_panel.xrc
make[4]: wxrc: Command not found
make[4]: [image_center.xrs] Error 127 (ignored)
wxrc -g -o ./keyboard_help.xrs keyboard_help.xrc
make[4]: wxrc: Command not found
make[4]: [images_panel.xrs] Error 127 (ignored)
wxrc -g -o ./lens_panel.xrs lens_panel.xrc
make[4]: wxrc: Command not found
|
So i went searching and appearly wxrc is not being built anymore in wxGTK-2.6 which is bad, because hugin requires it, so any advice?
| Quote: |
i686-pc-linux-gnu-g++ -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/
include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHasPANO -pthread -I/usr/include -DINSTALL_XRC_DIR=\"/usr/sha
re/hugin/xrc\" -DINSTALL_LOCALE_DIR=\"/usr/share/locale\" -O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -momit-leaf
-frame-pointer -fno-ident -fvisibility-inlines-hidden -Wl,-O1 -o hugin -pthread -Wl,-O1 -pthread huginApp.o ImagesList.o AutoCtrlPoi
ntCreator.o MainFrame.o CPImageCtrl.o CPEditorPanel.o LensPanel.o ImagesPanel.o CommandHistory.o PanoPanel.o NonaStitcherPanel.o PTS
titcherPanel.o PreviewFrame.o PreviewPanel.o ImageCenter.o OptimizePanel.o RunOptimizerFrame.o RunStitcherFrame.o CPListFrame.o Text
KillFocusHandler.o ImageOrientationPanel.o ImageOrientationFrame.o PanoDruid.o CPZoomDisplayPanel.o CPFineTuneFrame.o PreferencesDia
log.o LocalizedFileTipProvider.o VigCorrDialog.o wxPanoCommand.o MyExternalCmdExecDialog.o UniversalCursor.o -L/usr/X11R6/lib -lwx_
gtk2u_xrc-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6 /usr/l
ib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /
usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXext.
so /usr/lib/libglitz.so /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so /usr/lib/libgobject-2.0.so /usr/lib/l
ibgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -lboost_thread-gcc-mt ../../src/Panorama/.libs/li
bpanorama.a /usr/lib/libpano12.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/../../.
./i686-pc-linux-gnu/lib ../../src/foreign/vigra_impex/.libs/libvigra_impex.a /usr/lib/libpng12.so -lz /usr/lib/libtiff.so /usr/lib/l
ibjpeg.so ../../src/jhead/.libs/libjhead.a ../../src/common/.libs/libcommon.a ./.libs/libhuginwxutils.a ../../src/vigra_ext/.libs/li
bvigra_ext.a /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so -lm -lgcc_s -lc
huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x14): undefined reference to `wxObject::ReservedObjectFunc1()'
huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x18): undefined reference to `wxObject::ReservedObjectFunc2()'
huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x1c): undefined reference to `wxObject::ReservedObjectFunc3()'
huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x20): undefined reference to `wxObject::ReservedObjectFunc4()'
huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x24): undefined reference to `wxObject::ReservedObjectFunc5()'
huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x28): undefined reference to `wxObject::ReservedObjectFunc6()'
huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x2c): undefined reference to `wxObject::ReservedObjectFunc7()'
huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x30): undefined reference to `wxObject::ReservedObjectFunc8()'
huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x34): undefined reference to `wxObject::ReservedObjectFunc9()'
huginApp.o:(.gnu.linkonce.r._ZTV8huginApp+0x48): undefined reference to `wxEvtHandler::TryValidator(wxEvent&)'
|
I have no idea what is going on here, but maybe it has something to do with modular Xorg? because /usr/X11R6 has been symlinked to /usr/ or something alikin to that, so would that be a problem? |
|
| Back to top |
|
 |
dgrant Apprentice


Joined: 28 May 2003 Posts: 158 Location: Vancouver, BC, Canada
|
Posted: Sun Aug 06, 2006 7:19 am Post subject: |
|
|
I don't have wxrc on my computer and hugin compiled fine for me.
Not that this will help, but maybe try cleaning your system out a bit. Run stuff like revdep-rebuild, emerge -p --depclean, try dep (emerge udept from ecatmur's overlay via layman). And since your problems are related to wx stuff try installing it all and reinstalling it and don't use any unstable or testing version of it. |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Sun Aug 06, 2006 8:34 am Post subject: |
|
|
| dgrant wrote: | I don't have wxrc on my computer and hugin compiled fine for me.
Not that this will help, but maybe try cleaning your system out a bit. Run stuff like revdep-rebuild, emerge -p --depclean, try dep (emerge udept from ecatmur's overlay via layman). And since your problems are related to wx stuff try installing it all and reinstalling it and don't use any unstable or testing version of it. |
I did everything in that list, and the hugin still failed on the linking step, I'm suspecting maybe because of the changes in modular xorg? |
|
| Back to top |
|
 |
dgrant Apprentice


Joined: 28 May 2003 Posts: 158 Location: Vancouver, BC, Canada
|
Posted: Sun Aug 06, 2006 8:47 am Post subject: |
|
|
| No I would cross off that possibility. I am using Xorg 7.0 and so are many other people. You could try the hugin/ptx mailing list. |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Sun Aug 06, 2006 9:05 am Post subject: |
|
|
| dgrant wrote: | | No I would cross off that possibility. I am using Xorg 7.0 and so are many other people. You could try the hugin/ptx mailing list. |
Hmm, I tried searching, didn't get much useful stuff, but anyway hmm how about comparing out setups for now, below is my settings/configation.
| Code: |
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/
share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -fno-ident
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://g
entoo.chem.wisc.edu/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.easynews.com/
linux/gentoo/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete
--delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 crypt mmx nls nptl pam sse sse2 ssl tcpd unicode elibc_glibc input_devices_keyboard input_devices_mo
use input_devices_joystick kernel_linux userland_GNU video_cards_fglrx video_cards_radeon video_cards_vesa vi
deo_cards_fbdev video_cards_vga video_cards_v4l"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
|
dev-libs/boost-1.33.1 - USE: threads
media-gfx/enblend-2.5
sys-devl/bc-1.06-r6
dev-dotnet/libgdiplus-1.1.13.2 - USE: gif jpeg png tiff
dev-lang/mono-1.1.13.6 - USE: X nptl
dev-perl/XML-LibXML-Common-0.13
dev-perl/XML-LibXML-1.58-r1
dev-dotnet/gtk-sharp-1.0.10
dev-dotnet/glade-sharp-1.0.10
media-gfx/autopano-sift-2.4
x11-libs/wxGTK-2.6.2-r1 - USE: X opengl unicode
media-libs/libpano12-2.8.4
media-gfx/hugin-0.6 - USE: unicode |
|
| Back to top |
|
 |
dgrant Apprentice


Joined: 28 May 2003 Posts: 158 Location: Vancouver, BC, Canada
|
Posted: Sun Aug 06, 2006 9:10 am Post subject: |
|
|
wxGTK: 2.4.2-r4 2.6.3.2
I'm not doing unicode though for anything, except wxGTK. This is in my package.use file:
=x11-libs/wxGTK-2.6* unicode
-(~:$)-> emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ http://modzer0.cs.uaf.edu/public/gentoo/ http://gentoo.arcticnetwork.ca/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.llarian.net/"
LANG="en_CA.UTF-8"
LINGUAS="en en_GB en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/gentopia /usr/portage/local/layman/sunrise /usr/portage/local/layman/wrobel /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 3ds X Xaw3d aac aalib acpi ada alsa ansi anthy apache2 apm artworkextra asf async atlas audiofile avi bash-completion berkdb bigger-fonts bitmap-fonts browserplugin bzip2 c++ cairo canvas cdparanoia cdr cgi cli cpudetection crypt css ctype cups curl cvs dba dbus dga dhcp directfb divx4linux dlloader dri dv dvd dvdr dvdread dynagraph eds emacs emboss encode escreen exif fame fastbuild fastcgi fbcon ffmpeg fftw firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gimp gimpprint ginac glut gmp gnokii gnome-print gnuplot gphoto2 gpm gprof gstreamer gtk gtk2 gtkhtml guile hal hddtemp iconv icq idn imagemagick imap imlib imlib2 ipv6 isdnlog java javascript jce joystick jpeg jpeg2k junit kde kdeenablefinal kdexdeltas kerberos kipi krb4 lapack latex lcms ldap lesstif libcaca libclamav libg++ libwww live lm_sensors logitech-mouse logrotate lzo mad maildir matroska memlimit mhash migemo mikmod mjpeg mmx mmxext mng mono motif mozdevelop mozilla mozsvg mp3 mpeg mplayer mplot3d mppe-mppc msn musepack musicbrainz mysql nas nautilus ncurses net nethack network nfs nis nls nntp no-old-linux noplugin nptl nptlonly nsplugin nvidia oav offensive ofx ogg oggvorbis openal opengl openssl oscar oss pam pcre pda pdf pdflib pdo-external perl php pic plotutils png posix postgres povray ppds pppd python qhull qt qt3 qt4 quicktime quotas quotes rdesktop readline real reflection ruby samba sasl screen sdl sensord server session simplexml slang sms smtp soap sockets spell spl sqlite sse ssl subtitles subversion svg svga tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1 type1-fonts udev usb userlocales utf8 v4l v4l2 vcd vhosts virus-scan visualization vorbis webdav webservices wifi win32codecs wmf wv wxpython wxwindows xanim xbase xcomposite xine xml xml2 xmlwriter xorg xosd xprint xscreensaver xsl xv xvid yahoo yv12 zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_en_GB linguas_en_US userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga video_cards_fbdev"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Sun Aug 06, 2006 9:21 am Post subject: |
|
|
Hmm, you say that you have two wxGTK package, one 2.4*, and other 2.6*?
Our setup other wise with exception of unicode seems similar. Hmm...
At this point I'm pretty much lost on what the hell is going on.
Hmm I did spot this line in the config part of the emerge
| Code: |
checking for wx-config... /usr/lib/wx/config/gtk2-unicode-release-2.6
checking for wxWindows version >= 2.4.2 (--unicode=yes)...
Warning: No config found to match: /usr/lib/wx/config/gtk2-unicode-release-2.6 --static --libs
in /usr/lib/wx/config
If you require this configuration, please install the desired
library build. If this is part of an automated configuration
test and no other errors occur, you may safely ignore it.
You may use wx-config --list to see all configs available in
the default prefix.
yes (version 2.6.3)
checking if wxWindows was linked with GTK2... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.3... yes (version 2.8.19)
configure: creating ./config.status
|
No idea if that would change anything, but I'm inspecting that now.
Hmm... checked out that file and didn't see anything useful in it. |
|
| Back to top |
|
 |
dgrant Apprentice


Joined: 28 May 2003 Posts: 158 Location: Vancouver, BC, Canada
|
Posted: Sun Aug 06, 2006 3:22 pm Post subject: |
|
|
| try compiling it with unicode |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Sun Aug 06, 2006 7:47 pm Post subject: |
|
|
| dgrant wrote: | | try compiling it with unicode |
wxGTK? It has been compiled with unicode the whole time, my system has unicode in the default userflag in the make.conf file.
And i went into the /user/lib/wx/config/* and i did find the gtk2-unicode-relase-2.6 in that directory, but when I typed that command out, with '--libs' it worked and gave me this following stuff
| Code: |
-pthread -Wl,-O1 -L/usr/X11R6/lib -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6
|
But if I typed it out with '--static' i get no config found error, ergo if it was typed out as '--static --libs' it would fail also, so I'm starting to wonder if there isn't some sort of error that makes the wxGTK fail to build static version of the libraries?
Anyway for now, I'm going to experiment with hacking the makefile for hugin, and see if i can't remove the '--static' parameter, and see if that makes it work, if not, then we will need to figure out how to create a '--static' version of wxGTK.
Update: I removed the '--static' version and it still failed on the linking step....
Update 2: Trying to compile wxGTK and hugin without unicode support to see, i doubt that its the problem but I'm running out of ideas. Didn't work
Update 3: Compiling wxGTK 2.4* and wxGTK 2.6* then compiling hugin to see if that helps. Always worth a shot.
Update 4: Tried that out with wxGTK 2.4 and 2.6, and it failed also, with linking error, so appearly the linker is fubar or something, any further ideas? |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Mon Aug 07, 2006 3:03 am Post subject: |
|
|
| Anyone got any ideas here? I get the same error with hugin 0.5 also. |
|
| Back to top |
|
 |
polyglot n00b

Joined: 10 Mar 2004 Posts: 55
|
Posted: Mon Aug 07, 2006 5:16 am Post subject: hugin compilation |
|
|
I'm having similar problems to you guys. I used to have a working hugin-0.5rc1 (hand-compiled and installed with stow) but that was having problems with 400MP stitches so I figured I'd upgrade. Bad move: now my old one segfaults and the new ones don't compile; hugin being broken is a money-losing issue for me :(
Compiling 0.6 from the release tarball, I get the same "wxrc not found" errors and then src/include/hugin/MainFrame.h fails to compile because it lacks an #include "wx/html/helpctrl.h"
Next, I get this:
| Code: |
ImageCenter.cpp: In constructor `ImgCenter::ImgCenter(wxWindow*)':
ImageCenter.cpp:108: error: no matching function for call to `wxButton::wxButton(ImgCenter* const, <anonymous enum>)'
/usr/include/wx/gtk/button.h:39: note: candidates are: wxButton::wxButton(const wxButton&)
/usr/include/wx/gtk/button.h:47: note: wxButton::wxButton(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxValidator&, const wxString&)
/usr/include/wx/gtk/button.h:41: note: wxButton::wxButton()
ImageCenter.cpp:111: error: no matching function for call to `wxButton::wxButton(ImgCenter* const, <anonymous enum>)'
/usr/include/wx/gtk/button.h:39: note: candidates are: wxButton::wxButton(const wxButton&)
/usr/include/wx/gtk/button.h:47: note: wxButton::wxButton(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int, const wxValidator&, const wxString&)
/usr/include/wx/gtk/button.h:41: note: wxButton::wxButton()
|
Some background: I have wxGTK 2.6.3.2, xorg-x11 6.8.2-r6. hugin-0.6 configure summarizes thusly:
| Code: |
Host system type : i686-pc-linux-gnu
Option Value
-------------------------------------------------------------------------
Shared libraries --enable-shared=no
Static libraries --enable-static=yes
JPEG --with-jpeg= have_jpeg = yes
PNG --with-png= have_png = yes
TIFF --with-tiff= have_tiff = yes
ZLIB --with-zlib= have_zlib = yes
PANO --with-pano= have_pano = yes
BOOST --with-boost= have_boost = yes
Unicode --with-unicode=no
Debug enabled? no
compile GUI programs hugin and nona_gui: yes
Options used to compile and link:
PREFIX = /usr/local/stow/hugin-0.6
VERSION = 0.6
CC = gcc
CFLAGS = -g -O2
CPPFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
LIBS =
CXX = g++
CXXFLAGS = -g -O2
JPEG_FLAGS = -DHasJPEG
LIB_JPEG = -ljpeg
PNG_FLAGS = -DHasPNG
LIB_PNG = -lpng
TIFF_FLAGS = -DHasTIFF
LIB_TIFF = -ltiff
ZLIB_FLAGS = -DHasZLIB
LIB_ZLIB = -lz
PANO_FLAGS = -DHasPANO
LIB_PANO = -lpano12
WX_CXXFLAGS = -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_
FILE_OFFSET_BITS=64 -D_LARGE_FILES
WX_LIBS = -pthread -lwx_gtk2-2.4 -lpangox-1.0 -lwx_gtk2_xrc-2.4
GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/i
nclude/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/
usr/lib/glib-2.0/include
GTK_LIBS = -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lg
lib-2.0
boost_version = 103301
BOOST_CPPFLAGS = -pthread -I/usr/include
BOOST_LIBS =
BOOST_THREAD_LIB = -lboost_thread-gcc-mt
BUILD = linux
CPU = i686
|
Interestingly, it seems to be going for wx 2.4 though I have both that and 2.6 installed. The release notes say it prefers 2.6. And having a look in the code and wx headers, there really does seem to be a fundamental disagreement as to what a wxButton's constructor parameters should be. When I fiddle the /usr/include/wx symlink to point to my 2.6 headers, it fails spectacularly.
I've recently upgraded my gcc from 3.3.3 to 3.4.3 and think I introduced some issues there with stuff being linked against both libstdc++.so.5 and .6. Getting rid of .5 entirely means rebuilding X since libGLU seems to link against it (why!?). I've done a whole pile of work with revdep-rebuild --library to get rid of most of the other linkages against the old library but to little avail.
Can anyone report a successful build of hugin-0.6 on gentoo? I'd be particularly interested in success stories on amd64 since I'll be shortly getting such a beast with 4GB so as to handle larger images.
Update: the above is what happens when I try to manually build hugin. If I use 0.5 ebuild, I get this:
| Code: |
i686-pc-linux-gnu-g++ -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHasPANO -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -falign-functions=8 -maccumulate-outgoing-args -foptimize-sibling-calls -fforce-mem -fforce-addr -o hugin huginApp.o ImagesList.o AutoCtrlPointCreator.o MainFrame.o CPImageCtrl.o CPEditorPanel.o LensPanel.o ImagesPanel.o CommandHistory.o PanoPanel.o NonaStitcherPanel.o PTStitcherPanel.o PreviewFrame.o PreviewPanel.o ImageCenter.o OptimizePanel.o RunOptimizerFrame.o RunStitcherFrame.o CPListFrame.o TextKillFocusHandler.o ImageOrientationPanel.o ImageOrientationFrame.o PanoDruid.o CPZoomDisplayPanel.o CPFineTuneFrame.o PreferencesDialog.o LocalizedFileTipProvider.o -L/usr/X11R6/lib -lwx_gtk2_xrc-2.6 -lwx_gtk2_html-2.6 -lwx_gtk2_adv-2.6 -lwx_gtk2_core-2.6 -lwx_base_xml-2.6 -lwx_base_net-2.6 -lwx_base-2.6 -pthread /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lSM -lICE -lXrender -lX11 -lXext /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib ../../src/Panorama/.libs/libpanorama.a /usr/lib/libpano12.so -L/usr/lib/../i686-pc-linux-gnu/lib ../../src/foreign/vigra_impex/.libs/libvigra_impex.a -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/lib /usr/lib/libpng12.so /usr/lib/libtiff.so -ljbig /usr/lib/libjpeg.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so -lz ../../src/jhead/.libs/libjhead.a ../../src/common/.libs/libcommon.a ./.libs/libhuginwxutils.a //usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/libstdc++.so -lm -lgcc_s -lc -Wl,--rpath -Wl,//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110 -Wl,--rpath -Wl,//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110
`.gnu.linkonce.t._ZN9vigra_ext14transformImageIN5vigra23ConstBasicImageIteratorIh\ PPhEENS1_26StandardConstValueAccessorIhEENS1_18BasicImageIteratorIfPPfEENS1_21\ StandardValueAccessorIfEESB_SD_NS_15RotateTransformEEEvNS1_6triple\ IT_SG_T0_EENSF_IT1_SJ_T2_EESt4pairIT3_T4_ENS1_6Diff2DERT5_NS_12\ InterpolatorERN5utils20MultiProgressDisplayE' referenced in section `.rodata' of CPEditorPanel.o: defined in discarded section `.gnu.linkonce.t._ZN9vigra_ext14transformImageIN5vigra23ConstBasicImageIteratorIh\ PPhEENS1_26StandardConstValueAccessorIhEENS1_18BasicImageIteratorIfPPfEENS1_21\ StandardValueAccessorIfEESB_SD_NS_15RotateTransformEEEvNS1_6triple\ IT_SG_T0_EENSF_IT1_SJ_T2_EESt4pairIT3_T4_ENS1_6Diff2DERT5_NS_12\ InterpolatorERN5utils20MultiProgressDisplayE' of CPEditorPanel.o
collect2: ld returned 1 exit status
|
Note that it is explicitly adding -L options for BOTH compiler versions (3.3.3, 3.4.3). I guess it got them from something-config --libs but there's definitely some confusion in the ebuilds somewhere.
| Code: |
detritus:~#i686-pc-linux-gnu-g++ --version
i686-pc-linux-gnu-g++ (GCC) 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7)
|
Edit: Split up some insanely long lines that were breaking the pagelayout. --Maedhros
Last edited by polyglot on Mon Aug 07, 2006 6:09 am; edited 1 time in total |
|
| Back to top |
|
 |
dgrant Apprentice


Joined: 28 May 2003 Posts: 158 Location: Vancouver, BC, Canada
|
Posted: Mon Aug 07, 2006 6:08 am Post subject: |
|
|
| I've built successfully but on x86. I'm rebuilding hugin right now with log output so I'll show you the log. |
|
| Back to top |
|
 |
dgrant Apprentice


Joined: 28 May 2003 Posts: 158 Location: Vancouver, BC, Canada
|
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
|
| Back to top |
|
 |
polyglot n00b

Joined: 10 Mar 2004 Posts: 55
|
Posted: Mon Aug 07, 2006 7:24 am Post subject: hugin build |
|
|
Where did you get a 0.6 ebuild? On the presumption my system was out of date, I've done an emerge --sync (still see only 0.5 as latest and I have ACCEPT_KEYWORDS="~x86") and this is the result of building hugin: http://www.rafb.net/paste/results/syvmrU84.html
It's finding latest wxGTK (unlike manual build) but gets link failures, related (I think) to Vigra. I don't have Vigra installed separately and get the impression that hugin includes it. I think I may have to start with a fresh install sometime soon and get rid of all the cruft I have leftover on the system after a couple of years of upgrades... I think I'm on my 3rd profile and I update that maybe annually. My rare upgrade cycles seem to make it worse. |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Mon Aug 07, 2006 7:37 am Post subject: |
|
|
http://bugs.gentoo.org/show_bug.cgi?id=141617
I figured why not get the 0.6 upgrade, because appear there been allots of change between 0.5 and 0.6, and I get the exact same error using hugin 0.5 ebuild in the portage tree... it does not matter if I use hugin 0.5 or 0.6 i get failure on the linker step, which I am starting to wonder if there isn't something wrong with the wxGTK library? But I've already stripped it out and rebuilt it many many time, and I've rebuilt all of the dependencies many time, still failing on the linker step.
And same here, been using this system for about 1 or so years now, including a recent fail/restore cycle, one of my hard-drive failed so i had to restore from backups, and a few things got messed up but everything else works fine. I think as a last resort i may do a full system rebuild using emerge -e world, but I doubt that it will really help anything out here.
Anyway here's a log of my hugin 0.5 failing to link, just to show that I got the same problem with 0.5 and 0.6, so I'm suspecting maybe an ebuild confusion, or maybe a wxGTK library issue?
Hmm, never mind, paste me is bombing out, for now, i'll try to repost later. |
|
| Back to top |
|
 |
polyglot n00b

Joined: 10 Mar 2004 Posts: 55
|
Posted: Mon Aug 07, 2006 8:32 am Post subject: 0.6 ebuild failure |
|
|
Here it is building 0.6 from the ebuild and getting basically the same error as 0.5: http://www.rafb.net/paste/results/ctQGz453.html
Time for a build-system-from-scratch, methinks. |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Mon Aug 07, 2006 3:22 pm Post subject: Re: 0.6 ebuild failure |
|
|
I'm going to go ahead and start the system on an emerge -e world, to see if that helps it out, by rebuilding the entire thing with all of the libraries and what so not, I don't know if it will even help or not, but its always worth a shot.
Do let me know what happens with your system rebuild, I hope a system rebuild won't be necessary, but if it is, then i guess i can always make a list of all of the ebuild that i needs/use and copy all of their specialized configuration settings to cdrom and rebuild then paste the config back into /etc and /home directory. |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Tue Aug 08, 2006 4:44 pm Post subject: |
|
|
Status update:
I just this morning completed my complete system rebuild with emerge -e world, and only two ebuild failed, one was mozilla-thunderbird for unknown reason, upon restart it compiled fine. and huspell, for openoffice, its their new spellchercker, that one failed upon not finding the CVS program or something in the ebuild/make file.
But other than that, it all successfuly recompiled and relinked, so without additional adios, tonight after work, I will recompile all of the needed packadge for hugin, which includes probably both wxGTK 2.4 and 2.6, then recompile/rebuild hugin, and hopfully it will finally link, and as a last resort, i may look into clearing up my ccache, but i doubt that its affecting anything, but at this point, I have no idea what is going on to be frank. |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Wed Aug 09, 2006 4:01 am Post subject: |
|
|
Goddamn it, it failed again with linker failure, so any one else got any progress, since pasteit seems to not like my logs, here it is again off my ISP webpage
Log for hugin 0.6 failure |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Wed Aug 09, 2006 7:33 am Post subject: |
|
|
Went ahead and opened a bugzilla report, so if any of you out there who are suffering the same problem, please report in the bugzilla report.
http://bugs.gentoo.org/show_bug.cgi?id=143297 |
|
| Back to top |
|
 |
Leio Developer


Joined: 27 Feb 2003 Posts: 142 Location: Estonia, Tallinn
|
Posted: Wed Aug 09, 2006 12:07 pm Post subject: |
|
|
As the bug report already says, using -fvisibility-inlines-hidden is a bad idea, at least with gcc-3.x
It hides many, if not all, inline class methods and that's obviously a bad thing (as they aren't internal).
Get rid of that flag (that is supported on 3.4 thanks to a backport, which obviously is broken) and rebuild wxGTK and hugin.
wxrc is missing because I switched to using wxPython tarballs for getting the wxGTK sources (they include all for the libraries just fine, so the intention is to save download time if wxpython is installed too and get subrelease updates for C++ version too) with 2.6.3.2, but that didn't include utils/wxrc.
Updating the name to 2.6.3.3 and changing the wxPython-src SRC_URI ending from gz to bz2 should get wxrc back - wxPython author added wxrc sources in that bz2ball, so it gets built automatically again.
wxrc missing usually leads to missing translations or similar. Sometimes to missing UI or build failure, though.
Not many packages use it, I know of only hugin now that is in the official portage tree. It seems that it isn't that critical, judging on dgrant's experience.
I am dealing with many other issues before bumping it all to 2.6.3.3 and I want to feel comfortable with requesting stabilization of it at some point - I don't yet with all the open bugs that reveal quite some conceptual issues on how the (e)build is handled.
Polyglot's problem seems to be something completely different. _________________ GNOME team lead; GStreamer |
|
| Back to top |
|
 |
Antimatter Guru

Joined: 11 Aug 2003 Posts: 463
|
Posted: Wed Aug 09, 2006 4:44 pm Post subject: |
|
|
Aha, thanks, always used that flag and never had a problem, but I'll go ahead and remove it to see if that assist in this problem, thanks! Will recompile the wxGTK and hugin tonight after work and see if that succed. If not, I'll go ahead and re-open the bug report with an update if that's allright with you?
And I'll go ahead and compile it without wxrc and see how it work, if it does just fine then its probably not a critical part, but if it fails, I'll go ahead and copy the ebuild to local portage tree and bump it up to 2.6.3.3 and see how that goes.
Thanks again! |
|
| Back to top |
|
 |
|
|
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
|
|