Sorry,
that I have to describe a similar problem. In short.
I like to install devel/subversion. And also tried to use db5 support by changing from "BDB=off: Berkeley DB support" to on.
To make things for me more clear, I have installed all dependencies for subversion, before I try to build this port; that are:
All dependencies installed fine.
Then I
I found out why by using a logging script
devel/subversion is looking for its dependencies. These is the result:
The problem is here:
I have databases/db5 installed again, but this has nothing changed.
I'm searching for the library /usr/local/lib/libdb-5.3.a in /usr/local/lib/ and see that libdb-5.3.a is not in /usr/local/lib/ but in /usr/local/lib/db5
In /usr/local/lib/ I find also static libraries with the extension *.a.
So I recapitulate one of the ports to things wrong. Either databases/db5 has not set correct a link in /usr/local/lib/ to /usr/local/lib/db5/libdb-5.3.a or subversion looks at the wrong place for it: "subversion-1.9.5 depends on file: /usr/local/lib/libdb-5.3.a - not found".
What do you think?
And how can I fixed this, so that an later update will not break again with the same installation?
Thanks
that I have to describe a similar problem. In short.
I like to install devel/subversion. And also tried to use db5 support by changing from "BDB=off: Berkeley DB support" to on.
To make things for me more clear, I have installed all dependencies for subversion, before I try to build this port; that are:
make build-depends-list
Code:
Required: ./databases/db5
./databases/sqlite3
./devel/apr1
./devel/gettext-runtime
./devel/gettext-tools
./devel/pkgconf
./ports-mgmt/pkg
./textproc/expat2
./www/serf
Then I
make build
the devel/subversion port and it comes again to these "..is already installed"error for db5.I found out why by using a logging script
script build.log make build
devel/subversion is looking for its dependencies. These is the result:
Code:
===> Patching for subversion-1.9.5
===> Applying extra patch /usr/ports/devel/subversion/files/extra-patch-fbsd-template
===> Applying FreeBSD patches for subversion-1.9.5
===> subversion-1.9.5 depends on package: pkgconf>=0.9.10 - found
===> subversion-1.9.5 depends on executable: msgfmt - found
===> subversion-1.9.5 depends on file: /usr/local/lib/libapr-1.a - found
===> subversion-1.9.5 depends on file: /usr/local/lib/libsqlite3.a - found
===> subversion-1.9.5 depends on file: /usr/local/lib/libexpat.a - found
===> subversion-1.9.5 depends on file: /usr/local/lib/libserf-1.a - found
===> subversion-1.9.5 depends on file: /usr/local/lib/libdb-5.3.a - not found
===> Found saved configuration for db5-5.3.28_6
===> db5-5.3.28_6 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by db5-5.3.28_6 for building
===> Extracting for db5-5.3.28_6
The problem is here:
Code:
subversion-1.9.5 depends on file: /usr/local/lib/libdb-5.3.a - not found
I'm searching for the library /usr/local/lib/libdb-5.3.a in /usr/local/lib/ and see that libdb-5.3.a is not in /usr/local/lib/ but in /usr/local/lib/db5
ls /usr/local/lib/db5/libdb-5.3.a
Code:
-rw-r--r-- 1 root wheel 2656210 4 Mrz 21:34 /usr/local/lib/db5/libdb-5.3.a
So I recapitulate one of the ports to things wrong. Either databases/db5 has not set correct a link in /usr/local/lib/ to /usr/local/lib/db5/libdb-5.3.a or subversion looks at the wrong place for it: "subversion-1.9.5 depends on file: /usr/local/lib/libdb-5.3.a - not found".
What do you think?
And how can I fixed this, so that an later update will not break again with the same installation?
Thanks