Opened 13 years ago
Closed 13 years ago
#31707 closed defect (duplicate)
redland: No rule to make target -lltdl
Reported by: | asic512 | Owned by: | pixilla (Bradley Giesbrecht) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Lion | Cc: | nprokofiev@…, marcel.setten@…, rosicrucian@…, thedoobs@…, cjones051073 (Chris Jones) |
Port: | redland |
Description
Hi,
I am using MacOs 10.7 and Xcode 4.2.
I am trying to build kde4 but I failed to build redland.
I tried llvm-gcc-4.2 and clang.
I got the following log
Thanks,
PH
info:build mv -f .deps/rdf_digest_sha1.Tpo .deps/rdf_digest_sha1.Plo :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local _var_macports_sources_rsync.macports.org_release_tarballs_ports_www_redland/redl and/work/redland-1.0.14/src' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local _var_macports_sources_rsync.macports.org_release_tarballs_ports_www_redland/redl and/work/redland-1.0.14/src' :info:build make[1]: *** [all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_redland/redland/work/redland-1.0.14/src' :info:build make: *** [all-recursive] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_redland/redland/work/redland-1.0.14' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_redland/redland/work/redland-1.0.14" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for redland): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for redland is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_redland/redland/main.log
Attachments (1)
Change History (18)
comment:1 follow-up: 2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to pixilla@… |
---|---|
Priority: | High → Normal |
comment:2 Changed 13 years ago by nprokofiev@…
Replying to ryandesign@…:
I don't see the actual error in that output. Please clean and try again and attach the complete main.log file.
may be this
:info:build /bin/sh ../libtool --tag=CC --mode=compile /Developer/usr/bin/clang -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/db46 -I/opt/local/include/raptor2 -I/opt/local/include/rasqal -I/opt/local/include/raptor2 -DPKGDATADIR="\"/opt/local/share/redland\"" -I/opt/local/include -I/opt/local/include/db46 -I/opt/local/include -I/opt/local/include/db46 -I/opt/local/include/raptor2 -I/opt/local/include/rasqal -I/opt/local/include/raptor2 -DREDLAND_MODULE_PATH="\""/usr/local/lib/redland:/opt/local/lib/redland"\"" -DLIBRDF_INTERNAL=1 -pipe -O2 -arch x86_64 -MT rdf_hash_bdb.lo -MD -MP -MF .deps/rdf_hash_bdb.Tpo -c -o rdf_hash_bdb.lo rdf_hash_bdb.c :info:build make[3]: *** No rule to make target `-lltdl', needed by `librdf.la'. Stop. :info:build make[3]: *** Waiting for unfinished jobs.... :info:build 1 warning generated. :info:build libtool: compile: /Developer/usr/bin/clang -DHAVE_CONFIG_H -I. -I/opt/local/include -I/opt/local/include/db46 -I/opt/local/include/raptor2 -I/opt/local/include/rasqal -I/opt/local/include/raptor2 -DPKGDATADIR=\"/opt/local/share/redland\" -I/opt/local/include -I/opt/local/include/db46 -I/opt/local/include -I/opt/local/include/db46 -I/opt/local/include/raptor2 -I/opt/local/include/rasqal -I/opt/local/include/raptor2 -DREDLAND_MODULE_PATH=\"/usr/local/lib/redland:/opt/local/lib/redland\" -DLIBRDF_INTERNAL=1 -pipe -O2 -arch x86_64 -MT rdf_digest_md5.lo -MD -MP -MF .deps/rdf_digest_md5.Tpo -c rdf_digest_md5.c -o rdf_digest_md5.o >/dev/null 2>&1
Changed 13 years ago by asic512
comment:6 Changed 13 years ago by marcel.setten@…
I'm trying to compile Kdevelop also redland is defect, and tomorrow i want to work with it. many somebody can tell me a workaround>?
comment:7 follow-up: 8 Changed 13 years ago by asic512
I succeeded in building redland. I used
Ticket #30632
comment:8 follow-up: 9 Changed 13 years ago by marcel.setten@…
comment:9 follow-up: 10 Changed 13 years ago by marcel.setten@…
Replying to marcel.setten@…:
If i Try this command without the -e option on the start,
sed -i 's# -lltdl$# #' -e '/^LIBS =/s# = # = -lltdl #' src/Makefile
It does't return with a error.
But if i run make. it stops with the same error:
make[2]: *** No rule to make target `-lltdl', needed by `librdf.la'. Stop. make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
comment:10 follow-up: 15 Changed 13 years ago by asic512
Try :
sed -i -e 's# -lltdl$# #' src/Makefile sed -i -e '/^LIBS =/s# = # = -lltdl #' src/Makefile
PS: I didn't realize it was kde4 for macos. Is there a port for kde4 for x11 or an option to compile kde4 for x11 ?
comment:13 Changed 13 years ago by cjones051073 (Chris Jones)
Same problem. OS X 10.7.2 and Xcode 4.2.
comment:15 Changed 13 years ago by mapley32000@…
Thanks ! it works for me.
Replying to pf15@…:
Try :
sed -i -e 's# -lltdl$# #' src/Makefile sed -i -e '/^LIBS =/s# = # = -lltdl #' src/MakefilePS: I didn't realize it was kde4 for macos. Is there a port for kde4 for x11 or an option to compile kde4 for x11 ?
comment:16 Changed 13 years ago by mapley32000@…
I just tried:
sed -i -e 's# -lltdl$# #' src/Makefile sed -i -e '/^LIBS =/s# = # = -lltdl #' src/Makefile make sudo port selfupdate sudo port -v install redland
make showed some errors after running, but I ignored them ;)
comment:17 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Summary: | Unable to build redland → redland: No rule to make target -lltdl |
Duplicate of #30632.
I don't see the actual error in that output. Please clean and try again and attach the complete main.log file.