Opened 13 years ago

Last modified 13 years ago

#30632 closed defect

redland: No rule to make target -lltdl — at Version 14

Reported by: hofione@… Owned by: pixilla@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: lion Cc: hofione@…, bgrupe@…, marcel.setten@…, rosicrucian@…, jonesc@…, pf15@…, nprokofiev@…, thedoobs@…, hobbsilla@…, ryandesign@…
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.

Change History (15)

comment:1 Changed 13 years ago by hofione@…

sorry i forgot that, it's on OSX lion

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 problemredland lion problem

comment:4 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:5 Changed 13 years ago by hofione@…

Cc: hofione@… added

Cc Me!

comment:6 in reply to:  4 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:7 Changed 13 years ago by bgrupe27

Cc: bgrupe@… added

Cc Me!

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@…

Attachment: main.log added

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:10 Changed 13 years ago by marcel.setten@…

Cc: marcel.setten@… added

Cc Me!

comment:11 Changed 13 years ago by rosicrucian@…

Cc: rosicrucian@… added

Cc Me!

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:13 Changed 13 years ago by cjones051073 (Chris Jones)

Cc: jonesc@… added

Cc Me!

comment:14 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: pf15@… nprokofiev@… thedoobs@… hobbsilla@… ryandesign@… added
Description: modified (diff)
Summary: redland lion problemredland: No rule to make target -lltdl

Has duplicates #31707 and #32048.

Note: See TracTickets for help on using tickets.