Re: Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-31 Thread Rex Dieter
José Matos wrote:

 On Sunday 30 May 2010 08:39:59 Alok Shukla wrote:
 Dear All,
 
   After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
   when I run the make command, the compilation doesn't
   get completed. Instead, it ends with the error message (relevant
   portions
 include):
 
g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o
 Dimension.o PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a
 ./.libs/liblyxmathed.a ./.libs/liblyxinsets.a
 frontends/.libs/liblyxfrontends.a
 frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
 support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus
 -lz -lQtGui -lQtCore
 /usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
 reference to symbol 'XEventsQueued'
 /usr/bin/ld: note: 'XEventsQueued' is defined in DSO
 /usr/lib64/libX11.so.6 so try adding it to the linker command line
 /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1
 
 I will appreciate any help in this matter.
 
 The short answer is the you need to add -lX11 to the line in
 src/frontends/qt4/Makefile.am
 
 liblyxqt4_la_LIBADD = $(QT4_LIB)
 
 goes to
 
 liblyxqt4_la_LIBADD = $(QT4_LIB) -lX11
 
 This is not the right (although it is the right idea) but for the moment I
 am busy and I can not add further to this work.
 
 Tomorrow or so I will pick this again to build 1.6.6.1 o F-13 (for
 updates- testing).
 
 The right fix would be to make this as
 
 liblyxqt4_la_LIBADD = $(QT4_LIB) $(X_LIBS)
 
 but then X_LIBS is not set at this point...

Yep, my finding too, here's the start of the patch I was working on,
http://cvs.fedoraproject.org/viewvc/rpms/lyx/F-13/lyx-1.6.6-
ImplicitDSOLinking_X11.patch

and build with
make X_LIBS='-lX11'

test build so far,
http://koji.fedoraproject.org/koji/buildinfo?buildID=175673

-- Rex

-- Rex





Re: Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-31 Thread Rex Dieter
José Matos wrote:

 On Sunday 30 May 2010 08:39:59 Alok Shukla wrote:
 Dear All,
 
   After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
   when I run the make command, the compilation doesn't
   get completed. Instead, it ends with the error message (relevant
   portions
 include):
 
g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o
 Dimension.o PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a
 ./.libs/liblyxmathed.a ./.libs/liblyxinsets.a
 frontends/.libs/liblyxfrontends.a
 frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
 support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus
 -lz -lQtGui -lQtCore
 /usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
 reference to symbol 'XEventsQueued'
 /usr/bin/ld: note: 'XEventsQueued' is defined in DSO
 /usr/lib64/libX11.so.6 so try adding it to the linker command line
 /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1
 
 I will appreciate any help in this matter.
 
 The short answer is the you need to add -lX11 to the line in
 src/frontends/qt4/Makefile.am
 
 liblyxqt4_la_LIBADD = $(QT4_LIB)
 
 goes to
 
 liblyxqt4_la_LIBADD = $(QT4_LIB) -lX11
 
 This is not the right (although it is the right idea) but for the moment I
 am busy and I can not add further to this work.
 
 Tomorrow or so I will pick this again to build 1.6.6.1 o F-13 (for
 updates- testing).
 
 The right fix would be to make this as
 
 liblyxqt4_la_LIBADD = $(QT4_LIB) $(X_LIBS)
 
 but then X_LIBS is not set at this point...

Yep, my finding too, here's the start of the patch I was working on,
http://cvs.fedoraproject.org/viewvc/rpms/lyx/F-13/lyx-1.6.6-
ImplicitDSOLinking_X11.patch

and build with
make X_LIBS='-lX11'

test build so far,
http://koji.fedoraproject.org/koji/buildinfo?buildID=175673

-- Rex

-- Rex





Re: Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-31 Thread Rex Dieter
José Matos wrote:

> On Sunday 30 May 2010 08:39:59 Alok Shukla wrote:
>> Dear All,
>> 
>>   After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
>>   when I run the make command, the compilation doesn't
>>   get completed. Instead, it ends with the error message (relevant
>>   portions
>> include):
>> 
>>g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o
>> Dimension.o PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a
>> ./.libs/liblyxmathed.a ./.libs/liblyxinsets.a
>> frontends/.libs/liblyxfrontends.a
>> frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
>> support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus
>> -lz -lQtGui -lQtCore
>> /usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
>> reference to symbol 'XEventsQueued'
>> /usr/bin/ld: note: 'XEventsQueued' is defined in DSO
>> /usr/lib64/libX11.so.6 so try adding it to the linker command line
>> /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
>> collect2: ld returned 1 exit status
>> make[4]: *** [lyx] Error 1
>> 
>> I will appreciate any help in this matter.
> 
> The short answer is the you need to add -lX11 to the line in
> src/frontends/qt4/Makefile.am
> 
> liblyxqt4_la_LIBADD = $(QT4_LIB)
> 
> goes to
> 
> liblyxqt4_la_LIBADD = $(QT4_LIB) -lX11
> 
> This is not the right (although it is the right idea) but for the moment I
> am busy and I can not add further to this work.
> 
> Tomorrow or so I will pick this again to build 1.6.6.1 o F-13 (for
> updates- testing).
> 
> The right fix would be to make this as
> 
> liblyxqt4_la_LIBADD = $(QT4_LIB) $(X_LIBS)
> 
> but then X_LIBS is not set at this point...

Yep, my finding too, here's the start of the patch I was working on,
http://cvs.fedoraproject.org/viewvc/rpms/lyx/F-13/lyx-1.6.6-
ImplicitDSOLinking_X11.patch

and build with
make X_LIBS='-lX11'

test build so far,
http://koji.fedoraproject.org/koji/buildinfo?buildID=175673

-- Rex

