Opened 12 years ago

Closed 12 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)

main.log (147.6 KB) - added by asic512 12 years ago.

Download all attachments as: .zip

Change History (18)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to pixilla@…
Priority: HighNormal

I don't see the actual error in that output. Please clean and try again and attach the complete main.log file.

comment:2 in reply to:  1 Changed 12 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

comment:3 Changed 12 years ago by nprokofiev@…

Cc: nprokofiev@… added

Cc Me!

Changed 12 years ago by asic512

Attachment: main.log added

comment:4 Changed 12 years ago by marcel.setten@…

Cc: marcel.setten@… added

Cc Me!

comment:5 Changed 12 years ago by marcel.setten@…

I've got same issue 10.7.2

comment:6 Changed 12 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 in reply to:  description ; Changed 12 years ago by asic512

I succeeded in building redland. I used

Ticket #30632

comment:8 in reply to:  7 ; Changed 12 years ago by marcel.setten@…

Replying to 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

comment:9 in reply to:  8 ; Changed 12 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 in reply to:  9 ; Changed 12 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:11 Changed 12 years ago by rosicrucian@…

Cc: rosicrucian@… added

Cc Me!

comment:12 Changed 12 years ago by thedoobs@…

Cc: thedoobs@… added

Cc Me!

comment:13 Changed 12 years ago by cjones051073 (Chris Jones)

Same problem. OS X 10.7.2 and Xcode 4.2.

comment:14 Changed 12 years ago by cjones051073 (Chris Jones)

Cc: jonesc@… added

Cc Me!

comment:15 in reply to:  10 Changed 12 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/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:16 Changed 12 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 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Summary: Unable to build redlandredland: No rule to make target -lltdl

Duplicate of #30632.

Note: See TracTickets for help on using tickets.