Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42578 - lyx-1.3.4 fails to compile
Summary: lyx-1.3.4 fails to compile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 05:32 UTC by Rene Androsch
Modified: 2004-05-15 05:11 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 Rene Androsch 2004-02-23 05:32:28 UTC
lyx doesn't compile.

Reproducible: Always
Steps to Reproduce:
1. emerge -vUD lyx
2.
3.

Actual Results:  
g++ -DHAVE_CONFIG_H -I. -I. -I. -I../boost   -isystem /usr/X11R6/include 
-march=pentium4 -O3 -mmmx -msse -msse2 -mfpmath=sse -funroll-loops
-fprefetch-loop-arrays -pipe -c -o version.o `test -f 'version.C' || echo
'./'`version.C
source='vspace.C' object='vspace.o' libtool=no \
depfile='.deps/vspace.Po' tmpdepfile='.deps/vspace.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I. -I../boost   -isystem /usr/X11R6/include 
-march=pentium4 -O3 -mmmx -msse -msse2 -mfpmath=sse -funroll-loops
-fprefetch-loop-arrays -pipe -c -o vspace.o `test -f 'vspace.C' || echo
'./'`vspace.C
/bin/sh ../libtool --mode=link g++  -march=pentium4 -O3 -mmmx -msse -msse2
-mfpmath=sse -funroll-loops -fprefetch-loop-arrays -pipe   -o lyx  BufferView.o
BufferView_pimpl.o Bullet.o Chktex.o CutAndPaste.o DepTable.o FloatList.o
Floating.o FuncStatus.o InsetList.o LColor.o LaTeX.o LaTeXFeatures.o LyXAction.o
MenuBackend.o paragraph_funcs.o ParagraphList.o ParagraphParameters.o Spacing.o
TextCache.o Thesaurus.o ToolbarDefaults.o boost.o boost-inst.o box.o buffer.o
bufferlist.o bufferparams.o bufferview_funcs.o chset.o converter.o counters.o
debug.o encoding.o exporter.o gettext.o factory.o funcrequest.o importer.o
intl.o iterators.o kbmap.o kbsequence.o language.o lastfiles.o lengthcommon.o
lyx_cb.o lyx_main.o lyx_sty.o lyxcursor.o lyxfont.o lyxfind.o lyxfunc.o
lyxgluelength.o lyxlayout.o lyxlength.o lyxlex.o lyxlex_pimpl.o lyxrc.o lyxrow.o
lyxserver.o lyxtextclass.o lyxtextclasslist.o lyxvc.o main.o paragraph.o
paragraph_pimpl.o ispell.o pspell.o sgml.o tabular.o tabular-old.o
tabular_funcs.o tex-accent.o tex-strings.o texrow.o text.o text2.o text3.o toc.o
trans.o trans_mgr.o undo.o undo_funcs.o vc-backend.o version.o vspace.o
mathed/libmathed.la insets/libinsets.la frontends/libfrontends.la
graphics/libgraphics.la support/libsupport.la
../boost/libs/regex/src/libboostregex.la
../boost/libs/signals/src/libboostsignals.la   -lAiksaurus -lbz2  -lSM -lICE -lc
-lm   -L/usr/X11R6/lib -lX11
mkdir .libs
libtool: link: cannot find the library
`/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la'
make[3]: *** [lyx] Error 1
make[3]: Leaving directory `/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/lyx-1.3.4/work/lyx-1.3.4/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-office/lyx-1.3.4 failed.
!!! Function src_compile, Line 72, Exitcode 2
!!! emake failed


Expected Results:  
It should compile :)

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.25)
=================================================================
System uname: 2.4.25 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -mmmx -msse -msse2 -mfpmath=sse -funroll-loops
-fprefetch-loop-arrays -pipe"
CHOST="i686-pc-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.2/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/bind /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -mmmx -msse -msse2 -mfpmath=sse -funroll-loops
-fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache apache2 apm arts artswrappersuid avantgo avi berkdb cdr crypt
doc dvd dvdr encode foomaticdb gd-external gdbm gif gphoto2 gpm gtk2 idea imap
imlib java javascript jdbc jpeg kde libg++ libwww mad memlimit mhash mikmod mmx
motif mozilla mpeg mysql nas ncurses nls nvidia oci8 odbc oggvorbis opengl oss
pda pdflib perl png pnp python qt quicktime readline ruby samba scanner sdl
slang spell sse sse2 ssl tcltk tcpd tetex tiff truetype udbc usb vim-with-x x86
xml2 xmms xv zlib"
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2004-02-23 20:11:39 UTC
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.la
but you're using gcc-3.3.3.

In the src_unpack() function, try adding elibtoolize under the last epatch line, so it looks like

src_unpack() {
    unpack ${A}
    cd ${S}
    epatch ${FILESDIR}/${PN}-1.3.2-nomktex.patch
    epatch ${FILESDIR}/${PN}-1.3.3-configure-diff
    elibtoolize
}
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-03-27 08:03:44 UTC
reporter ping: did adding elibtoolize solve the problem?
If so, I'll add it to the ebuild.
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-05-15 05:11:25 UTC
Please try lyx-1.3.4.ebuild if you happen to emerge it again. Closing.