Syntext Forums - Serna Enterprise XML Editor, Serna Free XML Editor
(#11 (permalink))
Old
PFH PFH is offline
Junior Member
 
Posts: 15
Join Date: Oct 2009
Default Wouldn't it be simple and right to just deal with the missing Makefile issue? - 11-09-2009, 09:14 AM

Hallo Kondor,

as the log file told us some time ago the momentary problem is nothing more than that the Makefile in /trunk/3rd/qt/4.5.2/qt-all-opensource-src-4.5.2 is missing
gmake[3]: Entering directory `..../trunk/3rd/qt/4.5.2/qt-all-opensource-src-4.5.2'
gmake[3]: Makefile: No such file or directory
gmake[3]: *** No rule to make target `Makefile'. Stop.
gmake[3]: Leaving directory `...../trunk/3rd/qt/4.5.2/qt-all-opensource-src-4.5.2'

For what it's worth my OS is 32 bit Ubuntu 9.04 Jaunty and the steps to build Serna were to follow the Syntext instructions, i.e. download the packages from your website including those for trunk/3rd and follow the make/install steps.

I would love to be able to help you more than this but what I have done nothing is exactly what you instruct.
Wouldn't it be easiest to simply believe the log file and myself that there is no Makefile in /trunk/3rd/qt/4.5.2/qt-all-opensource-src-4.5.2 and ensure that one is provided?
Reply With Quote
(#12 (permalink))
Old
Junior Member
 
Posts: 26
Join Date: Jul 2009
Default 11-09-2009, 03:22 PM

Hi, I think that this is not that easy - I have MS Windows, but IMHO the build is following the same principles. So I have this Make file in the qt-all-opensource-4.5.2 folder; and its head says that this file is generated my qmake. So there is something else that prevents a generation of this file. IMHO.
Reply With Quote
(#13 (permalink))
Old
kondor's Avatar
линукс-покемон
 
Posts: 49
Join Date: Apr 2009
Default 11-09-2009, 05:54 PM

PFH,

I have managed to find a root of the problem: missing package. It seems that the instruction you followed on is slightly incomplete. To solve this issue you should install libxext-dev package.


Get the latest updates on Syntext Blog
Reply With Quote
(#14 (permalink))
Old
PFH PFH is offline
Junior Member
 
Posts: 15
Join Date: Oct 2009
Default Hallo Kondor. Here's the new error message. Good luck! - 11-11-2009, 05:28 AM

ranlib /.../trunk/build/sfworks/lib/liburimgr.a
gmake[2]: Leaving directory `/.../trunk/build/sfworks/urimgr'
gmake -C xpath -j2 -f GNUmakefile
gmake[2]: Entering directory `/.../trunk/build/sfworks/xpath'
/.../trunk/3rd/bin/python /.../trunk/tools/msggen/msggen.py -H -M xpath /.../trunk/build/sfworks/xpath/XpathMessages.h /.../trunk/sfworks/xpath/impl3/XpathMessages.msg
/.../trunk/3rd/bin/python /.../trunk/tools/msggen/msggen.py -C -M xpath /.../trunk/build/sfworks/xpath/XpathMessages.cpp /.../trunk/sfworks/xpath/impl3/XpathMessages.msg
/.../trunk/3rd/bin/python /.../trunk/tools/buildsys/buildno.py /.../trunk/sfworks/xpath buildrev.txt buildrev.hpp
/.../trunk/sfworks/xpath /.../trunk/sfworks/xpath
bison /.../trunk/sfworks/xpath/impl3/xpathParser.y
gmake[2]: bison: Command not found
gmake[2]: *** [xpathParser.cpp] Error 127
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory `/.../trunk/build/sfworks/xpath'
gmake[1]: *** [xpath] Error 2
gmake[1]: Leaving directory `/.../trunk/build/sfworks'
make: *** [sfworks] Error 2
Reply With Quote
(#15 (permalink))
Old
kondor's Avatar
линукс-покемон
 
Posts: 49
Join Date: Apr 2009
Default 11-11-2009, 07:47 AM

Quote:
Originally Posted by PFH View Post
gmake[2]: bison: Command not found
it writes what is missing.
Code:
sudo apt-get install bison


Get the latest updates on Syntext Blog
Reply With Quote
(#16 (permalink))
Old
PFH PFH is offline
Junior Member
 
Posts: 15
Join Date: Oct 2009
Default The next error message - 11-11-2009, 11:22 AM

Hallo Kondor,

the next error message follows. It appears not to be a package issue since a package named lXmu is unknown to apt/synaptic.

g++ -L/home/.../trunk/3rd/lib -L/home/.../trunk/3rd/lib -L/usr/X11R6/lib `cat objects.lst` -Wl,--version-script=exports.lst -Wl,-export-dynamic -o /home/.../trunk/build/serna/bin/serna obj/main.o obj/buildver.o -L/usr/local/lib -lQtGui -lQtCore -lQt3Support -lQtXml -lQtNetwork -lQtSvg -lQtAssistantClient -lsp -lqtpropertybrowser -lqscintilla2 -lantlr -lXmu -lICE -lSM -lXext -lX11 -lfreetype -lXft -lXinerama -ldl -lutil -lpthread
/usr/bin/ld: cannot find -lXmu
collect2: ld returned 1 exit status
gmake[2]: *** [/home/.../trunk/build/serna/bin/serna] Error 1
gmake[2]: Leaving directory `/home/.../trunk/build/serna/app'
gmake[1]: *** [app] Error 2
gmake[1]: Leaving directory `/home/.../trunk/build/serna'
make: *** [serna] Error 2
Reply With Quote
(#17 (permalink))
Old
kondor's Avatar
линукс-покемон
 
Posts: 49
Join Date: Apr 2009
Default 11-11-2009, 02:11 PM

Quote:
Originally Posted by PFH View Post
Hallo Kondor,

the next error message follows. It appears not to be a package issue since a package named lXmu is unknown to apt/synaptic.
http://blog.syntext.com/2009/08/buil...x-in-10-steps/ -- step #7 contains the list of packages to install. For this case: libxmu-dev.

// Congrats! You are close to have successfully built Serna.


Get the latest updates on Syntext Blog
Reply With Quote
(#18 (permalink))
Old
kondor's Avatar
линукс-покемон
 
Posts: 49
Join Date: Apr 2009
Default 11-11-2009, 02:39 PM

Quote:
Originally Posted by PFH View Post
the next error message follows. It appears not to be a package issue since a package named lXmu is unknown to apt/synaptic.

/usr/bin/ld: cannot find -lXmu
The hint just in a case: ``-l'' here means library, so the name of it is 'xmu'. Hence to find it in the apt/synaptic you should add prefix ``lib'': libxmu.


Get the latest updates on Syntext Blog
Reply With Quote
(#19 (permalink))
Old
PFH PFH is offline
Junior Member
 
Posts: 15
Join Date: Oct 2009
Default The next error - 11-12-2009, 06:09 AM

Hallo Kondor,

here is the next error situation + a few reflections of mine after weeks of unsuccessfully trying to build Serna Open Source.

as you can see -lfreetype is missing and apt can't find it either.
But Synaptic tells me that libfreetype6 is installed.
Synaptic also says that there is libfreetype6-dev available.
It seems possible that libfreetype6-dev might do the trick.

But to test this possibility the whole build process has to be run through again, a process which takes hours.
So what do we have after weeks of trying to get the OpenSource to build?
1. No built-in check that all software pre-requirements have been met. This - like all other Open Source projects that I know - must be AT THE START of the build process.
2. The alternative would be a list of requirements, but there isn't one.
Put simply - the user has no way of checking what is missing till the build process hits that 'mine'.
3. The build process doesn't know what it built the last time and keeps starting from scratch which makes the build process extremely long.

I welcomed Syntext's decision to go Open Source and have in the meanwhile spent many hours trying to get it to work.
It now has to be said that Serna's implication that Serna Open Source is child's play isn't true at this stage. The Serna Open Source is just not ripe yet.

Here is the most recent error:

g++ -L/home/.../trunk/3rd/lib -L/home/.../trunk/3rd/lib -L/usr/X11R6/lib `cat objects.lst` -Wl,--version-script=exports.lst -Wl,-export-dynamic -o /home/.../trunk/build/serna/bin/serna obj/main.o obj/buildver.o -L/usr/local/lib -lQtGui -lQtCore -lQt3Support -lQtXml -lQtNetwork -lQtSvg -lQtAssistantClient -lsp -lqtpropertybrowser -lqscintilla2 -lantlr -lXmu -lICE -lSM -lXext -lX11 -lfreetype -lXft -lXinerama -ldl -lutil -lpthread
/usr/bin/ld: cannot find -lfreetype
collect2: ld returned 1 exit status
gmake[2]: *** [/home/.../trunk/build/serna/bin/serna] Error 1
gmake[2]: Leaving directory `/home/.../trunk/build/serna/app'
gmake[1]: *** [app] Error 2
gmake[1]: Leaving directory `/home/.../trunk/build/serna'
make: *** [serna] Error 2
...@Laptop01:~/trunk$ sudo apt-get install libfreetype
[sudo] password for ...:
...@Laptop01:~/trunk$ sudo apt-get install libfreetype
[sudo] password for ...:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libfreetype
Reply With Quote
(#20 (permalink))
Old
kondor's Avatar
линукс-покемон
 
Posts: 49
Join Date: Apr 2009
Default 11-12-2009, 07:56 AM

Quote:
Originally Posted by PFH View Post
But to test this possibility the whole build process has to be run through again, a process which takes hours.
...
1.
2.
3.
The answer is: build system for Serna Free sucks. And I totally agree with you. That's why contribution of the community is very important for us.

Quote:
Originally Posted by PFH View Post
It now has to be said that Serna's implication that Serna Open Source is child's play isn't true at this stage. The Serna Open Source is just not ripe yet.
Believe me you are wrong.

Quote:
Originally Posted by PFH View Post
g++ -L/home/.../trunk/3rd/lib -L/home/.../trunk/3rd/lib -L/usr/X11R6/lib `cat objects.lst` -Wl,--version-script=exports.lst -Wl,-export-dynamic -o /home/.../trunk/build/serna/bin/serna obj/main.o obj/buildver.o -L/usr/local/lib -lQtGui -lQtCore -lQt3Support -lQtXml -lQtNetwork -lQtSvg -lQtAssistantClient -lsp -lqtpropertybrowser -lqscintilla2 -lantlr -lXmu -lICE -lSM -lXext -lX11 -lfreetype -lXft -lXinerama -ldl -lutil -lpthread
/usr/bin/ld: cannot find -lfreetype
Quote:
Originally Posted by PFH View Post
Synaptic also says that there is libfreetype6-dev available.
It seems possible that libfreetype6-dev might do the trick.


Get the latest updates on Syntext Blog
Reply With Quote
Reply

Bookmarks

Tags
build, libxml, publishing

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.1
vBulletin Skin developed by: vBStyles.com