| View previous topic :: View next topic |
| Author |
Message |
gazj n00b


Joined: 18 Nov 2007 Posts: 49 Location: Cambs, UK
|
Posted: Mon Oct 19, 2009 12:10 pm Post subject: wxsvg-1.0 compile problem |
|
|
I am having problems emerging wxsvg, output as follows
| Code: | 0\"" -DPACKAGE_BUGREPORT=\"wx-svg-users@lists.sourceforge.net\" -DPACKAGE=\"wxsvgtest\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../include -I../../include/wxSVG -I/usr/include/freetype2 -O2 -march=pentium4 -pipe -DUSE_RENDER_LIBART -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libart-2.0 -O2 -march=pentium4 -pipe -O2 -march=pentium4 -pipe -DUSE_RENDER_LIBART -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread -DUSE_FFMPEG -MT SVGCanvasTextFreetype.lo -MD -MP -MF .deps/SVGCanvasTextFreetype.Tpo -c SVGCanvasTextFreetype.cpp -fPIC -DPIC -o .libs/SVGCanvasTextFreetype.o
distcc[6646] ERROR: compile (null) on localhost failed
In file included from ../../include/wxSVG/CSSStyleDeclaration.h:13,
from ../../include/wxSVG/SVGStylable.h:13,
from ../../include/wxSVG/SVGFilterPrimitiveStandardAttributes.h:12,
from ../../include/wxSVG/SVGFETurbulenceElement.h:13,
from ../../include/wxSVG/svg.h:12,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/CSSValue.h:15:25: error: wx/geometry.h: No such file or directory
In file included from ../../include/wxSVG/CSSValue.h:16,
from ../../include/wxSVG/CSSStyleDeclaration.h:13,
from ../../include/wxSVG/SVGStylable.h:13,
from ../../include/wxSVG/SVGFilterPrimitiveStandardAttributes.h:12,
from ../../include/wxSVG/SVGFETurbulenceElement.h:13,
from ../../include/wxSVG/svg.h:12,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/RGBColor.h:14:23: error: wx/colour.h: No such file or directory
In file included from ../../include/wxSVG/svg.h:94,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/SVGDocument.h:21:22: error: wx/image.h: No such file or directory
distcc[6645] ERROR: compile SVGCanvasTextFreetype.cpp on 192.168.1.10 failed
distcc[6645] (dcc_build_somewhere) Warning: remote compilation of 'SVGCanvasTextFreetype.cpp' failed, retrying locally
distcc[6645] Warning: failed to distribute SVGCanvasTextFreetype.cpp to 192.168.1.10, running locally instead
In file included from ../../include/wxSVG/CSSStyleDeclaration.h:13,
from ../../include/wxSVG/SVGStylable.h:13,
from ../../include/wxSVG/SVGFilterPrimitiveStandardAttributes.h:12,
from ../../include/wxSVG/SVGFETurbulenceElement.h:13,
from ../../include/wxSVG/svg.h:12,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/CSSValue.h:15:25: error: wx/geometry.h: No such file or directory
In file included from ../../include/wxSVG/CSSValue.h:16,
from ../../include/wxSVG/CSSStyleDeclaration.h:13,
from ../../include/wxSVG/SVGStylable.h:13,
from ../../include/wxSVG/SVGFilterPrimitiveStandardAttributes.h:12,
from ../../include/wxSVG/SVGFETurbulenceElement.h:13,
from ../../include/wxSVG/svg.h:12,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/RGBColor.h:14:23: error: wx/colour.h: No such file or directory
In file included from ../../include/wxSVG/svg.h:94,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/SVGDocument.h:21:22: error: wx/image.h: No such file or directory
In file included from ../../include/wxSVG/CSSValue.h:16,
from ../../include/wxSVG/CSSStyleDeclaration.h:13,
from ../../include/wxSVG/SVGStylable.h:13,
from ../../include/wxSVG/SVGFilterPrimitiveStandardAttributes.h:12,
from ../../include/wxSVG/SVGFETurbulenceElement.h:13,
from ../../include/wxSVG/svg.h:12,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/RGBColor.h:15: error: 'wxColour' does not name a type
In file included from ../../include/wxSVG/CSSStyleDeclaration.h:13,
from ../../include/wxSVG/SVGStylable.h:13,
from ../../include/wxSVG/SVGFilterPrimitiveStandardAttributes.h:12,
from ../../include/wxSVG/SVGFETurbulenceElement.h:13,
from ../../include/wxSVG/svg.h:12,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/CSSValue.h:89: error: ISO C++ forbids declaration of 'wxRect' with no type
../../include/wxSVG/CSSValue.h:89: error: expected ';' before '*' token
../../include/wxSVG/CSSValue.h:90: error: ISO C++ forbids declaration of 'wxRGBColor' with no type
../../include/wxSVG/CSSValue.h:90: error: expected ';' before '*' token
../../include/wxSVG/CSSValue.h:100: error: expected ',' or '...' before '&' token
../../include/wxSVG/CSSValue.h:100: error: ISO C++ forbids declaration of 'wxRect' with no type
../../include/wxSVG/CSSValue.h:102: error: expected ',' or '...' before '&' token
../../include/wxSVG/CSSValue.h:102: error: ISO C++ forbids declaration of 'wxRGBColor' with no type
../../include/wxSVG/CSSValue.h:102: error: 'wxCSSPrimitiveValue::wxCSSPrimitiveValue(int)' cannot be overloaded
../../include/wxSVG/CSSValue.h:100: error: with 'wxCSSPrimitiveValue::wxCSSPrimitiveValue(int)'
../../include/wxSVG/CSSValue.h:121: error: expected ',' or '...' before '&' token
../../include/wxSVG/CSSValue.h:121: error: ISO C++ forbids declaration of 'wxRect' with no type
../../include/wxSVG/CSSValue.h:122: error: 'wxRect' does not name a type
../../include/wxSVG/CSSValue.h:124: error: expected ',' or '...' before '&' token
../../include/wxSVG/CSSValue.h:124: error: ISO C++ forbids declaration of 'wxRGBColor' with no type
../../include/wxSVG/CSSValue.h:125: error: 'wxRGBColor' does not name a type
../../include/wxSVG/CSSValue.h: In constructor 'wxCSSPrimitiveValue::wxCSSPrimitiveValue(int)':
../../include/wxSVG/CSSValue.h:101: error: class 'wxCSSPrimitiveValue' does not have any field named 'm_rect'
../../include/wxSVG/CSSValue.h:101: error: expected type-specifier before 'wxRect'
../../include/wxSVG/CSSValue.h:101: error: expected `)' before 'wxRect'
../../include/wxSVG/CSSValue.h: In constructor 'wxCSSPrimitiveValue::wxCSSPrimitiveValue(int)':
../../include/wxSVG/CSSValue.h:103: error: class 'wxCSSPrimitiveValue' does not have any field named 'm_color'
../../include/wxSVG/CSSValue.h:103: error: expected type-specifier before 'wxRGBColor'
../../include/wxSVG/CSSValue.h:103: error: expected `)' before 'wxRGBColor'
In file included from ../../include/wxSVG/SVGPaint.h:12,
from ../../include/wxSVG/CSSStyleDeclaration.h:14,
from ../../include/wxSVG/SVGStylable.h:13,
from ../../include/wxSVG/SVGFilterPrimitiveStandardAttributes.h:12,
from ../../include/wxSVG/SVGFETurbulenceElement.h:13,
from ../../include/wxSVG/svg.h:12,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/SVGColor.h: At global scope:
../../include/wxSVG/SVGColor.h:31: error: 'wxRGBColor' does not name a type
../../include/wxSVG/SVGColor.h:41: error: expected `)' before 'color'
../../include/wxSVG/SVGColor.h:51: error: ISO C++ forbids declaration of 'wxRGBColor' with no type
../../include/wxSVG/SVGColor.h:51: error: 'wxRGBColor' declared as an 'inline' field
../../include/wxSVG/SVGColor.h:51: error: expected ';' before '&' token
../../include/wxSVG/SVGColor.h:52: error: expected `;' before 'virtual'
../../include/wxSVG/SVGColor.h:52: error: expected ',' or '...' before '&' token
../../include/wxSVG/SVGColor.h:52: error: ISO C++ forbids declaration of 'wxRGBColor' with no type
../../include/wxSVG/SVGColor.h: In constructor 'wxSVGColor::wxSVGColor(unsigned char, unsigned char, unsigned char)':
../../include/wxSVG/SVGColor.h:45: error: class 'wxSVGColor' does not have any field named 'm_rgbColor'
In file included from ../../include/wxSVG/CSSStyleDeclaration.h:14,
from ../../include/wxSVG/SVGStylable.h:13,
from ../../include/wxSVG/SVGFilterPrimitiveStandardAttributes.h:12,
from ../../include/wxSVG/SVGFETurbulenceElement.h:13,
from ../../include/wxSVG/svg.h:12,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/SVGPaint.h: At global scope:
../../include/wxSVG/SVGPaint.h:47: error: expected `)' before 'color'
../../include/wxSVG/SVGPaint.h:56: error: expected ',' or '...' before '&' token
../../include/wxSVG/SVGPaint.h:56: error: ISO C++ forbids declaration of 'wxRGBColor' with no type
In file included from ../../include/wxSVG/SVGStylable.h:13,
from ../../include/wxSVG/SVGFilterPrimitiveStandardAttributes.h:12,
from ../../include/wxSVG/SVGFETurbulenceElement.h:13,
from ../../include/wxSVG/svg.h:12,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/CSSStyleDeclaration.h:217: error: 'wxRGBColor' does not name a type
../../include/wxSVG/CSSStyleDeclaration.h:223: error: expected ',' or '...' before '&' token
../../include/wxSVG/CSSStyleDeclaration.h:223: error: ISO C++ forbids declaration of 'wxRGBColor' with no type
../../include/wxSVG/CSSStyleDeclaration.h:1141: error: 'wxRGBColor' does not name a type
../../include/wxSVG/CSSStyleDeclaration.h: In member function 'void wxCSSStyleDeclaration::SetColor(int)':
../../include/wxSVG/CSSStyleDeclaration.h:227: error: 'value' was not declared in this scope
../../include/wxSVG/CSSStyleDeclaration.h:229: error: 'value' was not declared in this scope
In file included from ../../include/wxSVG/SVGFilterPrimitiveStandardAttributes.h:12,
from ../../include/wxSVG/SVGFETurbulenceElement.h:13,
from ../../include/wxSVG/svg.h:12,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/SVGStylable.h: At global scope:
../../include/wxSVG/SVGStylable.h:61: error: expected ',' or '...' before '&' token
../../include/wxSVG/SVGStylable.h:61: error: ISO C++ forbids declaration of 'wxRGBColor' with no type
../../include/wxSVG/SVGStylable.h:62: error: 'wxRGBColor' does not name a type
../../include/wxSVG/SVGStylable.h: In member function 'void wxSVGStylable::SetColor(int)':
../../include/wxSVG/SVGStylable.h:61: error: 'value' was not declared in this scope
In file included from ../../include/wxSVG/svg.h:94,
from ../../include/wxSVG/SVGCanvasItem.h:14,
from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/SVGDocument.h: At global scope:
../../include/wxSVG/SVGDocument.h:80: error: 'wxImage' does not name a type
../../include/wxSVG/SVGDocument.h:81: error: 'wxImage' does not name a type
In file included from SVGCanvasTextFreetype.h:14,
from SVGCanvasTextFreetype.cpp:11:
../../include/wxSVG/SVGCanvasItem.h:160: error: 'wxImage' does not name a type
../../include/wxSVG/SVGCanvasItem.h: In member function 'int wxSVGCanvasImage::GetDefaultWidth()':
../../include/wxSVG/SVGCanvasItem.h:154: error: 'm_image' was not declared in this scope
../../include/wxSVG/SVGCanvasItem.h: In member function 'int wxSVGCanvasImage::GetDefaultHeight()':
../../include/wxSVG/SVGCanvasItem.h:155: error: 'm_image' was not declared in this scope
SVGCanvasTextFreetype.cpp: In member function 'virtual void wxSVGCanvasTextFreetype::InitText(const wxString&, const wxCSSStyleDeclaration&)':
SVGCanvasTextFreetype.cpp:132: error: 'wxMin' was not declared in this scope
distcc[6645] ERROR: compile SVGCanvasTextFreetype.cpp on localhost failed
make[2]: *** [SVGCanvasTextFreetype.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/wxsvg-1.0/work/wxsvg-1.0/src/freetype'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/wxsvg-1.0/work/wxsvg-1.0/src'
make: *** [all-recursive] Error 1
*
* ERROR: media-libs/wxsvg-1.0 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2813: Called _eapi2_src_compile
* ebuild.sh, line 634: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/media-libs/wxsvg-1.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/wxsvg-1.0/temp/environment'.
*
>>> Failed to emerge media-libs/wxsvg-1.0, Log file:
|
I really cannot work out what the problem is, any help is appreciated.
Thanks _________________ Gary |
|
| Back to top |
|
 |
Crenshaw Guru


Joined: 23 Jun 2004 Posts: 474 Location: Poland
|
Posted: Mon Oct 19, 2009 12:12 pm Post subject: |
|
|
1. please post emerge --info
2. try to compile without distcc |
|
| Back to top |
|
 |
gazj n00b


Joined: 18 Nov 2007 Posts: 49 Location: Cambs, UK
|
Posted: Mon Oct 19, 2009 12:17 pm Post subject: |
|
|
Thanks for the swift reply
Without distcc yields the same result unfortunately
Emerge --info
| Code: | gary@Lister ~ $ emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 19 Oct 2009 10:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p28
dev-lang/python: 2.6.2-r1
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.virginmedia.com/sites/gentoo "
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl alsa berkdb branding bzip2 cli cracklib crypt cups dri dts fortran gdbm gpm iconv ipv6 isdnlog mmx modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode x86 xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
_________________ Gary |
|
| Back to top |
|
 |
gazj n00b


Joined: 18 Nov 2007 Posts: 49 Location: Cambs, UK
|
Posted: Mon Oct 19, 2009 3:45 pm Post subject: |
|
|
Found the problem
wxGTK must be compiled with use flag X
Should I file a bug for this? _________________ Gary
Last edited by gazj on Mon Oct 19, 2009 4:34 pm; edited 1 time in total |
|
| Back to top |
|
 |
Crenshaw Guru


Joined: 23 Jun 2004 Posts: 474 Location: Poland
|
Posted: Mon Oct 19, 2009 4:18 pm Post subject: |
|
|
| gazj wrote: | Found the problem
xxGTK must be compiled with use flag X
Should I file a bug for this? |
i guess it would be nice |
|
| Back to top |
|
 |
gazj n00b


Joined: 18 Nov 2007 Posts: 49 Location: Cambs, UK
|
|
| 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
|
|