Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
redland doesn't compile [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 912
Location: Denmark

PostPosted: Thu Mar 24, 2011 3:50 pm    Post subject: redland doesn't compile [solved] Reply with quote

For some odd reason redland does not compile now and I cannot figure out why.

Code:
rdf_parser.o rdf_parser_raptor.o rdf_heuristics.o rdf_files.o rdf_utf8.o rdf_query.o rdf_query_results.o rdf_query_triples.o rdf_query_rasqal.o rdf_serializer.o rdf_serializer_raptor.o rdf_log.o rdf_storage_list.o rdf_storage_hashes.o rdf_storage_trees.o rdf_storage_file.o rdf_digest_md5.o rdf_digest_sha1.o rdf_hash_bdb.o
libtool: link: i686-pc-linux-gnu-ranlib .libs/librdf.a
libtool: link: ( cd ".libs" && rm -f "librdf.la" && ln -s "../librdf.la" "librdf.la" )
make[3]: Leaving directory `/var/tmp/portage/dev-libs/redland-1.0.10-r1/work/redland-1.0.10/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/redland-1.0.10-r1/work/redland-1.0.10/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/redland-1.0.10-r1/work/redland-1.0.10/src'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: dev-libs/redland-1.0.10-r1 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2733:  Called _eapi2_src_compile
 *     ebuild.sh, line  665:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =dev-libs/redland-1.0.10-r1',
 * the complete build log and the output of 'emerge -pqv =dev-libs/redland-1.0.10-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/redland-1.0.10-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/redland-1.0.10-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/redland-1.0.10-r1/work/redland-1.0.10'


This issue is connected to a upgrade on a package named, dev-libs/mpfr-3.0.0_p3

Information about my system.

Code:
emerge --info
Portage 2.1.9.42 (default/linux/x86/10.0/desktop/kde, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36.2 i686)
=================================================================
System uname: Linux-2.6.36.2-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-1.12.14
Timestamp of tree: Thu, 24 Mar 2011 04:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula sun-bcla-java-vm googleearth MIT X11 SGI-B-1.1 openssl as-is ZLIB AdobeFlash-10 AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.rhnet.is/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="is_IS.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="is en_GB da"
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://[2a01:348:172::1]/gentoo-portage"
USE="3G X X509 a52 aac aalib acl acpi alsa analogtv animgif atmo berkdb bidi bluetooth branding bzip2 cairo cdb cdda cddax cddb cdio cdparanoia cdr cdrom cli consolekit cracklib crypt css cups cvs cxx dbus dc1394 device-mapper dri dts dv dvb dvbplayer dvbsetup dvd dvdnav dvdr emboss encode exif extensions extras fam fat ffmpeg firefox flac fontconfig fortran fts3 gcrypt gd gdbm gdm gdu gif gimp git gnome gnome-print gnuplot gnutls gpg gphoto2 gpm graphics gsm gtk gzip gzip-el h224 h281 h323 hddtemp iconv id3 id3tag ieee1394 image image-cache imagemagick iphone ipod ipv6 jabber java javascript jbig jce jde jpeg jpeg2k kate kdcraw kde kdecards kdrive lcms ldap libass libcaca libnotify libv4l libv4l2 live lm_sensors logrotate mad matroska md5 md5sum mikmod mjpeg mng modules mp3 mp3tunes mp4 mpeg mplayer msn msql mudflap nas ncurses nls nptl nptlonly nsplugin nvidia ocrad ogg ogg123 ogm opengl openmp pam pango pcre pdf perl pidgin png policykit postgres ppds pppd pulseaudio python qt3support qt4 quicktime rar raw readline reports rtsp samba sdl sdl-image sdl-sound sdlaudio seamonkey secure-delete semantic-desktop session sip smartcard smp sms sndfile snmp spamassassin spell sqlite srt srtp sse ssl startup-notification stream subversion svg svga svgz sysfs system-sqlite tcpd teletext theora tiff truetype udev unicode usb v4l v4l2 vcard vcd vcdx vorbis wav win32codecs wma wma-fixed wmf x264 x86 xcb xine xinerama xml xorg xulrunner xv xvid yahoo youtube zip zlib zvbi" 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 cgi cgid 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" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse edev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="is en_GB da" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Thanks for the help.

Edit: Fixed the title of the post.


Last edited by jonfr on Fri Mar 25, 2011 6:59 pm; edited 2 times in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5438

PostPosted: Thu Mar 24, 2011 8:08 pm    Post subject: Reply with quote

Note, that you failed to post the actual error.
Back to top
View user's profile Send private message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 912
Location: Denmark

PostPosted: Thu Mar 24, 2011 8:19 pm    Post subject: Reply with quote

VoidMage wrote:
Note, that you failed to post the actual error.


The compile error is in the top box code box in the first post.

But here is a longer output from the compile process.

Code:
/bin/sh ../libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -IUse eselect to set postgresql version -I/usr/include/db4.8 -I/usr/include/db4.8 -I/usr/include/rasqal       -DLIBRDF_MODULE_DIR="\"/usr/lib/redland\"" -DLIBRDF_INTERNAL=1 -march=athlon64 -O2 -pipe -c -o librdf_storage_postgresql_la-rdf_storage_postgresql.lo `test -f 'rdf_storage_postgresql.c' || echo './'`rdf_storage_postgresql.c
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -IUse eselect to set postgresql version -I/usr/include/db4.8 -I/usr/include/db4.8 -I/usr/include/rasqal -DLIBRDF_MODULE_DIR=\"/usr/lib/redland\" -DLIBRDF_INTERNAL=1 -march=athlon64 -O2 -pipe -c rdf_storage_postgresql.c  -fPIC -DPIC -o .libs/librdf_storage_postgresql_la-rdf_storage_postgresql.o
i686-pc-linux-gnu-gcc: eselect: No such file or directory
i686-pc-linux-gnu-gcc: to: No such file or directory
i686-pc-linux-gnu-gcc: set: No such file or directory
i686-pc-linux-gnu-gcc: postgresql: No such file or directory
i686-pc-linux-gnu-gcc: version: No such file or directory
/bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc -I/usr/include/db4.8 -I/usr/include/rasqal       -DLIBRDF_MODULE_DIR="\"/usr/lib/redland\"" -DLIBRDF_INTERNAL=1 -march=athlon64 -O2 -pipe -version-info 0:0:0 -Wl,-O1 -Wl,--as-needed -lrasqal -lraptor   -lraptor    -ldl  -Wl,-O1 -Wl,--as-needed -ldb-4.8  -Wl,-O1 -Wl,--as-needed -o librdf.la -rpath /usr/lib rdf_init.lo rdf_raptor.lo rdf_uri.lo rdf_node.lo rdf_statement.lo rdf_digest.lo rdf_hash.lo rdf_hash_cursor.lo rdf_hash_memory.lo rdf_model.lo rdf_model_storage.lo rdf_iterator.lo rdf_concepts.lo rdf_avltree.lo rdf_cache.lo rdf_list.lo rdf_storage.lo rdf_storage_sql.lo rdf_stream.lo rdf_parser.lo rdf_parser_raptor.lo rdf_heuristics.lo rdf_files.lo rdf_utf8.lo rdf_query.lo rdf_query_results.lo rdf_query_triples.lo rdf_query_rasqal.lo rdf_serializer.lo rdf_serializer_raptor.lo rdf_log.lo  rdf_storage_list.lo rdf_storage_hashes.lo rdf_storage_trees.lo rdf_storage_file.lo      rdf_digest_md5.lo rdf_digest_sha1.lo  rdf_hash_bdb.lo -lltdl -ldl  -Wl,-O1 -Wl,--as-needed -ldb-4.8
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/db4.8 -I/usr/include/db4.8 -I/usr/include/rasqal -DLIBRDF_MODULE_DIR=\"/usr/lib/redland\" -DLIBRDF_INTERNAL=1 -march=athlon64 -O2 -pipe -c rdf_storage_sqlite.c -o librdf_storage_sqlite_la-rdf_storage_sqlite.o >/dev/null 2>&1
rdf_storage_postgresql.c:46:22: error: libpq-fe.h: No such file or directory
rdf_storage_postgresql.c:58: error: expected specifier-qualifier-list before 'PGconn'
rdf_storage_postgresql.c:85: error: expected specifier-qualifier-list before 'PGconn'
rdf_storage_postgresql.c:150: error: expected specifier-qualifier-list before 'PGconn'
rdf_storage_postgresql.c:160: error: expected specifier-qualifier-list before 'PGconn'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_finish_connections':
rdf_storage_postgresql.c:282: error: 'librdf_storage_postgresql_connection' has no member named 'handle'
rdf_storage_postgresql.c: At top level:
rdf_storage_postgresql.c:304: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
rdf_storage_postgresql.c:403: error: expected declaration specifiers or '...' before 'PGconn'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_release_handle':
rdf_storage_postgresql.c:409: error: 'handle' undeclared (first use in this function)
rdf_storage_postgresql.c:409: error: (Each undeclared identifier is reported only once
rdf_storage_postgresql.c:409: error: for each function it appears in.)
rdf_storage_postgresql.c:414: error: 'librdf_storage_postgresql_connection' has no member named 'handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_init':
rdf_storage_postgresql.c:496: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:496: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:497: error: 'PGconn' undeclared (first use in this function)
rdf_storage_postgresql.c:497: error: 'handle' undeclared (first use in this function)
rdf_storage_postgresql.c:569: error: 'res2' undeclared (first use in this function)
rdf_storage_postgresql.c:571: error: 'PGRES_COMMAND_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:572: error: 'PG_DIAG_SQLSTATE' undeclared (first use in this function)
rdf_storage_postgresql.c:644: error: 'PGRES_TUPLES_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:677: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_merge':
rdf_storage_postgresql.c:705: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:705: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:707: error: 'PGconn' undeclared (first use in this function)
rdf_storage_postgresql.c:707: error: 'handle' undeclared (first use in this function)
rdf_storage_postgresql.c:722: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:731: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:739: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:754: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:761: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_terminate':
rdf_storage_postgresql.c:802: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_size':
rdf_storage_postgresql.c:879: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:879: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:881: error: 'PGconn' undeclared (first use in this function)
rdf_storage_postgresql.c:881: error: 'handle' undeclared (first use in this function)
rdf_storage_postgresql.c:892: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:907: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:913: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_node_hash':
rdf_storage_postgresql.c:966: error: 'PGconn' undeclared (first use in this function)
rdf_storage_postgresql.c:966: error: 'handle' undeclared (first use in this function)
rdf_storage_postgresql.c:967: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:967: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:1001: error: 'PGRES_COMMAND_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:1004: error: 'PG_DIAG_SQLSTATE' undeclared (first use in this function)
rdf_storage_postgresql.c:1022: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:1046: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:1133: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:1184: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:1190: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:1194: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_context_add_statement_helper':
rdf_storage_postgresql.c:1334: error: 'PGconn' undeclared (first use in this function)
rdf_storage_postgresql.c:1334: error: 'handle' undeclared (first use in this function)
rdf_storage_postgresql.c:1352: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:1352: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:1357: error: 'PGRES_COMMAND_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:1371: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_contains_statement':
rdf_storage_postgresql.c:1393: error: 'PGconn' undeclared (first use in this function)
rdf_storage_postgresql.c:1393: error: 'handle' undeclared (first use in this function)
rdf_storage_postgresql.c:1413: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:1413: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:1415: error: 'PGRES_TUPLES_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:1428: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_context_remove_statement':
rdf_storage_postgresql.c:1470: error: 'PGconn' undeclared (first use in this function)
rdf_storage_postgresql.c:1470: error: 'handle' undeclared (first use in this function)
rdf_storage_postgresql.c:1501: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:1501: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:1503: error: 'PGRES_COMMAND_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:1519: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_context_remove_statements':
rdf_storage_postgresql.c:1543: error: 'PGconn' undeclared (first use in this function)
rdf_storage_postgresql.c:1543: error: 'handle' undeclared (first use in this function)
rdf_storage_postgresql.c:1563: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:1563: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:1565: error: 'PGRES_COMMAND_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:1580: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_find_statements_with_options':
rdf_storage_postgresql.c:1706: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:1709: error: 'librdf_storage_postgresql_sos_context' has no member named 'is_literal_match'
rdf_storage_postgresql.c:1713: error: 'librdf_storage_postgresql_sos_context' has no member named 'handle'
rdf_storage_postgresql.c:1714: error: 'librdf_storage_postgresql_sos_context' has no member named 'handle'
rdf_storage_postgresql.c:1726: error: 'librdf_storage_postgresql_sos_context' has no member named 'is_literal_match'
rdf_storage_postgresql.c:1781: error: 'librdf_storage_postgresql_sos_context' has no member named 'is_literal_match'
rdf_storage_postgresql.c:1878: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:1878: error: 'librdf_storage_postgresql_sos_context' has no member named 'handle'
rdf_storage_postgresql.c:1880: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:1881: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:1881: error: 'PGRES_TUPLES_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:1883: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:1889: error: 'librdf_storage_postgresql_sos_context' has no member named 'handle'
rdf_storage_postgresql.c:1894: error: 'librdf_storage_postgresql_sos_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:1895: error: 'librdf_storage_postgresql_sos_context' has no member named 'row'
rdf_storage_postgresql.c:1895: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_find_statements_in_context_next_statement':
rdf_storage_postgresql.c:1957: error: 'librdf_storage_postgresql_sos_context' has no member named 'row'
rdf_storage_postgresql.c:1962: error: 'librdf_storage_postgresql_sos_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:1962: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:1963: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:1964: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:1964: error: 'librdf_storage_postgresql_sos_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:1972: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:1972: error: 'librdf_storage_postgresql_sos_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:1978: error: 'librdf_storage_postgresql_sos_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:1978: error: 'librdf_storage_postgresql_sos_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:1988: error: 'librdf_storage_postgresql_sos_context' has no member named 'is_literal_match'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_find_statements_in_context_finished':
rdf_storage_postgresql.c:2146: error: 'librdf_storage_postgresql_sos_context' has no member named 'row'
rdf_storage_postgresql.c:2147: error: 'librdf_storage_postgresql_sos_context' has no member named 'row'
rdf_storage_postgresql.c:2150: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:2151: error: 'librdf_storage_postgresql_sos_context' has no member named 'results'
rdf_storage_postgresql.c:2153: error: 'librdf_storage_postgresql_sos_context' has no member named 'handle'
rdf_storage_postgresql.c:2154: error: 'librdf_storage_postgresql_sos_context' has no member named 'handle'
rdf_storage_postgresql.c:2154: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_get_contexts':
rdf_storage_postgresql.c:2210: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2213: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'handle'
rdf_storage_postgresql.c:2214: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'handle'
rdf_storage_postgresql.c:2227: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2227: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'handle'
rdf_storage_postgresql.c:2229: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2230: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2230: error: 'PGRES_TUPLES_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:2232: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2238: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'handle'
rdf_storage_postgresql.c:2243: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:2244: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'row'
rdf_storage_postgresql.c:2244: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_get_contexts_next_context':
rdf_storage_postgresql.c:2283: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'row'
rdf_storage_postgresql.c:2288: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:2288: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2289: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2290: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2290: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:2298: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2298: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:2303: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'current_rowno'
rdf_storage_postgresql.c:2303: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'current_rowno'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_get_contexts_finished':
rdf_storage_postgresql.c:2376: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'row'
rdf_storage_postgresql.c:2377: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'row'
rdf_storage_postgresql.c:2379: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2380: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'results'
rdf_storage_postgresql.c:2382: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'handle'
rdf_storage_postgresql.c:2383: error: 'librdf_storage_postgresql_get_contexts_context' has no member named 'handle'
rdf_storage_postgresql.c:2383: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_transaction_start':
rdf_storage_postgresql.c:2450: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:2450: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:2454: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2460: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2461: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2467: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2469: error: 'PGRES_COMMAND_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:2478: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2482: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2482: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:2483: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_transaction_commit':
rdf_storage_postgresql.c:2521: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:2521: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:2525: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2528: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2530: error: 'PGRES_COMMAND_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:2539: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2542: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2542: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:2543: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_transaction_rollback':
rdf_storage_postgresql.c:2563: error: 'PGresult' undeclared (first use in this function)
rdf_storage_postgresql.c:2563: error: 'res' undeclared (first use in this function)
rdf_storage_postgresql.c:2567: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2570: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2572: error: 'PGRES_COMMAND_OK' undeclared (first use in this function)
rdf_storage_postgresql.c:2581: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2584: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c:2584: error: too many arguments to function 'librdf_storage_postgresql_release_handle'
rdf_storage_postgresql.c:2585: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
rdf_storage_postgresql.c: In function 'librdf_storage_postgresql_transaction_get_handle':
rdf_storage_postgresql.c:2606: error: 'librdf_storage_postgresql_instance' has no member named 'transaction_handle'
make[3]: *** [librdf_storage_postgresql_la-rdf_storage_postgresql.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: link: i686-pc-linux-gnu-gcc -shared  .libs/rdf_init.o .libs/rdf_raptor.o .libs/rdf_uri.o .libs/rdf_node.o .libs/rdf_statement.o .libs/rdf_digest.o .libs/rdf_hash.o .libs/rdf_hash_cursor.o .libs/rdf_hash_memory.o .libs/rdf_model.o .libs/rdf_model_storage.o .libs/rdf_iterator.o .libs/rdf_concepts.o .libs/rdf_avltree.o .libs/rdf_cache.o .libs/rdf_list.o .libs/rdf_storage.o .libs/rdf_storage_sql.o .libs/rdf_stream.o .libs/rdf_parser.o .libs/rdf_parser_raptor.o .libs/rdf_heuristics.o .libs/rdf_files.o .libs/rdf_utf8.o .libs/rdf_query.o .libs/rdf_query_results.o .libs/rdf_query_triples.o .libs/rdf_query_rasqal.o .libs/rdf_serializer.o .libs/rdf_serializer_raptor.o .libs/rdf_log.o .libs/rdf_storage_list.o .libs/rdf_storage_hashes.o .libs/rdf_storage_trees.o .libs/rdf_storage_file.o .libs/rdf_digest_md5.o .libs/rdf_digest_sha1.o .libs/rdf_hash_bdb.o   /usr/lib/librasqal.so -L/usr/lib -lpcre /usr/lib/libmpfr.so /usr/lib/libgmp.so /usr/lib/libraptor.so /usr/lib/libxslt.so /usr/lib/libxml2.so -lz -lm /usr/lib/libltdl.so -ldl -Wl,--as-needed /usr/lib/libdb-4.8.so -lpthread  -march=athlon64 -Wl,-O1 -Wl,-O1 -Wl,-O1 -Wl,-O1   -Wl,-soname -Wl,librdf.so.0 -o .libs/librdf.so.0.0.0
libtool: link: (cd ".libs" && rm -f "librdf.so.0" && ln -s "librdf.so.0.0.0" "librdf.so.0")
libtool: link: (cd ".libs" && rm -f "librdf.so" && ln -s "librdf.so.0.0.0" "librdf.so")
libtool: link: i686-pc-linux-gnu-ar cru .libs/librdf.a  rdf_init.o rdf_raptor.o rdf_uri.o rdf_node.o rdf_statement.o rdf_digest.o rdf_hash.o rdf_hash_cursor.o rdf_hash_memory.o rdf_model.o rdf_model_storage.o rdf_iterator.o rdf_concepts.o rdf_avltree.o rdf_cache.o rdf_list.o rdf_storage.o rdf_storage_sql.o rdf_stream.o rdf_parser.o rdf_parser_raptor.o rdf_heuristics.o rdf_files.o rdf_utf8.o rdf_query.o rdf_query_results.o rdf_query_triples.o rdf_query_rasqal.o rdf_serializer.o rdf_serializer_raptor.o rdf_log.o rdf_storage_list.o rdf_storage_hashes.o rdf_storage_trees.o rdf_storage_file.o rdf_digest_md5.o rdf_digest_sha1.o rdf_hash_bdb.o
libtool: link: i686-pc-linux-gnu-ranlib .libs/librdf.a
libtool: link: ( cd ".libs" && rm -f "librdf.la" && ln -s "../librdf.la" "librdf.la" )
make[3]: Leaving directory `/var/tmp/portage/dev-libs/redland-1.0.10-r1/work/redland-1.0.10/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/redland-1.0.10-r1/work/redland-1.0.10/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/redland-1.0.10-r1/work/redland-1.0.10/src'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: dev-libs/redland-1.0.10-r1 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2733:  Called _eapi2_src_compile
 *     ebuild.sh, line  665:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =dev-libs/redland-1.0.10-r1',
 * the complete build log and the output of 'emerge -pqv =dev-libs/redland-1.0.10-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/redland-1.0.10-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/redland-1.0.10-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/redland-1.0.10-r1/work/redland-1.0.10'

