Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 2010 05:23:38 -0700
From:      <david@vizion2000.net>
To:        "'Max Brazhnikov'" <makc@issp.ac.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   RE: kdelibs4 [4.4.5] compile failure for 4.4.4 repeated
Message-ID:  <CDB1F6D76693404E802AD93514FA2815@graphics>
In-Reply-To: <201007011557.01037.makc@issp.ac.ru>
References:  <DB7A0C53EE534512B39D83FED5449CF3@graphics><201007011442.29982.makc@issp.ac.ru><4B10D00CB0ED4AA08373D79CDFCC9DB6@graphics> <201007011557.01037.makc@issp.ac.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
 

> -----Original Message-----
> From: owner-freebsd-ports@freebsd.org 
> [mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Max Brazhnikov
> Sent: 01 July 2010 04:57
> To: david@vizion2000.net
> Cc: freebsd-ports@freebsd.org
> Subject: Re: kdelibs4 [4.4.5] compile failure for 4.4.4 repeated
> 
> On Thu, 1 Jul 2010 03:52:33 -0700, david@vizion2000.net wrote:
> > Just attempting to rebuild kdelibs4 now. In the early part of the 
> > compile there is a report (Summarised) saying
> > 
> > "The following optional packages could NIOT be located on 
> your system"
> > 
> > Soprano (2.3.70 or higher)   [pkg_info actually shows soprano-2.4.3
> > installed)
> > Soprano Redland Backend      [How is this and the following 
> two installed?}
> 
> Have you rebuilt soprano as I suggested?

Yes three times!!
> make sure you have 
> not set WITHOUT_REDLAND in /var/db/ports/soprano/options or 
> in make.conf
> 
.
.(Stuff cut out)
.
> 
> Something is wrong with your soprano installation.
soprano/options reads;

Very weird - I have just rebuild akonadi and that finds soprano without
difficulty!! After akonadi rebuild I tried again with kdelibs4 and early in
the compile it still reports it cannot locate soprano. I am waiting now to
see whether we get the same build failure. We do!! :-(


soprano/options reads;
_____________________________________________________
# This file is auto-generated by 'make config'
# No user-serviceable parts inside!
# Options for soprano-2.4.3
_OPTIONS_READ=soprano-2.4.3
WITHOUT_SESAME2=true
_____________________________________________________

I have also tried compiling after choosing the make config option to turn
sesame2 on. No other options are offered.
With the Makefile as is should Redland be turned on?
The Makefile reads:

# New ports collection Makefile for:	soprano
# Date created:				2008-01-18
# Whom:					arved
#
# $FreeBSD: ports/textproc/soprano/Makefile,v 1.11 2010/05/11 12:40:01
fluffy Exp $

PORTNAME=	soprano
PORTVERSION=	2.4.3
CATEGORIES?=	textproc
MASTER_SITES=	SF/${PORTNAME}/Soprano/${PORTVERSION}

MAINTAINER=	kde@FreeBSD.org
COMMENT=	QT4 RDF framework

LIB_DEPENDS=	clucene.0:${PORTSDIR}/textproc/clucene \
		raptor.3:${PORTSDIR}/textproc/raptor

#OPTIONS+=	REDLAND "Use Redland as storage backend (required for KDE4)"
on
#OPTIONS+=	VIRTUOSO "Use libiodbc/virtuoso as storage backend (required
for KDE4)" on
OPTIONS+=	SESAME2 "Use Sesame2 as storage backend (requires Java)" off

USE_BZIP2=	yes
USE_QT_VER=	4
QT_COMPONENTS=	corelib dbus qtestlib network \
		qmake_build moc_build uic_build rcc_build
USE_GNOME=	pkgconfig
USE_LDCONFIG=	yes
USE_CMAKE=	yes

.include <bsd.port.options.mk>

.if !defined(WITHOUT_REDLAND)
LIB_DEPENDS+=	rdf.0:${PORTSDIR}/textproc/redland
PLIST_SUB+=	REDLAND=""
.else
CMAKE_ARGS+=	-DSOPRANO_DISABLE_REDLAND_BACKEND=yes
PLIST_SUB+=	REDLAND="@comment "
.endif

.if !defined(WITHOUT_VIRTUOSO)
LIB_DEPENDS+=	iodbc.3:${PORTSDIR}/databases/libiodbc
PLIST_SUB+=	VIRTUOSO=""
.else
CMAKE_ARGS+=	-DSOPRANO_DISABLE_VIRTUOSO_BACKEND=yes
PLIST_SUB+=	VIRTUOSO="@comment "
.endif

.if defined(WITH_SESAME2)
CATEGORIES+=	java
CMAKE_ENV+=	JAVA_HOME=${JAVA_HOME}
USE_JAVA=	yes
JAVA_VERSION=	1.5+
JAVA_OS=	native
PLIST_SUB+=	SESAME2=""
.else
CMAKE_ARGS+=	-DSOPRANO_DISABLE_SESAME2_BACKEND=yes
PLIST_SUB+=	SESAME2="@comment "
.endif

.include <bsd.port.pre.mk>

post-patch:
	${REINPLACE_CMD} -E -e "s,$${LIB_SUFFIX}/pkgconfig,data/pkgconfig,"
\
		-e 's,VERSION STR(LESS|EQUAL|GREATER) "([^"]+)",VERSION
VERSION_\1 \2,g' \
		${WRKSRC}/CMakeLists.txt
	${REINPLACE_CMD} -e "s,soprano/cmake,cmake/Modules," \
		${WRKSRC}/cmake/modules/CMakeLists.txt

post-install:
.if defined(WITH_VIRTUOSO)
	@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.post.mk>






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CDB1F6D76693404E802AD93514FA2815>