?compile error: lyx-1.1.4-fix3 rpm, undefined references

?compile error: lyx-1.1.4-fix3 rpm, undefined references

Post by Nien-Po Ch » Wed, 24 May 2000 04:00:00



Hi netters,

Regarding my previous compile error, it turns out the xforms library I compiled from xforms-0.88-3.src.rpm <ftp://ftp.sylvan.com/pub/lyx/> has problem.  I'm not sure why that src.rpm has problem.  The sympton is that even a pre-compiled lyx 1.1.2 ppc will complain:
-------------------------------------
I tried an older lyx (1.1.2), which has ppc binary rpm available.
No error during install.  However, something interesting is shown
when I type lyx in my terminal window: (error message)

lyx: error in loading libraries: libforms.so.0.88 ELF file
data encoding not big-endian
-------------------------------------
Something is wrong.

Then, Larry Kollar kindly help me identify the problem and points me to a "good copy" pre-compiled xforms at
<ftp://ftp.yellowdoglinux.com/pub/yellowdog/old_releases/champion-1.0/...>

After installing this xforms, I can compile 1.1.4-fix3.src.rpm on my linuxPPC succussfully.

I wrote previously:

Quote:> I am using linuxppc 2000.  I would like to use lyx 1.1.4. The only
> available rpm for this version to be used on  a ppc machine is
> lyx-1.1.4-fix3.src.rpm.  I install xform src rpm (from the same site)
> first.  Then, lyx 1.1.4 rsc rpm.  During lyx's rpm rebuild process (rpm
> --rebuild ....), some errors occurs which fail the rebuild:
> (After tens of minutes of compiling many parts)

> The error messages go like this
> insets/.libs/libinsets.a (insetlatexaccent.o): In function
> `InsetLatexAccent::Draw(LyXFont, LyXScreen &, int, float&)':
> insetlatexaccent.o(.text+0x123e): undefined references to `fl_display'

> Several undefined references happen in insetinfo.o, insetlatexaccent.o,
> inseturl.o, form_url.o.

> What is the missing part in my system which prevents rebuilding lyx
> 1.1.4 src rpm?  Any input will be gratefully appreciated

--

                        http://www.physics.purdue.edu/~npchen/
May 23 2000
==============================================================
 
 
 

?compile error: lyx-1.1.4-fix3 rpm, undefined references

Post by Martin Costabe » Fri, 26 May 2000 04:00:00



> Hi netters,

> Regarding my previous compile error, it turns out the xforms library I compiled from xforms-0.88-3.src.rpm <ftp://ftp.sylvan.com/pub/lyx/> has problem.  I'm not sure why that src.rpm has problem.  

The problem is that xforms is not open source. It is distributed only in
binary form. What you did when you thought you were compiling the SRPM
was only the installation of a binary library, most likely for i368.
This is like other non-open source programs, netscape for example. Their
src.rpms don't contain sources, and they are not architecture
independent. It is not quite clear why they exist (the src.rpms, I
mean). The architecture specific RPMS would be sufficient.

--
Martin