Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54744 - x11-libs/fxscintilla cannot build against x11-libs/fox-1.2.4 because fxscintilla wants includes in /usr/include/fox, but they are in ../fox-1.2
Summary: x11-libs/fxscintilla cannot build against x11-libs/fox-1.2.4 because fxscinti...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-22 07:48 UTC by Ferris McCormick (RETIRED)
Modified: 2004-07-09 12:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ferris McCormick (RETIRED) gentoo-dev 2004-06-22 07:48:57 UTC
The x11-libs/fox extension library x11-libs/fxscintilla looks for the fox header files
in /usr/include/fox.  But with x11-libs/fox-1.2.4, they get installed in /usr/include/fox-1.2 and so the configure for fxscintilla fails.

Similarly, the library name change with fox-1.2 keeps the configure script for fxscintilla-1.55 from
finding the fox libaries (if you fake out the include).

I don't know off hand if fxscintilla-1.55 is incompatible with fox-1.2.4 or not, so I don't
know what the correct fix is.

Reproducible: Always
Steps to Reproduce:
1.emerge fox-1.2.4
2. emerge fxscintilla
3.

Actual Results:  
emerge fxscintilla fails because it can't find /usr/include/fox/fx.h

Expected Results:  
Installed fox-1.2.4 & fxscintilla-1.55

fmccor@antaresia:PROJECTS/SIMULATION/NS-EXAMPLES [574]% emerge info
Portage 2.0.50-r8 (default-sparc64-1.4, gcc-3.3.3, glibc-2.3.2-r9, 2.6.6)
=================================================================
System uname: 2.6.6 sparc64 sun4u
Gentoo Base System version 1.4.16
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="cvs sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/
http://open-systems.ufl.edu/mirrors/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arts avi berkdb crypt cups dillo encode fbcon foomaticdb gdbm gif gpm gtk
imlib java jpeg libwww mad mikmod motif mozilla mpeg mpi mysql ncurses nls
opengl oss pam pdflib perl png python qt readline ruby ruby18 slang sparc spell
src ssl stroke tcltk tcpd tetex tiff truetype xml2 xmms xv zlib"

=============================================================
fox-1.2.4 itself seems to work, but I need the combination {fox+fxscintilla+fxruby}
=============================================================
Comment 1 Ferris McCormick (RETIRED) gentoo-dev 2004-06-22 08:09:09 UTC
Add CC to the package maintainer.
Comment 2 Chris White (RETIRED) gentoo-dev 2004-06-22 14:40:27 UTC
The problem seems to be where fox is putting the files.  As you can see here, previous versions of fox will put them in /usr/include/fox.

On 1.0.49 build:                

>>> /usr/include/fox/FXXPMIcon.h

However, 1.2.4 seems to have an opposite result.

On 1.2.4 build:

>>> /usr/include/fox-1.2/FXShell.h

I actually believe this may be an answer to another fox related bug I have worked on.  I'm going to check and see what I can find out.
Comment 3 Chris White (RETIRED) gentoo-dev 2004-06-22 14:45:12 UTC
Looks like the fox issue comes from upstream.  I'm contacting them to take see what I can find.
Comment 4 Ferris McCormick (RETIRED) gentoo-dev 2004-06-22 16:20:39 UTC
Concerning Comment 2:  That's most of the problem.  Also, as I recall, fox-1.2.4
did not create the symbolic link for /usr/lib/libFOX.so, but don't hold me to that.
Comment 5 Jason Rogers 2004-07-07 05:27:52 UTC
FYI:

I created a /usr/lib/libFOX.so symlinked to /usr/lib/libFOX-1.2.so and a /usr/include/fox symlinked to /usr/lib/fox-1.2, but that doesn't seem to work.  It complains that FOX is not version 1.0.x nor 1.1.x and fails the build.
Comment 6 Ryan Phillips (RETIRED) gentoo-dev 2004-07-07 13:19:01 UTC
What I did to fix the configure scripts was ln -s /usr/lib/libFOX-1.2.so.0 /usr/lib/libFOX-1.2.so and ln -s /usr/include/fox-1.2 /usr/include/fox

I merged in fox-1.2.6 (just copied the ebuild) and tried merging in the latest fxscinitilla-1.61 (again, copied the ebuild, due to the fact that 1.5 of the packages doesn't work with the 1.2.x series of fox-toolkit).

Fxscinitilla gets past the configure steps and starts compiling, but errors out with:

In file included from PlatFOX.cxx:69:
../scintilla/include/Platform.h:75: error: syntax error before `*' token
../scintilla/include/Platform.h:76: error: syntax error before `*' token
../scintilla/include/Platform.h:77: error: syntax error before `*' token
../scintilla/include/Platform.h:78: error: syntax error before `*' token
../scintilla/include/Platform.h:79: error: syntax error before `*' token
../scintilla/include/Platform.h:80: error: syntax error before `*' token
../scintilla/include/Platform.h:306: error: 'FontID' is used as a type, but is
   not defined as a type.

Thoughts?
Comment 7 Ryan Phillips (RETIRED) gentoo-dev 2004-07-07 13:19:50 UTC
 ln -s /usr/lib/libFOX-1.2.so.0 /usr/lib/libFOX-1.2.so

should read:

 ln -s /usr/lib/libFOX-1.2.so.0 /usr/lib/libFOX.so
Comment 8 Ryan Phillips (RETIRED) gentoo-dev 2004-07-07 14:35:33 UTC
I've commited version 1.61. of scintilla and an updated fox library... it works for me... please test.
Comment 9 Ferris McCormick (RETIRED) gentoo-dev 2004-07-09 05:50:04 UTC
fxscintilla-1.61 builds against fox-1.2.6, so I'll give them ~sparc keywords.  So far as
I am concerned, this bug report can be closed.
Comment 10 Ryan Phillips (RETIRED) gentoo-dev 2004-07-09 12:11:24 UTC
Closed