-- Rex





Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-30 Thread Alok Shukla
Dear All,

  After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
  when I run the make command, the compilation doesn't
  get completed. Instead, it ends with the error message (relevant portions
include):

   g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o Dimension.o
PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a ./.libs/liblyxmathed.a
./.libs/liblyxinsets.a frontends/.libs/liblyxfrontends.a
frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus -lz
-lQtGui -lQtCore
/usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
reference to symbol 'XEventsQueued'
/usr/bin/ld: note: 'XEventsQueued' is defined in DSO /usr/lib64/libX11.so.6
so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1

I will appreciate any help in this matter.

--Alok


Re: Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-30 Thread Kornel Benko
Am Sonntag 30 Mai 2010 schrieb Alok Shukla:
 Dear All,
 
   After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
   when I run the make command, the compilation doesn't
   get completed. Instead, it ends with the error message (relevant portions
 include):
 
g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o
 Dimension.o PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a
 ./.libs/liblyxmathed.a ./.libs/liblyxinsets.a
 frontends/.libs/liblyxfrontends.a
 frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
 support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus -lz
 -lQtGui -lQtCore
 /usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
 reference to symbol 'XEventsQueued'
 /usr/bin/ld: note: 'XEventsQueued' is defined in DSO /usr/lib64/libX11.so.6
 so try adding it to the linker command line
 /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1

I would try to install the devel-package of libX11.so (not only the standard 
package with libX11.so.6)
On ubuntu would be the package libx11-dev.

 I will appreciate any help in this matter.
 
 --Alok

Kornel
-- 
Kornel Benko
kornel.be...@berlin.de


signature.asc
Description: This is a digitally signed message part.


Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-30 Thread Alok Shukla
Dear All,

  After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
  when I run the make command, the compilation doesn't
  get completed. Instead, it ends with the error message (relevant portions
include):

   g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o Dimension.o
PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a ./.libs/liblyxmathed.a
./.libs/liblyxinsets.a frontends/.libs/liblyxfrontends.a
frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus -lz
-lQtGui -lQtCore
/usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
reference to symbol 'XEventsQueued'
/usr/bin/ld: note: 'XEventsQueued' is defined in DSO /usr/lib64/libX11.so.6
so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1

I will appreciate any help in this matter.

--Alok


Re: Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-30 Thread Kornel Benko
Am Sonntag 30 Mai 2010 schrieb Alok Shukla:
 Dear All,
 
   After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
   when I run the make command, the compilation doesn't
   get completed. Instead, it ends with the error message (relevant portions
 include):
 
g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o
 Dimension.o PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a
 ./.libs/liblyxmathed.a ./.libs/liblyxinsets.a
 frontends/.libs/liblyxfrontends.a
 frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
 support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus -lz
 -lQtGui -lQtCore
 /usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
 reference to symbol 'XEventsQueued'
 /usr/bin/ld: note: 'XEventsQueued' is defined in DSO /usr/lib64/libX11.so.6
 so try adding it to the linker command line
 /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
 collect2: ld returned 1 exit status
 make[4]: *** [lyx] Error 1

I would try to install the devel-package of libX11.so (not only the standard 
package with libX11.so.6)
On ubuntu would be the package libx11-dev.

 I will appreciate any help in this matter.
 
 --Alok

Kornel
-- 
Kornel Benko
kornel.be...@berlin.de


signature.asc
Description: This is a digitally signed message part.


Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-30 Thread Alok Shukla
Dear All,

  After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
  when I run the make command, the compilation doesn't
  get completed. Instead, it ends with the error message (relevant portions
include):

   g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o Dimension.o
PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a ./.libs/liblyxmathed.a
./.libs/liblyxinsets.a frontends/.libs/liblyxfrontends.a
frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus -lz
-lQtGui -lQtCore
/usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
reference to symbol 'XEventsQueued'
/usr/bin/ld: note: 'XEventsQueued' is defined in DSO /usr/lib64/libX11.so.6
so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [lyx] Error 1

I will appreciate any help in this matter.

--Alok


Re: Lyx 1.6.6.1 Compilation problems on Fedora 13

2010-05-30 Thread Kornel Benko
Am Sonntag 30 Mai 2010 schrieb Alok Shukla:
> Dear All,
> 
>   After configuring lyx-1.6.6.1 properly on my Fedora 13 laptop
>   when I run the make command, the compilation doesn't
>   get completed. Instead, it ends with the error message (relevant portions
> include):
> 
>g++ -O2 -o lyx main.o ISpell.o SpellBase.o BiblioInfo.o Box.o
> Dimension.o PrinterParams.o Thesaurus.o  ./.libs/liblyxcore.a
> ./.libs/liblyxmathed.a ./.libs/liblyxinsets.a
> frontends/.libs/liblyxfrontends.a
> frontends/qt4/.libs/liblyxqt4.a ./.libs/liblyxgraphics.a
> support/.libs/liblyxsupport.a ../boost/.libs/liblyxboost.a -lAiksaurus -lz
> -lQtGui -lQtCore
> /usr/bin/ld: frontends/qt4/.libs/liblyxqt4.a(GuiWorkArea.o): undefined
> reference to symbol 'XEventsQueued'
> /usr/bin/ld: note: 'XEventsQueued' is defined in DSO /usr/lib64/libX11.so.6
> so try adding it to the linker command line
> /usr/lib64/libX11.so.6: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[4]: *** [lyx] Error 1

I would try to install the devel-package of "libX11.so" (not only the standard 
package with "libX11.so.6")
On ubuntu would be the package "libx11-dev".

> I will appreciate any help in this matter.
> 
> --Alok

Kornel
-- 
Kornel Benko
kornel.be...@berlin.de


signature.asc
Description: This is a digitally signed message part.