>>> Failed to emerge dev-libs/redland-1.0.10-r1, Log file:

>>>  '/var/tmp/portage/dev-libs/redland-1.0.10-r1/temp/build.log'

 * Messages for package dev-libs/redland-1.0.10-r1:

 * ERROR: dev-libs/redland-1.0.10-r1 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2733:  Called _eapi2_src_compile
 *     ebuild.sh, line  665:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =dev-libs/redland-1.0.10-r1',
 * the complete build log and the output of 'emerge -pqv =dev-libs/redland-1.0.10-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/redland-1.0.10-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/redland-1.0.10-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/redland-1.0.10-r1/work/redland-1.0.10'
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8855

PostPosted: Fri Mar 25, 2011 2:42 am    Post subject: Reply with quote

jonfr wrote:
The compile error is in the top box code box in the first post.
The report that an error occurred is in the first post. The text that describes the exact nature of the error was not.
jonfr wrote:
Code:
/bin/sh ../libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -IUse eselect to set postgresql version -I/usr/include/db4.8 -I/usr/include/db4.8 -I/usr/include/rasqal       -DLIBRDF_MODULE_DIR="\"/usr/lib/redland\"" -DLIBRDF_INTERNAL=1 -march=athlon64 -O2 -pipe -c -o librdf_storage_postgresql_la-rdf_storage_postgresql.lo `test -f 'rdf_storage_postgresql.c' || echo './'`rdf_storage_postgresql.c
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -IUse eselect to set postgresql version -I/usr/include/db4.8 -I/usr/include/db4.8 -I/usr/include/rasqal -DLIBRDF_MODULE_DIR=\"/usr/lib/redland\" -DLIBRDF_INTERNAL=1 -march=athlon64 -O2 -pipe -c rdf_storage_postgresql.c  -fPIC -DPIC -o .libs/librdf_storage_postgresql_la-rdf_storage_postgresql.o
i686-pc-linux-gnu-gcc: eselect: No such file or directory
i686-pc-linux-gnu-gcc: to: No such file or directory
i686-pc-linux-gnu-gcc: set: No such file or directory
i686-pc-linux-gnu-gcc: postgresql: No such file or directory
i686-pc-linux-gnu-gcc: version: No such file or directory
This appears to be the same error as reported in Cannot emerge postfix 2.7.3. The package to install differs, but the failure to get a sane -I line when searching for Postgres matches.
Back to top
View user's profile Send private message
jonfr
l33t
l33t


Joined: 20 Jul 2003
Posts: 912
Location: Denmark

PostPosted: Fri Mar 25, 2011 6:59 pm    Post subject: Reply with quote

Solved. See fix here.

http://forums.gentoo.org/viewtopic.php?p=6626575#6626575
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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