Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7323 - Lyx fails to compile
Summary: Lyx fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-01 04:46 UTC by Christoph Borsbach
Modified: 2002-09-04 17:00 UTC (History)
0 users

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 Christoph Borsbach 2002-09-01 04:46:56 UTC
Hello all,    
over the past few days i try to emerge lyx, but on a ppc (i386 has problems   
too!) it exits with this notice:   
  
<-->  
    
xformsGImage.C: In method `grfx::xformsGImage::xformsGImage(const   
grfx::xformsGI    
mage &)':   
xformsGImage.C:119: implicit declaration of function `int   
grfx::flimage_dup(...)    
'   
xformsGImage.C:119: assignment to `FL_IMAGE *' from `int' lacks a cast   
xformsGImage.C: In method `bool grfx::xformsGImage::setPixmap(const   
grfx::GParam    
s &)':   
xformsGImage.C:235: implicit declaration of function `int   
grfx::flimage_to_pixma    
p(...)'   
make[5]: *** [xformsGImage.lo] Error 1   
make[5]: Leaving directory   
`/var/tmp/portage/lyx-1.2.1/work/lyx-1.2.1/src/fronte    
nds/xforms'   
make[4]: *** [all-recursive] Error 1   
make[4]: Leaving directory   
`/var/tmp/portage/lyx-1.2.1/work/lyx-1.2.1/src/fronte    
nds/xforms'   
make[3]: *** [all-recursive] Error 1   
make[3]: Leaving directory   
`/var/tmp/portage/lyx-1.2.1/work/lyx-1.2.1/src/fronte    
nds'   
make[2]: *** [all-recursive] Error 1   
make[2]: Leaving directory `/var/tmp/portage/lyx-1.2.1/work/lyx-1.2.1/src'   
make[1]: *** [all] Error 2   
make[1]: Leaving directory `/var/tmp/portage/lyx-1.2.1/work/lyx-1.2.1/src'   
make: *** [all-recursive] Error 1   
   
!!! ERROR: The ebuild did not complete successfully.   
!!! Function src_compile, Line 46, Exitcode 2   
!!! emake failed   
   
!!! emerge aborting on  /usr/portage/app-office/lyx/lyx-1.2.1.ebuild .   
root@ibook chris #   
  
<-->  
  
This is an iBook2 running Gentoo 1.2 with Kernel 2.4.19-rc3-ben0. As I  
mentioned before, I had problems compiling lyx on a Pentium machine also, but  
i think i'll file another bug report for this. All of lyxes dependencies build 
fine.   
Thanks a lot!  
  
Chris Borsbach
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-01 04:51:17 UTC
just outta curiosity, can you do a qpkg -I xforms please?
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-09-04 09:18:43 UTC
Yes, what versions of xforms do you have installed? Also of xforms-ppc if on    
ppc.    
  
What you _should_ have is xforms-1.0_rc4, on any architecture. xforms-089* and 
the xforms-ppc package are deprecated. If you ahve them, unmerge them, emerge 
xforms to get 1.0_rc4 and try emerging lyx again. 
Comment 3 Christoph Borsbach 2002-09-04 10:19:04 UTC
Hi all,
ok, sorry, it looks like it _is_ the xforms issue. But shouldn't xforms 1.0rc4
be a dependency for lyx?

Have fun,
Chris "Dr_Jekyll" Borsbach
Comment 4 Dan Armak (RETIRED) gentoo-dev 2002-09-04 13:41:00 UTC
It is. But since the old xforms-089 has a greater version number than the new   
xforms-1.0_rc4 (89>1), the old pacakge satisfies the dep.   
I'm changing the dep to =xforms-1* to prevent further such occurences.   
   
I understand that emerging the new xforms enabled lyx to compile? Please close 
this bugreport if so.