Opened 8 years ago
Closed 4 years ago
#52204 closed defect (invalid)
gedit @3.20.2: No GTK-Doc found, please install it
Reported by: | gkdgoutam | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | gedit |
Description
OS X 10.7.5
The command 'sudo port upgrade outdated' fails with error related to gedit. The log file is attached.
Attachments (1)
Change History (9)
Changed 8 years ago by gkdgoutam
comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | gedit upgrade removed |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
Port: | gedit added |
Summary: | upgrade outdated fails → gedit @3.20.2: No GTK-Doc found, please install it |
The log says:
:info:configure *** No GTK-Doc found, please install it ***
The gtk-doc port should be installed, since it is a declared dependency of gedit. You can verify if it's installed by running port installed gtk-doc
. Assuming gtk-doc is already installed and active, you could attach the config.log file to this ticket, which may contain more information about why gtk-doc could not be found. The config.log is probably in the directory identified by the command port work gedit
.
comment:2 Changed 8 years ago by gkdgoutam
gtk-doc is installed.
port installed gtk-doc The following ports are currently installed: gtk-doc @1.20_1+python27 gtk-doc @1.20_2+python27 gtk-doc @1.21_1 gtk-doc @1.24_1 gtk-doc @1.25_1 (active)
Inside the directory
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_g edit/gedit/work/gedit-3.20.2
there is no config.log generated. But when I do sudo ./configure there, it does configure without error and generates config.log as usual. I don't know whether I can do make && make install there!
comment:3 Changed 8 years ago by dbevans (David B. Evans)
Status: | new → assigned |
---|
The error
*** No GTK-Doc found, please install it ***
comes from a check in autogen.sh not configure. Since we're using intltool and have patch configure.ac, we need to reconfigure using autogen.sh before trying to run ./configure. Running configure manually before autogen.sh has regenerated it will not provide the correct results.
This error message implies that the command
which gtkdocize
has failed. Can you run this manually? It should return the path to the installed gtkdocize binary.
comment:4 Changed 8 years ago by gkdgoutam
Well
which gtkdocize
returns nothing. Strange!!
but
port installed gtk-doc The following ports are currently installed: gtk-doc @1.20_1+python27 gtk-doc @1.20_2+python27 gtk-doc @1.21_1 gtk-doc @1.24_1 gtk-doc @1.25_1 (active)
comment:5 Changed 8 years ago by dbevans (David B. Evans)
Ok try this and see if it helps
$ hash -r $ which gtkdocize
If that fails then you can see where gtkdocize is installed by using
port contents gtk-doc
and then make sure that that path is in $PATH
comment:6 Changed 8 years ago by gkdgoutam
hash -r which gtkdocize
doesn't return anything.
port contents gtk-doc Port gtk-doc contains: /opt/local/lib/cmake/GtkDoc/GtkDocConfig.cmake /opt/local/lib/cmake/GtkDoc/GtkDocConfigVersion.cmake /opt/local/lib/cmake/GtkDoc/GtkDocScanGObjWrapper.cmake /opt/local/share/aclocal/gtk-doc.m4 /opt/local/share/gtk-doc/data/devhelp2.xsd /opt/local/share/gtk-doc/data/devhelp2.xsl /opt/local/share/gtk-doc/data/gtk-doc.dcl /opt/local/share/gtk-doc/data/gtk-doc.dsl /opt/local/share/gtk-doc/data/gtk-doc.flat.make /opt/local/share/gtk-doc/data/gtk-doc.make /opt/local/share/gtk-doc/data/gtk-doc.notmpl-flat.make /opt/local/share/gtk-doc/data/gtk-doc.notmpl.make /opt/local/share/gtk-doc/data/gtk-doc.xsl /opt/local/share/gtk-doc/data/gtkdoc-common.pl /opt/local/share/gtk-doc/data/home.png /opt/local/share/gtk-doc/data/left-insensitive.png /opt/local/share/gtk-doc/data/left.png /opt/local/share/gtk-doc/data/right-insensitive.png /opt/local/share/gtk-doc/data/right.png /opt/local/share/gtk-doc/data/style.css /opt/local/share/gtk-doc/data/up-insensitive.png /opt/local/share/gtk-doc/data/up.png /opt/local/share/gtk-doc/data/version-greater-or-equal.xsl /opt/local/share/help/C/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/C/gtk-doc-manual/index.docbook /opt/local/share/help/bn_IN/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/bn_IN/gtk-doc-manual/index.docbook /opt/local/share/help/de/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/de/gtk-doc-manual/index.docbook /opt/local/share/help/el/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/el/gtk-doc-manual/index.docbook /opt/local/share/help/en_GB/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/en_GB/gtk-doc-manual/index.docbook /opt/local/share/help/es/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/es/gtk-doc-manual/index.docbook /opt/local/share/help/fr/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/fr/gtk-doc-manual/index.docbook /opt/local/share/help/gl/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/gl/gtk-doc-manual/index.docbook /opt/local/share/help/gu/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/gu/gtk-doc-manual/index.docbook /opt/local/share/help/pt_BR/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/pt_BR/gtk-doc-manual/index.docbook /opt/local/share/help/sl/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/sl/gtk-doc-manual/index.docbook /opt/local/share/help/sv/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/sv/gtk-doc-manual/index.docbook /opt/local/share/help/ta/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/ta/gtk-doc-manual/index.docbook /opt/local/share/help/te/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/te/gtk-doc-manual/index.docbook /opt/local/share/help/zh_CN/gtk-doc-manual/fdl-appendix.xml /opt/local/share/help/zh_CN/gtk-doc-manual/index.docbook /opt/local/share/pkgconfig/gtk-doc.pc /opt/local/share/sgml/gtk-doc/gtk-doc.cat
I put /opt/local/lib/cmake/GtkDoc/ , /opt/local/share, /opt/local/share/gtk-doc in $PATH but nothing changes. Are these correct PATH to include?
comment:7 Changed 8 years ago by dbevans (David B. Evans)
Looks like your gtk-doc port is not properly installed for some reason. On my machine
$ which gtkdocize /opt/local/bin/gtkdocize
but your gtk-doc port has nothing installed under /opt/local/bin. I suggest you reinstall using
$ sudo port -n upgrade --force gtk-doc
comment:8 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Closing because the ticket is old and the problem was due to an unexplained incorrect build of gtk-doc. If you can tell us how to reproduce the incorrect build of gtk-doc or what we should change in MacPorts to prevent it from happening to others, please let us know.
fail gedit