LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-10-2011, 10:50 AM   #1
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Rep: Reputation: 27
freecad slackbuild doesn't work


The FreeCAD slackbuild doesn't work. All the Slackbuilds for the dependencies worked.

Code:
checking for boost system library... yes
checking for X... libraries , headers 
checking for host... linux-gnu
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether QtWebKit is available... yes
checking for Qt >= 4.1... yes
checking for coin-config... /usr/bin/coin-config
checking if we can compile and link with the Coin library... true
./configure: line 17785: syntax error near unexpected token `,as_fn_error'
./configure: line 17785: `SIM_AC_HAVE_SOQT_IFELSE(,as_fn_error "'
root@darkswamp:/usr/local/FreeCAD#
Here's part of that configure file starting at line 17785:
Code:
SIM_AC_HAVE_SOQT_IFELSE(,as_fn_error "
        **** Cannot find SoQt devel files. ****
   " "$LINENO" 5)
I don't know what to do. That's the configure file in /tmp/SBo. Even if I alter it then when I run the slackbuild script again it wipes the old configure file and loads in a fresh one from the .tgz package.

I think the problem has something to do with bash4 parsing differently than bash3 or something? I don't know.
 
Old 04-10-2011, 02:19 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi darksaurian, Is SoQt installed? It appears the script can't locate it.

Good luck. ;-)
 
Old 04-10-2011, 02:29 PM   #3
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Rep: Reputation: 6
hi there

FreeCAD requires xerces-c, Coin, SoQt, Pivy, and OpenCASCADE.

You do not have SoQt installed

regards

Lawrence
 
Old 04-10-2011, 02:46 PM   #4
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
Seems to be compiling now. I compliled all those dependencies, maybe I forgot to pkgtool that one.

I wonder why it gave me a syntax error instead of a missing dependency message.
 
Old 04-10-2011, 04:24 PM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060Reputation: 1060
Coincidentally, I happened to be building FreeCAD (Slackware 13.1 64-bit) when I saw your message. Actually, I was in the middle of Pivy at the time.

Anyway, after waiting through a loonnggg build of OpenCASCADE (dang, it was a long, long time on a really, really fast platform), I compiled FreeCAD with no errors (well, I got the package) and have it installed. I wouldn't be surprised if you didn't have SoQT installed before your built Pivy and OpenCASCADE that you may need to check or rebuild those then tackle FreeCAD?

Hope this helps some.
 
Old 04-10-2011, 05:03 PM   #6
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
No, I already installed FreeCAD. I had ran all the slackbuild scripts for all the dependenices. And I did installpkg on all of them except for SoQT, forgot that one for some reason. Yeah Opencascade and Freecad take forever to compile. Turned out freecad isn't even what I want.

I just wanted to look at some dxf files so I using A9CAD through wine now. I'd rather use QCAD but I can't get that slackbuild to work either.
 
Old 04-10-2011, 05:19 PM   #7
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
What trouble did you have with QCad? I used the 13.1 build script for 13.0 and am using it now. I don't recall any major headaches.

Good luck. ;-)
 
