Opened 12 years ago

Closed 12 years ago

#34077 closed defect (worksforme)

gtk-doc fails to configure

Reported by: vlsd (Vlad) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: gtk-doc

Description

I cannot get the gtk-doc port to configure. Here is the snippet from main.log:

:info:configure checking for jade... no
:info:configure configure: WARNING: Could not find openjade or jade, so SGML is not supported
:info:configure checking for xsltproc... /opt/local/bin/xsltproc
:info:configure checking for dblatex... no
:info:configure checking for fop... /opt/local/bin/fop
:info:configure checking for XML catalog (/opt/local/etc/xml/catalog)... found
:info:configure checking for xmlcatalog... /opt/local/bin/xmlcatalog
:info:configure checking for DocBook XML DTD V4.3 in XML catalog... not found
:info:configure configure: error: could not find DocBook XML DTD V4.3 in XML catalog
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/gtk-doc/work/gtk-doc-1.18" && ./configure --prefix=/opt/local --with-xml-catalog=/opt/local/etc/xml/catalog " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for gtk-doc): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install gtk-doc
:debug:configure couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory
    while executing
"open [file join $dir tclIndex]"
:notice:configure Log for gtk-doc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/gtk-doc/main.log

Attachments (1)

main.log (11.4 KB) - added by vlsd (Vlad) 12 years ago.
the error log generated when trying to configure gtk-doc

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by vlsd (Vlad)

Attachment: main.log added

the error log generated when trying to configure gtk-doc

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

Owner: changed from macports-tickets@… to devans@…

comment:2 in reply to:  description ; Changed 12 years ago by vlsd (Vlad)

I installed docbook-xml-4.3 and it solved the problem. Apparently just having docbook-xml as a dependency is not enough...

comment:3 in reply to:  2 ; Changed 12 years ago by vlsd (Vlad)

Replying to vloodo@…:

I installed docbook-xml-4.3 and it solved the problem. Apparently just having docbook-xml as a dependency is not enough...

In fact, I just realized that I had docbook-xml installed but not docbook-xml-4.3. I must have removed the latter at some point, and even though I don't remember forcing the removal. Since docbook-xml-4.3 is listed as a dependency to docbook-xml, shouldn't trying to remove it generate a warning and require the -f flag?

comment:4 in reply to:  3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Replying to vloodo@…:

Since docbook-xml-4.3 is listed as a dependency to docbook-xml, shouldn't trying to remove it generate a warning and require the -f flag?

It does here:

% sudo port -v uninstall docbook-xml-4.3
Password:
--->  Unable to uninstall docbook-xml-4.3 @4.3_0, the following ports depend on it:
--->  	docbook-xml @5.0_0
Error: org.macports.uninstall for port docbook-xml-4.3 returned: Please uninstall the ports that depend on docbook-xml-4.3 first.
Warning: targets not executed for docbook-xml-4.3: org.macports.uninstall
Please see the log file for port docbook-xml-4.3 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_docbook-xml-4.3_4.3_0/docbook-xml-4.3/main.log
Warning: Failed to execute portfile from registry for docbook-xml-4.3 @4.3_0
--->  Unable to uninstall docbook-xml-4.3 @4.3_0, the following ports depend on it:
--->  	docbook-xml @5.0_0
Error: port uninstall failed: Please uninstall the ports that depend on docbook-xml-4.3 first.
Note: See TracTickets for help on using tickets.