#30632 closed defect (fixed)
redland: No rule to make target -lltdl
Reported by: | hofione@… | Owned by: | pixilla (Bradley Giesbrecht) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.1 |
Keywords: | lion | Cc: | hofione@…, bgrupe27, marcel.setten@…, rosicrucian@…, cjones051073 (Chris Jones), asic512, nprokofiev@…, thedoobs@…, ryandesign (Ryan Carsten Schmidt), k-Laus@…, norbert.nemec@…, fares.chucri@…, markn-mp@… |
Port: | redland |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
installing kde4-baseapps i got the error
*** No rule to make target `-lltdl', needed by `librdf.la'. Stop.
As suggested in slackware source (http://slackware.osuosl.org/slackware_source/l/redland/redland.SlackBuild) i've tried
sed -i -e 's# -lltdl$# #' -e '/^LIBS =/s# = # = -lltdl #' src/Makefile
in
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_redland/redland/work/redland-1.0.13
and it worked.
Attachments (1)
Change History (30)
comment:1 Changed 13 years ago by hofione@…
comment:2 Changed 13 years ago by jmroot (Joshua Root)
Cc: | sharky@… pixilla@… added |
---|---|
Keywords: | kde4-baseapps redland removed |
Owner: | changed from macports-tickets@… to snc@… |
Port: | redland added |
Please remember to cc the maintainers.
comment:3 Changed 13 years ago by nerdling (Jeremy Lavergne)
Cc: | sharky@… pixilla@… removed |
---|---|
Keywords: | lion added |
Owner: | changed from snc@… to pixilla@… |
Port: | kde4-baseapps removed |
Summary: | kde4-baseapps and redland problem → redland lion problem |
comment:4 follow-up: 6 Changed 13 years ago by pixilla (Bradley Giesbrecht)
hofione: Please attach the port log (main.log) for redland.
This command will show you it's location. The second will open the file dir in Finder if you are building locally.
$ port logfile redland $ open $(dirname $(port logfile redland))
comment:6 Changed 13 years ago by hofione@…
sorry, the fix and the successfull build (or one of the cleans!?) removed the log
port logfile redland Error: Log file not found for port in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/redland
but i don't think you could find more info in it than i add initially
there is a link error in redland build caused by the unnecessary libltdl reference
Replying to pixilla@…:
hofione: Please attach the port log (main.log) for redland.
This command will show you it's location. The second will open the file dir in Finder if you are building locally.$ port logfile redland $ open $(dirname $(port logfile redland))
comment:8 Changed 13 years ago by hofione@…
Added fresh log of error after
sudo port clean redland sudo port install redland
Changed 13 years ago by hofione@…
comment:9 Changed 13 years ago by hofione@…
and the same solution mentioned in the first comment (just remove every reference of libltdl (-lltdl)
comment:12 Changed 13 years ago by cjones051073 (Chris Jones)
this problem is still here. OS X 10.7.2 and Xcode 4.2
comment:14 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | pf15@… nprokofiev@… thedoobs@… hobbsilla@… ryandesign@… added |
---|---|
Description: | modified (diff) |
Summary: | redland lion problem → redland: No rule to make target -lltdl |
comment:17 follow-up: 22 Changed 13 years ago by norbert.nemec@…
This bug seems to originate upstream in src/Makefile.am:
librdf_la_DEPENDENCIES = \ @DIGEST_OBJS@ @HASH_OBJS@ \ @LIBRDF_INTERNAL_LIBS@
where the _LIBS variables are actually meant to be used as compiler options (as -lltdl) rather than dependencies
comment:21 Changed 13 years ago by pixilla (Bradley Giesbrecht)
I could not reproduce this issue with Lion/Xcode4.1 so it must be specific to XCode4.2.
Commit r87441 should fix the issue.
I would appreciate someone with Xcode4.2 reporting if this issue is fixed.
comment:22 Changed 13 years ago by pixilla (Bradley Giesbrecht)
comment:23 follow-up: 25 Changed 13 years ago by cjones051073 (Chris Jones)
I have OSX 10.7 + Xcode 4.2, and the latest update works for me.
Thanks !
Chris
comment:24 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:25 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Replying to jonesc@…:
I have OSX 10.7 + Xcode 4.2, and the latest update works for me.
Chris: thanks for reporting!
comment:26 follow-up: 28 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
If this problem is still present in the HEAD of the redland sources, you should file a bug report with them.
comment:28 follow-up: 29 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Replying to ryandesign@…:
If this problem is still present in the HEAD of the redland sources, you should file a bug report with them.
Done.bugs.librdf.org
sorry i forgot that, it's on OSX lion