Old 04-10-2011, 06:39 PM   #8
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
I'm not sure if I did it right. I got qt3-3.3.8b-i486-opt1.txz from http://mirrors.dotsrc.org/slackware/...a/kde3-compat/ and installed that package. Then I ran the qcad script and this happened:
Code:
make[1]: Leaving directory `/tmp/SBo/qcad-2.0.5.0-1-community.src/qcad/src'
-------- Building Translations --------
sh: ./release_translations.sh: No such file or directory
Building qcad binary failed
Updating './qcadactions/src/ts/qcadactions_da.qm'...
    Generated 623 translation(s) (616 finished and 7 unfinished)

    Ignored 28 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_nl.qm'...
    Generated 617 translation(s) (611 finished and 6 unfinished)

    Ignored 34 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_et.qm'...
    Generated 638 translation(s) (635 finished and 3 unfinished)

    Ignored 13 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_fr.qm'...
    Generated 634 translation(s) (631 finished and 3 unfinished)

    Ignored 17 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_tr.qm'...
    Generated 613 translation(s) (607 finished and 6 unfinished)

    Ignored 34 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_en.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 651 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_el.qm'...
    Generated 647 translation(s) (647 finished and 0 unfinished)

    Ignored 4 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_de.qm'...
    Generated 651 translation(s) (651 finished and 0 unfinished)
Updating './qcadactions/src/ts/qcadactions_sk.qm'...
    Generated 618 translation(s) (611 finished and 7 unfinished)

    Ignored 33 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_it.qm'...
    Generated 648 translation(s) (647 finished and 1 unfinished)

    Ignored 3 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_no.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 651 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_cs.qm'...
    Generated 623 translation(s) (616 finished and 7 unfinished)

    Ignored 28 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_pa.qm'...
    Generated 651 translation(s) (651 finished and 0 unfinished)
Updating './qcadactions/src/ts/qcadactions_es.qm'...
    Generated 612 translation(s) (607 finished and 5 unfinished)

    Ignored 39 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_pl.qm'...
    Generated 651 translation(s) (651 finished and 0 unfinished)
Updating './qcadactions/src/ts/qcadactions_ru.qm'...
    Generated 617 translation(s) (611 finished and 6 unfinished)

    Ignored 30 untranslated source text(s)
Updating './qcadactions/src/ts/qcadactions_hu.qm'...
    Generated 638 translation(s) (635 finished and 3 unfinished)

    Ignored 13 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_pl.qm'...
    Generated 127 translation(s) (127 finished and 0 unfinished)

    Ignored 3 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_nl.qm'...
    Generated 125 translation(s) (116 finished and 9 unfinished)

    Ignored 5 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_es.qm'...
    Generated 125 translation(s) (116 finished and 9 unfinished)

    Ignored 5 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_et.qm'...
    Generated 128 translation(s) (127 finished and 1 unfinished)

    Ignored 2 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_pa.qm'...
    Generated 130 translation(s) (130 finished and 0 unfinished)
Updating './qcadcmd/src/ts/qcadcmd_it.qm'...
    Generated 130 translation(s) (126 finished and 4 unfinished)
Updating './qcadcmd/src/ts/qcadcmd_da.qm'...
    Generated 128 translation(s) (127 finished and 1 unfinished)

    Ignored 2 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_hu.qm'...
    Generated 128 translation(s) (127 finished and 1 unfinished)

    Ignored 2 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_fr.qm'...
    Generated 3 translation(s) (3 finished and 0 unfinished)

    Ignored 127 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_de.qm'...
    Generated 130 translation(s) (130 finished and 0 unfinished)
Updating './qcadcmd/src/ts/qcadcmd_no.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 130 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_ru.qm'...
    Generated 2 translation(s) (2 finished and 0 unfinished)

    Ignored 128 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_el.qm'...
    Generated 109 translation(s) (109 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_en.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 130 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_tr.qm'...
    Generated 124 translation(s) (116 finished and 8 unfinished)

    Ignored 6 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_cs.qm'...
    Generated 128 translation(s) (127 finished and 1 unfinished)

    Ignored 2 untranslated source text(s)
Updating './qcadcmd/src/ts/qcadcmd_sk.qm'...
    Generated 127 translation(s) (116 finished and 11 unfinished)

    Ignored 3 untranslated source text(s)
Updating './qcad/src/ts/qcad_it.qm'...
    Generated 81 translation(s) (81 finished and 0 unfinished)

    Ignored 1 untranslated source text(s)
Updating './qcad/src/ts/qcad_hu.qm'...
    Generated 79 translation(s) (79 finished and 0 unfinished)

    Ignored 3 untranslated source text(s)
Updating './qcad/src/ts/qcad_pl.qm'...
    Generated 82 translation(s) (82 finished and 0 unfinished)
Updating './qcad/src/ts/qcad_et.qm'...
    Generated 79 translation(s) (79 finished and 0 unfinished)

    Ignored 3 untranslated source text(s)
Updating './qcad/src/ts/qcad_sk.qm'...
    Generated 77 translation(s) (74 finished and 3 unfinished)

    Ignored 5 untranslated source text(s)
Updating './qcad/src/ts/qcad_en.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 82 untranslated source text(s)
Updating './qcad/src/ts/qcad_fr.qm'...
    Generated 78 translation(s) (78 finished and 0 unfinished)

    Ignored 4 untranslated source text(s)
Updating './qcad/src/ts/qcad_pa.qm'...
    Generated 82 translation(s) (82 finished and 0 unfinished)
Updating './qcad/src/ts/qcad_tr.qm'...
    Generated 77 translation(s) (74 finished and 3 unfinished)

    Ignored 5 untranslated source text(s)
Updating './qcad/src/ts/qcad_ru.qm'...
    Generated 78 translation(s) (78 finished and 0 unfinished)

    Ignored 4 untranslated source text(s)
Updating './qcad/src/ts/qcad_nl.qm'...
    Generated 75 translation(s) (74 finished and 1 unfinished)

    Ignored 7 untranslated source text(s)
Updating './qcad/src/ts/qcad_es.qm'...
    Generated 75 translation(s) (74 finished and 1 unfinished)

    Ignored 7 untranslated source text(s)
Updating './qcad/src/ts/qcad_no.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 82 untranslated source text(s)
Updating './qcad/src/ts/qcad_cs.qm'...
    Generated 78 translation(s) (78 finished and 0 unfinished)

    Ignored 4 untranslated source text(s)
Updating './qcad/src/ts/qcad_de.qm'...
    Generated 82 translation(s) (82 finished and 0 unfinished)
Updating './qcad/src/ts/qcad_da.qm'...
    Generated 78 translation(s) (78 finished and 0 unfinished)

    Ignored 4 untranslated source text(s)
Updating './qcad/src/ts/qcad_el.qm'...
    Generated 82 translation(s) (82 finished and 0 unfinished)
Updating './qcadguiqt/src/ts/qcadguiqt_tr.qm'...
    Generated 903 translation(s) (878 finished and 25 unfinished)

    Ignored 57 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_ru.qm'...
    Generated 808 translation(s) (783 finished and 25 unfinished)

    Ignored 152 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_da.qm'...
    Generated 935 translation(s) (910 finished and 25 unfinished)

    Ignored 25 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_hu.qm'...
    Generated 947 translation(s) (940 finished and 7 unfinished)

    Ignored 13 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_et.qm'...
    Generated 947 translation(s) (940 finished and 7 unfinished)

    Ignored 13 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_it.qm'...
    Generated 845 translation(s) (842 finished and 3 unfinished)

    Ignored 115 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_pa.qm'...
    Generated 959 translation(s) (958 finished and 1 unfinished)
Updating './qcadguiqt/src/ts/qcadguiqt_fr.qm'...
    Generated 762 translation(s) (739 finished and 23 unfinished)

    Ignored 186 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_en.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 960 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_de.qm'...
    Generated 960 translation(s) (960 finished and 0 unfinished)
Updating './qcadguiqt/src/ts/qcadguiqt_sk.qm'...
    Generated 929 translation(s) (905 finished and 24 unfinished)

    Ignored 31 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_nl.qm'...
    Generated 929 translation(s) (905 finished and 24 unfinished)

    Ignored 31 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_es.qm'...
    Generated 928 translation(s) (904 finished and 24 unfinished)

    Ignored 32 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_pl.qm'...
    Generated 960 translation(s) (960 finished and 0 unfinished)
Updating './qcadguiqt/src/ts/qcadguiqt_cs.qm'...
    Generated 933 translation(s) (908 finished and 25 unfinished)

    Ignored 27 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_el.qm'...
    Generated 906 translation(s) (906 finished and 0 unfinished)

    Ignored 53 untranslated source text(s)
Updating './qcadguiqt/src/ts/qcadguiqt_no.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 960 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_pl.qm'...
    Generated 21 translation(s) (21 finished and 0 unfinished)
Updating './qcadlib/src/ts/qcadlib_sk.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_et.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_ru.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_de.qm'...
    Generated 21 translation(s) (21 finished and 0 unfinished)
Updating './qcadlib/src/ts/qcadlib_nl.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_da.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_el.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_en.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_cs.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_it.qm'...
    Generated 15 translation(s) (15 finished and 0 unfinished)

    Ignored 6 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_fr.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_no.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_tr.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
Updating './qcadlib/src/ts/qcadlib_hu.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)

    Ignored 21 untranslated source text(s)
unzip:  cannot find or open /usr/local/qcad/qcad-manual-en-2.1.0.0-1.html.zip, /usr/local/qcad/qcad-manual-en-2.1.0.0-1.html.zip.zip or /usr/local/qcad/qcad-manual-en-2.1.0.0-1.html.zip.ZIP.
root@darkswamp:/usr/local/qcad#
 
Old 04-10-2011, 07:30 PM   #9
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Looks like you didn't download the manual source. Grab that and put it in the build directory with the program source then try it again.

Good luck. ;-)
 
Old 04-10-2011, 08:10 PM   #10
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
Oh. Yeah.
 
Old 04-10-2011, 08:16 PM   #11
darksaurian
Member
 
Registered: Jun 2010
Location: USA
Distribution: Fedora Xfce spin
Posts: 201

Original Poster
Rep: Reputation: 27
Thx I'm glad qcad works. Running CAD through wine sucks.
 
Old 04-10-2011, 08:30 PM   #12
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 90
Just reading this thread now

FreeCAD is not really "ready" yet it seems, compared to commercial programs like VariCAD etc.
VariCAD is free to try for 30 days - you might want to take a look at it if you have professional interest in CAD programs.

QCad is nice for 2D designing, even at the professional level.
 
Old 04-10-2011, 09:08 PM   #13
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Quote:
Originally Posted by darksaurian View Post
Thx I'm glad qcad works. Running CAD through wine sucks.
Glad you got it sorted.

Good luck. ;-)
 
Old 04-11-2011, 01:35 AM   #14
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Rep: Reputation: 6
HI there

If you just want to view autocad files ,

Then use Inkscape its on slackbuilds

Regards

Lawrence
 
Old 04-11-2011, 03:10 AM   #15
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 229Reputation: 229Reputation: 229
There is also LibreCad but I've not tried it out yet http://www.librecad.org/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CD rom doesn''t work yang_wayne Linux - Software 1 03-11-2009 11:07 AM
Update doesnīt work AnLi Linux - Newbie 2 10-03-2008 02:51 AM
Mousewheel doesnīt work luizgouvea Linux - General 3 05-24-2007 09:59 AM
grub doesn`t work Atomtomate Linux - Desktop 6 01-16-2007 07:58 AM
vnc4server doesn`t work! tyranus Debian 4 06-02-2006 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration