From: david on
Hi
Thank you in advance for any solutions

There seems to be a problem with Redland. When building Soprano it reports
*Soprano components that will NOT be built:
*Redland storage backend (missing librdf/redland - http://librdf.org

David

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Doug Barton on
On 07/02/10 14:20, david(a)vizion2000.net wrote:
> Hi
> Thank you in advance for any solutions
>
> There seems to be a problem with Redland. When building Soprano it reports
> *Soprano components that will NOT be built:
> *Redland storage backend (missing librdf/redland - http://librdf.org

You keep posting basically the same message over and over, but you're
ignoring the suggestions of the people who have told you how to solve
your problem. You need to do exactly this:

Make sure that your ports tree is up to date
pkg_delete -f redland* raptor* soprano* kdelibs*
cd /var/db/ports && rm -rf redland* raptor* soprano* kdelibs*
cd /usr/ports/textproc/soprano && make clean && make install clean
cd /usr/ports/x11/kdelibs4 && make clean && make install clean

When building these ports you will be presented with various blue and
grey screens with options. Unless you know exactly what you're changing
and why you're changing it, don't make any changes to them, just accept
the defaults (I.e., just hit <Tab> then <Enter>).

If this doesn't work for you, repeat the whole process but for the last
2 steps where it says "make install clean" instead do this both times:

make -DDISABLE_MAKE_JOBS -DCMAKE_VERBOSE install clean

and report what error messages you get.

Please don't post any more messages about this topic until you've
followed the steps above unless you have a question about how to follow
the steps.


Good luck,

Doug

--

... and that's just a little bit of history repeating.
-- Propellerheads

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "David Southwell" on


> -----Original Message-----
> From: owner-freebsd-ports(a)freebsd.org
> [mailto:owner-freebsd-ports(a)freebsd.org] On Behalf Of Doug Barton
> Sent: 02 July 2010 14:42
> To: david(a)vizion2000.net
> Cc: freebsd-ports(a)freebsd.org
> Subject: Re: Redland compile error missing librdf
>
> On 07/02/10 14:20, david(a)vizion2000.net wrote:
> > Hi
> > Thank you in advance for any solutions
> >
> > There seems to be a problem with Redland. When building Soprano it
> > reports *Soprano components that will NOT be built:
> > *Redland storage backend (missing librdf/redland - http://librdf.org
>
> You keep posting basically the same message over and over,
> but you're ignoring the suggestions of the people who have
> told you how to solve your problem. You need to do exactly this:
>
> Make sure that your ports tree is up to date pkg_delete -f
> redland* raptor* soprano* kdelibs* cd /var/db/ports && rm -rf
> redland* raptor* soprano* kdelibs* cd
> /usr/ports/textproc/soprano && make clean && make install
> clean cd /usr/ports/x11/kdelibs4 && make clean && make install clean
>
> When building these ports you will be presented with various
> blue and grey screens with options. Unless you know exactly
> what you're changing and why you're changing it, don't make
> any changes to them, just accept the defaults (I.e., just hit
> <Tab> then <Enter>).
>
> If this doesn't work for you, repeat the whole process but
> for the last
> 2 steps where it says "make install clean" instead do this both times:
>
> make -DDISABLE_MAKE_JOBS -DCMAKE_VERBOSE install clean
>
> and report what error messages you get.
>
> Please don't post any more messages about this topic until
> you've followed the steps above unless you have a question
> about how to follow the steps.
>
>
> Good luck,
>
> Doug
>
> --
Hi Doug

Thanks for your comments. I have already done those things (see below one
example of my responses to the help received from Max) and posted the
results including an output of "make -DDISABLE_MAKE_JOBS -DCMAKE_VERBOSE"
from the failed kdelibs4 build has been posted at
ftp.vizion2000.net/pub/compile_kdelibs4

Max has been good enough to look at that output and give me his take upon it
(see ***example*** ).

Since then I have again repeated all the steps you indicated with no result.
As this is the first time you have tried to help I am not surprised you do
not realise all the work that has gone before or that everything you have
suggested has already been done multiple times. In the circumstances your
stricture not to post any more on the topic seems out of character with
previous very helpful & constructive contributions.

I also note your instructions do differ from those suggested by others which
did not include the sensible idea of removing relevant saved configuration
options from /var/db. Max's postings suggested that redland & raptor should
be deinstalled and rebuilt before compiling soprano and kdelibs4. So maybe
there are conflicting ideas about this. Incidentally when cleaning soprano
the console reports shows that the following files do not exist:
'/usr/local/lib/soprano/libsoprano_redlandbackend.so &
/usr/local/share/soprano/plugins/redlandbackend.desktop

Possibly the problem has not been entirely solved not because advised steps
have not been followed but maybe some, as yet unidentified factor, is
inhibiting that solution from working.

However it is not all gloom and doom but the problem is not completely
solved. In the meanwhile I have mot been sitting back and waiting for a
knight on a white charger to solve the issues. I have some progess to report
but not enough to resolve the redland/soprano issues.
After
I deinstalled and made clean the following:
all kde ports
ImageMagick
GraphicsMagick
all qt4 ports

I then followed Max's instructions:
"Rebuild redland\*, raptor\*, soprano\*, and then kdelibs."
but as raptor is now built as a dependency let the raptor build happen that
way. pkg_info -o 'redland*' 'raptor*' 'soprano*' all showed lastest versions
have been installed.

kdelibs-4.4.5 then built!!

However soprano reports had not changed. So the simple posting was made to
focus attention on the error that still occurred AFTER all recomendations
had been followed!

"There seems to be a problem with Redland. When building Soprano it
> > reports *Soprano components that will NOT be built:
> > *Redland storage backend (missing librdf/redland - http://librdf.org
"

So the question remains -- why should this be?

This affects kdegraphics4 where the build fails with:

could not find Nepomuk (missing: NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR
SOPRANO_PLUGIN_REDLANDBACKEND_FOUND)

..
..
stop in /usr/ports/graphics/kdegraphics4


Thanks in advance for constructive comments

david

___________________________________________________________________
***example***
_________________________________________________________________

> -----Original Message-----
> From: owner-freebsd-ports(a)freebsd.org
> [mailto:owner-freebsd-ports(a)freebsd.org] On Behalf Of Max Brazhnikov
> Sent: 01 July 2010 04:57
> To: david(a)vizion2000.net
> Cc: freebsd-ports(a)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(a)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(a)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>


_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "David Southwell" on


> -----Original Message-----
> From: owner-freebsd-ports(a)freebsd.org
> [mailto:owner-freebsd-ports(a)freebsd.org] On Behalf Of David Southwell
> Sent: 03 July 2010 04:29
> To: 'Doug Barton'
> Cc: freebsd-ports(a)freebsd.org
> Subject: RE: Redland compile error missing librdf
>
>
>
> > -----Original Message-----
> > From: owner-freebsd-ports(a)freebsd.org
> > [mailto:owner-freebsd-ports(a)freebsd.org] On Behalf Of Doug Barton
> > Sent: 02 July 2010 14:42
> > To: david(a)vizion2000.net
> > Cc: freebsd-ports(a)freebsd.org
> > Subject: Re: Redland compile error missing librdf
> >
> > On 07/02/10 14:20, david(a)vizion2000.net wrote:
> > > Hi
> > > Thank you in advance for any solutions
> > >
> > > There seems to be a problem with Redland. When building
> Soprano it
> > > reports *Soprano components that will NOT be built:
> > > *Redland storage backend (missing librdf/redland -
> http://librdf.org
> >
> > You keep posting basically the same message over and over,
> but you're
> > ignoring the suggestions of the people who have told you
> how to solve
> > your problem. You need to do exactly this:
> >
> > Make sure that your ports tree is up to date pkg_delete -f
> > redland* raptor* soprano* kdelibs* cd /var/db/ports && rm -rf
> > redland* raptor* soprano* kdelibs* cd
> /usr/ports/textproc/soprano &&
> > make clean && make install clean cd /usr/ports/x11/kdelibs4 && make
> > clean && make install clean
> >
> > When building these ports you will be presented with
> various blue and
> > grey screens with options. Unless you know exactly what you're
> > changing and why you're changing it, don't make any changes
> to them,
> > just accept the defaults (I.e., just hit <Tab> then <Enter>).
> >
> > If this doesn't work for you, repeat the whole process but for the
> > last
> > 2 steps where it says "make install clean" instead do this
> both times:
> >
> > make -DDISABLE_MAKE_JOBS -DCMAKE_VERBOSE install clean
> >
> > and report what error messages you get.
> >
> > Please don't post any more messages about this topic until you've
> > followed the steps above unless you have a question about how to
> > follow the steps.
> >
> >
> > Good luck,
> >
> > Doug
> >
> > --
> Hi Doug
>
> Thanks for your comments. I have already done those things
> (see below one
> example of my responses to the help received from Max) and posted the
> results including an output of "make -DDISABLE_MAKE_JOBS
> -DCMAKE_VERBOSE"
> from the failed kdelibs4 build has been posted at
> ftp.vizion2000.net/pub/compile_kdelibs4
>
> Max has been good enough to look at that output and give me
> his take upon it
> (see ***example*** ).
>
> Since then I have again repeated all the steps you indicated
> with no result.
> As this is the first time you have tried to help I am not
> surprised you do
> not realise all the work that has gone before or that
> everything you have
> suggested has already been done multiple times. In the
> circumstances your
> stricture not to post any more on the topic seems out of
> character with
> previous very helpful & constructive contributions.
>
> I also note your instructions do differ from those suggested
> by others which
> did not include the sensible idea of removing relevant saved
> configuration
> options from /var/db. Max's postings suggested that redland &
> raptor should
> be deinstalled and rebuilt before compiling soprano and
> kdelibs4. So maybe
> there are conflicting ideas about this. Incidentally when
> cleaning soprano
> the console reports shows that the following files do not exist:
> '/usr/local/lib/soprano/libsoprano_redlandbackend.so &
> /usr/local/share/soprano/plugins/redlandbackend.desktop
>
> Possibly the problem has not been entirely solved not because
> advised steps
> have not been followed but maybe some, as yet unidentified factor, is
> inhibiting that solution from working.
>
> However it is not all gloom and doom but the problem is not completely
> solved. In the meanwhile I have mot been sitting back and
> waiting for a
> knight on a white charger to solve the issues. I have some
> progess to report
> but not enough to resolve the redland/soprano issues.
> After
> I deinstalled and made clean the following:
> all kde ports
> ImageMagick
> GraphicsMagick
> all qt4 ports
>
> I then followed Max's instructions:
> "Rebuild redland\*, raptor\*, soprano\*, and then kdelibs."
> but as raptor is now built as a dependency let the raptor
> build happen that
> way. pkg_info -o 'redland*' 'raptor*' 'soprano*' all showed
> lastest versions
> have been installed.
>
> kdelibs-4.4.5 then built!!
>
> However soprano reports had not changed. So the simple
> posting was made to
> focus attention on the error that still occurred AFTER all
> recomendations
> had been followed!
>
> "There seems to be a problem with Redland. When building Soprano it
> > > reports *Soprano components that will NOT be built:
> > > *Redland storage backend (missing librdf/redland -
> http://librdf.org
> "
>
> So the question remains -- why should this be?
>
> This affects kdegraphics4 where the build fails with:
>
> could not find Nepomuk (missing: NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR
> SOPRANO_PLUGIN_REDLANDBACKEND_FOUND)
>
> .
> .
> stop in /usr/ports/graphics/kdegraphics4
>
>
> Thanks in advance for constructive comments
>
> david
>
> ___________________________________________________________________
> ***example***
> _________________________________________________________________
>
> > -----Original Message-----
> > From: owner-freebsd-ports(a)freebsd.org
> > [mailto:owner-freebsd-ports(a)freebsd.org] On Behalf Of Max Brazhnikov
> > Sent: 01 July 2010 04:57
> > To: david(a)vizion2000.net
> > Cc: freebsd-ports(a)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(a)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(a)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>
>
>
Further the result of the latest build attempt is available at
ftp.vizion2000.net/pub/kde4-build3

Again we have a failure of kdegraphics4 "Could NOT find Nepomuk (missing:
NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR SPORANO_PLUGIN_REDLANDBACKEND_FOUND)
as per previous report.
The build was of /usr/ports/x11/kde4 Command was:
make -DDISABLE_MAKE_JOBS -DCMAKE_VERBOSE

David

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: david on
Hi Doug

The script obtained from following the instructions you gave is at
ftp.vizion2000.net/pub/kdelibs-build6. You will see that the final results
are the same as those posted as a result of recompiling the whole kde4 tree
which also appeared in the original posting. This error seems to be
associated with the failure of kdegraphics4 shown in both the tail of this
script and the tail of the script for the compilation of the whole kde4
tree.

Could this have anything to do with the system being amd64?

David


_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"