[MacPorts] #31707: Unable to build redland
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Hi,[[BR]] I am using MacOs 10.7 and Xcode 4.2. [[BR]] I am trying to build kde4 but I failed to build redland. [[BR]] I tried llvm-gcc-4.2 and clang. [[BR]] I got the following log[[BR]] Thanks,[[BR]] 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/31707> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => pixilla@… * priority: High => Normal Comment: I don't see the actual error in that output. Please clean and try again and attach the complete main.log file. -- Ticket URL: <https://trac.macports.org/ticket/31707#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Comment(by nprokofiev@…): Replying to [comment:1 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 }}}
-- Ticket URL: <https://trac.macports.org/ticket/31707#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Comment(by marcel.setten@…): I've got same issue 10.7.2 -- Ticket URL: <https://trac.macports.org/ticket/31707#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Comment(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>? -- Ticket URL: <https://trac.macports.org/ticket/31707#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Comment(by pf15@…): I succeeded in building redland. I used Ticket #30632 -- Ticket URL: <https://trac.macports.org/ticket/31707#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Comment(by marcel.setten@…): Replying to [comment:7 pf15@…]: Hello aim trying to apply the command, only get the following error: sh-3.2# sed -i -e 's# -lltdl$# #' -e '/^LIBS =/s# = # = -lltdl #' src/Makefile sed: -e: No such file or directory Plz help
I succeeded in building redland. I used
Ticket #30632
-- Ticket URL: <https://trac.macports.org/ticket/31707#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Comment(by marcel.setten@…): Replying to [comment:8 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
Replying to [comment:7 pf15@…]:
Hello aim trying to apply the command, only get the following error:
sh-3.2# sed -i -e 's# -lltdl$# #' -e '/^LIBS =/s# = # = -lltdl #' src/Makefile
sed: -e: No such file or directory
Plz help
I succeeded in building redland. I used
Ticket #30632
-- Ticket URL: <https://trac.macports.org/ticket/31707#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Comment(by pf15@…): 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 ? -- Ticket URL: <https://trac.macports.org/ticket/31707#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Comment(by jonesc@…): Same problem. OS X 10.7.2 and Xcode 4.2. -- Ticket URL: <https://trac.macports.org/ticket/31707#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Comment(by mapley32000@…): Thanks ! it works for me. Replying to [comment:10 pf15@…]:
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 ?
-- Ticket URL: <https://trac.macports.org/ticket/31707#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: Unable to build redland -----------------------------+---------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: Lion | Port: redland -----------------------------+---------------------------------------------- Comment(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 ;) -- Ticket URL: <https://trac.macports.org/ticket/31707#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31707: redland: No rule to make target -lltdl ------------------------------+--------------------------------------------- Reporter: pf15@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Lion Port: redland | ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #30632. -- Ticket URL: <https://trac.macports.org/ticket/31707#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts