Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61134 - app-sci/scilab-3.0 fails to compile - missing libgtkhtml.2.0 pkg
Summary: app-sci/scilab-3.0 fails to compile - missing libgtkhtml.2.0 pkg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-21 04:07 UTC by Daniel Gebhardt
Modified: 2004-08-22 07:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info.txt,1.55 KB, text/plain)
2004-08-21 04:10 UTC, Daniel Gebhardt
Details
emerge log: scilab-3.0 (2822-scilab-3.0.log,6.12 KB, text/plain)
2004-08-21 04:10 UTC, Daniel Gebhardt
Details
emerge log: libgtkhtml-3.0.10-r1 (2815-libgtkhtml-3.0.10-r1.log,561.19 KB, text/plain)
2004-08-21 04:11 UTC, Daniel Gebhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Gebhardt 2004-08-21 04:07:12 UTC
When trying to emerge scilab-3.0, the build fails complainig:

checking if gtk is version 2.1 or later... 2.4.4
Package libgtkhtml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgtkhtml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgtkhtml-2.0' found
checking for html_document_open_stream in -lgtkhtml-2... no
configure: error: Could not find the libgtkhtml-2.0 package.

!!! ERROR: app-sci/scilab-3.0 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed

libgtkhtml is on the system (Version 3.0.10-r1), and the /usr/lib/pckconfig 

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge scilab
2.
3.

Actual Results:  
Build fails with the message above

Expected Results:  
Should emerge cleanly

I'll attach emerge --info output and the emerge log to this bug.
Comment 1 Daniel Gebhardt 2004-08-21 04:10:09 UTC
Created attachment 37854 [details]
emerge --info output

One shouldn't pres enter to fast ;)
It should be:

libgtkhtml is on the system (Version 3.0.10-r1), and the /usr/lib/pkgconfig
folder contains libgtkhtml-3.0.pc .. but not 2.0 ...
Comment 2 Daniel Gebhardt 2004-08-21 04:10:50 UTC
Created attachment 37855 [details]
emerge log: scilab-3.0
Comment 3 Daniel Gebhardt 2004-08-21 04:11:51 UTC
Created attachment 37856 [details]
emerge log: libgtkhtml-3.0.10-r1
Comment 4 Olivier Fisette (RETIRED) gentoo-dev 2004-08-21 17:21:06 UTC
Maybe scilab absolutely requires libgtkhtml version 2. Check if you have 
"libgtkhtml-2" installed (emerge -p =libgtkhtml-2*). If not, please install it 
then try to install scilab again.
Comment 5 Colin Macdonald 2004-08-21 23:29:26 UTC
I have both 2 and 3 versions of libgtkhtml:

aconite scilab # emerge -Cp libgtkhtml

>>> These are the packages that I would unmerge:

 gnome-extra/libgtkhtml
    selected: 2.6.2 3.0.10-r1
   protected: none
     omitted: none

From my log of compiling scilab, it looks like it needs the version 2:
aconite portage # cat 4249-scilab-3.0.log  | grep gtkhtml
checking for html_document_open_stream in -lgtkhtml-2... yes
gcc -O -Dlinux -fwritable-strings -DNARROWPROTO `pkg-config gtk+-2.0 --cflags` -I/usr/include -I/usr/include  `pkg-config libgtkhtml-2.0 --cflags` -c helpbrowser.c
gcc -o browsehelpexe browsehelpexe.c -O -Dlinux -fwritable-strings -DNARROWPROTO `pkg-config gtk+-2.0 --cflags` -I/usr/X11R6/include  -I/usr/include -I/usr/include -I.  -lieee  -L/usr/lib -ltk8.4   -L/usr/lib -ltcl8.4  -ldl `pkg-config gtk+-2.0 libgtkhtml-2.0 --libs`  -L/usr/X11R6/lib -lXaw3d -lXmu -lXt -lXext  -lSM -lICE -lX11  -lm
Comment 6 Daniel Gebhardt 2004-08-22 04:57:31 UTC
Had just libgtkhtml 3 installed. After pulling in version two scilab installed fine, so you're probably rigth about scilab absolutely requireing libgtkhtml version 2.
So changing the depencies in the ebuild should fix this.

Daniel
Comment 7 Olivier Fisette (RETIRED) gentoo-dev 2004-08-22 07:46:08 UTC
Fixed in Portage. Thanks for reporting and for the feedback.