Hello
I would like to develop a LibreCAD installation procedure for Slackware (Slackware64 13.1) but have encountered a qmake problem and do not know enough about qmake to debug it. Using the Ubuntu 10.10 installation procedure as a basis, I downloaded the git, ran qmake (which generated Makefile and two directories) and ran qmake Makefile which generated the following error: Makefile:1079: Parse Error ('first: all') Netsearching suggested this is caused by an error in the .pro file but librecad.pro does not contain anything to generate "first: all" to my unlearned eyes. What to do? Incidentally the Ubuntu 10.10 installation procedure has lines run together such as "cd ~ mkdir source cd source" and there's a typo in "Note: if you have 1t3 and qt4". EDIT: It also has "cd LibreCAD qmake make" which should (?) be "cd LibreCAD && qmake && qmake Makefile". Best Charles |
Administrator
|
On Jun 27, 2011, at 10:13 PM, catkin [via LibreCAD] wrote: Hello Charles, I will take a look at the CMS and see why it appears on one line... However, it sounds like if you are running qmake on the makefile. The process is like this: first execute : qmake Wait until it finishes, then rune make This process is also explained here: (but instead of suing svn we now use git) Ries
|
In reply to this post by catkin
On Mon, Jun 27, 2011 at 11:13 PM, catkin [via LibreCAD]
<[hidden email]> wrote: > > Hello > > I would like to develop a LibreCAD installation procedure for Slackware (Slackware64 13.1) but have encountered a qmake problem and do not know enough about qmake to debug it. > > Using the Ubuntu 10.10 installation procedureĀ as a basis, I downloaded the git, ran qmake (which generated Makefile and two directories) and ran qmake Makefile which generated the following error: > > Makefile:1079: Parse Error ('first: all') I can repeat your error if I do the following: $ qmake $ qmake Makefile which is incorrect you should be doing (as Ries pointed out above) $ qmake $ make When I use "make" instead of "qmake Makefile", the program builds. Hopefully that works for you too |
Thanks Ries and showard314
That was exactly my error. After fixing that: [compilation completed] scripts/postprocess-unix.sh Reading collection config file... Generating help for LibreCADdoc.qhp... Building up file structure... Insert custom filters... Insert help data for filter section (1 of 1)... Insert files... Warning: The file /home/c/d/Repository/src/git/LibreCAD/support/doc/appendix_LibreCAD1.html does not exist! Skipping it. Insert contents... Insert indices... Documentation successfully generated. Creating collection file... Updating '/home/c/d/Repository/src/git/LibreCAD/ts/librecad_cs.qm'... Generated 1556 translation(s) (1448 finished and 108 unfinished) [snip similar for other languages] Ignored 184 untranslated source text(s) lrelease error: Cannot open /home/c/d/Repository/src/git/LibreCAD/ts/librecad_sv.ts: No such file or directoryAfter that I tested the build by running cd unix && ./librecadIt opened LibreCAD OK; it looked fine and I drew a few lines OK. Installing LibreCAD from source would be easier to follow if the commands which should be on separate lines were shown on separate lines or the commands were separated by appropriate shell metacharacters (and the Java syntax highlighting could be removed because it is not meaningful). For example cd ~ mkdir source cd source git clone git://github.com/LibreCAD/LibreCAD.gitwould be cd ~ && mkdir source && cd source && git clone git://github.com/LibreCAD/LibreCAD.gitand cd LibreCAD qmake makewould become cd LibreCAD && qmake && makeor, if qmake return code is not useful/reliable, simply cd LibreCAD && qmake; makeI am willing to change the page. Best Charles |
Administrator
|
Charles,
I will take care of the breaks later today. This seems to be a issue with the highlighter plugin we are using.. Ries
On Jun 28, 2011, at 10:45 AM, catkin [via LibreCAD] wrote: Thanks Ries and showard314 |
In reply to this post by catkin
Hello
Is it OK to ignore the two messages about missing files? LibreCAD was OK in further use except for crashing a few times when a circle radius was copy-pasted from OOo Calc. Will keep a file to reproduce the problem when not tired and in a hurry to get a drawing done. And so on to packaging for Slackware as a Slackbuild. The Slackware way is to build from source and to make minimal practicable changes to upstream -- which would include MIME type and desktop integration. The Slackbuild system requires a download link for the source. Is it too early in LibreCAD's evolution for that? Best Charles |
Free forum by Nabble | Edit this page |