SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
For brlcad, I found the 12.2 version and it did have an arch line that I could change to x86_64. It does a 15 second delay telling us not to install at /usr as it might overwrite some files. But it didn't finish compiling. It tells me it can't find a makefile. Have to look and see if autogen or something has to be called.
For qcad, I tried alien's 2008 build script. That was quite a bit before the 64 bit slackware and I was not surprised when it kicked out. It ends with:
Code:
cp: `./qcad/qm/qcad_el.qm' and `qcad/qm/qcad_el.qm' are the same file
cp: `./qcad/qm/qcad_cs.qm' and `qcad/qm/qcad_cs.qm' are the same file
cp: `./qcad/qm/qcadcmd_sk.qm' and `qcad/qm/qcadcmd_sk.qm' are the same file
cp: `./qcad/qm/qcad_sk.qm' and `qcad/qm/qcad_sk.qm' are the same file
cp: cannot stat `qcad': No such file or directory
qcad.SlackBuild FAILED at line 200
Does anyone else have scripts of these working?
thank you,
Click here to see the post LQ members have rated as the most helpful post in this thread.
Hi, appreciate both of your responses. I thought I searched but maybe only for qcad. I tried your fix for brlcad and it did make it farther but died with:
Code:
In file included from ../../../../src/other/tkimg/pngtcl/pngtcl.h:131,
from png.c:24:
../../../../src/other/tkimg/pngtcl/pngtclDecls.h:49: error: conflicting types for 'png_get_compression_buffer_size'
/usr/include/png.h:1508: note: previous declaration of 'png_get_compression_buffer_size' was here
../../../../src/other/tkimg/pngtcl/pngtclDecls.h:52: error: conflicting types for 'png_set_compression_buffer_size'
/usr/include/png.h:1511: note: previous declaration of 'png_set_compression_buffer_size' was here
../../../../src/other/tkimg/pngtcl/pngtclDecls.h:339: error: conflicting types for 'png_malloc'
/usr/include/png.h:2036: note: previous declaration of 'png_malloc' was here
../../../../src/other/tkimg/pngtcl/pngtclDecls.h:353: error: conflicting types for 'png_malloc_default'
/usr/include/png.h:2076: note: previous declaration of 'png_malloc_default' was here
../../../../src/other/tkimg/pngtcl/pngtclDecls.h:383: error: conflicting types for 'png_get_rowbytes'
/usr/include/png.h:2135: note: previous declaration of 'png_get_rowbytes' was here
make[4]: *** [png.lo] Error 1
make[4]: Leaving directory `/tmp/SBo/brlcad-7.14.0/src/other/tkimg/png'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/brlcad-7.14.0/src/other/tkimg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/brlcad-7.14.0/src/other'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/brlcad-7.14.0/src'
make: *** [all-recursive] Error 1
I think there is some newer source. I might give it a shot.
Edit: same error using brl-cad 7.16.4
checking ... s e r v i c e s ... (8 of 9)
checking whether we have the essentials to make parsers... yes
checking for portable network graphics functionality... yes
checking whether to build the included portable network graphics library... no
checking for regular expression functionality... yes
checking whether to build the included regular expression library... no
checking for zlib compression functionality... yes
checking whether to build the included zlib compression library... no
checking for X11 header functionality... yes
checking for X11 link functionality... yes
checking whether to build against X11... yes
checking for Utah Raster Toolkit library functionality... no
checking whether to build the Utah Raster Toolkit... yes
checking for openNURBS functionality... no
checking whether to build the included openNURBS library... yes
checking whether to build NIST Step Class Libraries... no
checking for Tcl library functionality... yes
checking whether to build Tcl... no
checking for Tcl configuration... configure: error: yes directory doesn't contain tclConfig.sh
with 2 minor changes these will build and install from the Aliens slackbuild
change the ARCH to -x86_64
and comment out line.. export QTDIR="$(ls -1d /usr/lib/qt-3*)" .. as it is already properly set in /etc/profile
they will build and install
and now the BIG BUT
The actual executable "qcad" never gets built even though the slackbuild does not throw an error
on line 192 of qcad.Slackbuild
when qcad should be copied into the package directory
this error is reported but the build continues
cp: cannot stat `qcad': No such file or directory
maybe someone can tell me what is happening here
but so far I can't see what is happening prior to the error
I guess I should report to Alien, but he seems awful busy with the distribution
I am still playing around when I have time. so I may just solve it yet
john
Last edited by AlleyTrotter; 03-19-2010 at 01:58 PM.
Reason: add line 2
During compile I got many message like that below and it took a long time. The produced package is ~156MB.
Code:
libtool: link: warning: `/usr/X11/lib/libstdc++.la' seems to be moved
copying selected object files to avoid basename conflicts...
using piecewise archive linking...
I haven't installed it yet but will post if it works in next day or so.
So brl-cad under slackware-13.0 eventually built and somewhat works. I haven't been able to spend enough time on controls or directions. So far it's not point and click.
Could not get qcad to compile. But tried simply installing alien's premade package for 12.0 and it worked using 32 bit slackware-13.0 environment with xfce. So far I can draw lines. Not as easy yet as I'd hoped. They're probably keeping the easy to use interface for the paying customers.
For the limited time I did spend though, I could have pulled out the old drafting stuff and did it by hand.
I tried this build on slack64-13.0 and for me it does not produce the executable 'qcad'
after correcting the pointer to the QTDIR /opt/kde/lib64/qt3
the thing builds the packages and installs but no /usr/bin/qcad
I do have the compatability packages installed from /extra
john
Last edited by AlleyTrotter; 03-25-2010 at 09:52 AM.
Reason: add line about QTDIR
For brlcad, I found the 12.2 version and it did have an arch line that I could change to x86_64. It does a 15 second delay telling us not to install at /usr as it might overwrite some files. But it didn't finish compiling. It tells me it can't find a makefile. Have to look and see if autogen or something has to be called.
Dont you EVER default to install BRL CAD binaries into /usr/bin... NEVER...
When I started using Slackware, I would build BRLCAD <current> ( guess it was 7.16.2 ... ) with src2pkg without specifiying an Install directory, this would drop all my libs to /usr/lib64, binaries to /usr/bin... etc.
So far so good, but there was a tiny detail that consequently would bork my system... one of Brl Cad's binaries was a thing called "cp" which will copy objects between BRL CAD databases... and acts similarly but DIFFERENTLY from GNU cp...
As a result of this... after "installing" BRLCAD, "funny" things would start happening...
It took me weeks to figure out why everybody in this forum could compile things that i simply couldnīt even after following the same steps....
I only figured this out after typing man cp in a shell...
man told me that cp was a brlcad utility, etc, etc...
So, respect BRLCAD's defaults....
and place something like
BTW... has anyone here managed to build FreeCad...?
This relies in OpenCascade infrastructure, as well as in ODE ( Open Dynamics Engine ), the latter has a SlackBuild, the former has no Slackbuild and is tricky to compile in Slackware... current release is 6.3.0... mut this needs to be patched, and some shell scripts have to be runned in order to initialize some variables...
I wouldn't find out what to do, so I googled, or better I AURed ( Thanks Arch folks, for the information available... ) and found this...
I'm sure you can change this to build OpenCascade in Slackware, and install it to /opt/opencascade for instance...
My prob with freeCad, is that after setting the right options in cmake ( FreeCad allows for two kinds of build, cmake, and automake ...) build fails... so I try ./configure ... configuring fails because of boost ( yet I have boost installed )... has anyone here been through this... ?
Both my OCC, and ODE are correctly installed... I have built several stuff linking with that...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.