Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QCad: the absolute final end.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 182
Location: Utility Muffin Research Kitchen

PostPosted: Mon May 09, 2011 9:49 am    Post subject: QCad: the absolute final end. Reply with quote

sci-misc/qcad-2.0.5.0 needs kde-base/kdelibs-3.5.10-r6, and this build crashes with
Quote:
./kopenssl.h:453: error: ISO C++ forbids declaration of 'ASN1_METHOD' with no type
This can be solved, I think with =dev-libs/openssl-0.9.8m, but that is not allowed, unless QCad is the only thing on my machine. Alas, QCad: RIP.
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Mon May 09, 2011 10:45 pm    Post subject: Reply with quote

Makes one appreciate the fanatical backwards compatibility efforts of Microsoft...

You may be able to get that program working if you install it to a separate chroot (ie, a whole new gentoo install in there) and either run it from that, or merge the libraries it needs into your main system. It's not ideal but if the program is important enough it might be an option.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 8892
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon May 09, 2011 10:57 pm    Post subject: Reply with quote

@Fog_Watch, you may already know this but the commercial version, at a pretty modest cost, works just fine in a modern KDE-4 environment. I considered it a worthwhile investment.

- John
_________________
I can confirm that I have received between 0 and 999 National Security Letters.
Back to top
View user's profile Send private message
Fog_Watch
Apprentice
Apprentice


Joined: 24 Jul 2006
Posts: 182
Location: Utility Muffin Research Kitchen

PostPosted: Tue May 10, 2011 12:24 am    Post subject: Reply with quote

The options for me appear to be:
    1 SagCAD, which hardly appears to be unbounded excitement.
    2 sci-misc/qcad-2.0.5.0 in its own special little vserver using mouldy old ebuilds from kde-sunset.
    3 Fork out €24.00 for QCAD 2.2, which, and I'm not making a comment about value, if I were to do such thing I'd come out in spots
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 8892
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue May 10, 2011 2:11 am    Post subject: Reply with quote

Color me spotted, I guess. :wink:

- John
_________________
I can confirm that I have received between 0 and 999 National Security Letters.
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 358
Location: Calgary, Alberta, Canada

PostPosted: Tue Jun 04, 2013 3:46 pm    Post subject: Reply with quote

Now that the community edition is qcad 3, is there a possibility this ebuild might be revived?
Back to top
View user's profile Send private message
bug_report
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2010
Posts: 90
Location: Frankfurt, Germany

PostPosted: Tue Jun 04, 2013 8:33 pm    Post subject: Reply with quote

Fog_Watch wrote:
The options for me appear to be:
    1 SagCAD, which hardly appears to be unbounded excitement.
    2 sci-misc/qcad-2.0.5.0 in its own special little vserver using mouldy old ebuilds from kde-sunset.
    3 Fork out €24.00 for QCAD 2.2, which, and I'm not making a comment about value, if I were to do such thing I'd come out in spots

How about:
Back to top
View user's profile Send private message
shiznix
Guru
Guru


Joined: 29 Jun 2003
Posts: 365
Location: Adelaide, Australia

PostPosted: Tue Jun 04, 2013 11:24 pm    Post subject: Reply with quote

rickj wrote:
Now that the community edition is qcad 3, is there a possibility this ebuild might be revived?

Well it was never really dead.

The original poster simply needed to keyword unmask kdelibs-3.5.10-r10 and kcontrol-3.5.10-r1 so that they would apply the openssl-1.0.0 patch :|

All the ebuilds are in the 'kde-sunset' overlay at least for 2.0.5.0, but yes it does need a version bump to 3.1.
And more critically, the dev-qt/qt-meta-3.3.8b ebuilds need updating since ftp.trolltech.com is no more.
Back to top
View user's profile Send private message
shiznix
Guru
Guru


Joined: 29 Jun 2003
Posts: 365
Location: Adelaide, Australia

PostPosted: Wed Jun 05, 2013 1:23 pm    Post subject: Reply with quote

QCad3 that uses QT4.
Depends on gcc:4.6 as building with >=gcc:4.7 requires patching.
3.1.0.3 is the latest but I couldn't get it to build.

qcad-3.1.0.2.ebuild
Code:
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit gnome2-utils qt4-r2

DESCRIPTION="QCAD is an application for computer aided drafting in two dimensions (2d)"
HOMEPAGE="http://www.qcad.org"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RESTRICT="mirror"

DEPEND="dev-libs/glib:2
        dev-qt/qtcore:4
        dev-qt/qtgui:4
        dev-qt/qthelp:4
        dev-qt/qtopengl:4
        dev-qt/qtscript:4
        dev-qt/qtsql:4
        dev-qt/qtsvg:4
        dev-qt/qtwebkit:4
        dev-qt/qtxmlpatterns:4
        sys-devel/gcc:4.6"

src_prepare() {
        if [[ ( $(gcc-major-version) -ne 4 && $(gcc-minor-version) -ne 6 ) ]]; then
                die "${P} requires an active gcc:4.6, please consult the output of 'gcc-config -l'"
        fi
}

src_install() {                                                                                                                                                                                       
        mkdir -p "${ED}usr/share/${PN}"                                                                                                                                                               
        cp -dpR {release/*,examples,fonts,libraries,patterns,plugins,scripts,ts,readme.txt} \                                                                                                         
                "${ED}usr/share/${PN}/" || die "Failed to install support files"                                                                                                                     
                                                                                                                                                                                                     
        insinto /usr/share/icons/hicolor/scalable/apps                                                                                                                                               
        doins scripts/qcad_icon.svg                                                                                                                                                                   
        make_desktop_entry ${PN} QCad qcad_icon Office                                                                                                                                               
                                                                                                                                                                                                     
cat - > ${PN} <<EOF                                                                                                                                                                                   
#!/bin/sh                                                                                                                                                                                             
cd /usr/share/qcad && LD_LIBRARY_PATH=\$(pwd) ./qcad-bin                                                                                                                                             
EOF
        dobin qcad || die "Failed to create wrapper script"
}

pkg_preinst() {
        gnome2_icon_savelist
}

pkg_postinst() {
        gnome2_icon_cache_update
}

pkg_postrm() {
        gnome2_icon_cache_update
}
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 358
Location: Calgary, Alberta, Canada

PostPosted: Thu Aug 01, 2013 4:07 pm    Post subject: Reply with quote

I'd love to try this, but I can't seem to get it to work.

I put the ebuild in my PORTAGE_OVERLAY directory under sci-misc as

qcad-3.0.2.ebuild

and tried to run ebuild manifest, but it does not find the source.

Are there any instructions on the use of ebuilds which are outside the portage tree and the official overlay tree?

OK, my bad, fixed the name to:

qcad-3.1.0.2.ebuild

and it all works fine.

see: http://www.gentoo-wiki.info/HOWTO_Installing_3rd_Party_Ebuilds for methods
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 358
Location: Calgary, Alberta, Canada

PostPosted: Fri Aug 02, 2013 1:23 am    Post subject: Reply with quote

The manifest was fine, but after an hour or so the build fails:
Code:
make[2]: Leaving directory `/var/tmp/portage/sci-misc/qcad-3.1.0.2/work/qcad-3.1.0.2/support/exampleplugin'
make[1]: Leaving directory `/var/tmp/portage/sci-misc/qcad-3.1.0.2/work/qcad-3.1.0.2/support'
cp: target ‘ ’ is not a directory
/var/tmp/portage/sci-misc/qcad-3.1.0.2/temp/environment: line 2669: /var/tmp/portage/sci-misc/qcad-3.1.0.2/image/usr/share/qcad/: Is a directory
 * ERROR: sci-misc/qcad-3.1.0.2 failed (install phase):
 *   Failed to install support files
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_install
 *   environment, line 2669:  Called die
 * The specific snippet of code:
 *       "${ED}usr/share/${PN}/" || die "Failed to install support files";
 *


Apparently the directory is not being made properly.
Back to top
View user's profile Send private message
shiznix
Guru
Guru


Joined: 29 Jun 2003
Posts: 365
Location: Adelaide, Australia

PostPosted: Fri Aug 02, 2013 2:16 pm    Post subject: Reply with quote

rickj wrote:
The manifest was fine, but after an hour or so the build fails:
Code:
make[2]: Leaving directory `/var/tmp/portage/sci-misc/qcad-3.1.0.2/work/qcad-3.1.0.2/support/exampleplugin'
make[1]: Leaving directory `/var/tmp/portage/sci-misc/qcad-3.1.0.2/work/qcad-3.1.0.2/support'
cp: target ‘ ’ is not a directory
/var/tmp/portage/sci-misc/qcad-3.1.0.2/temp/environment: line 2669: /var/tmp/portage/sci-misc/qcad-3.1.0.2/image/usr/share/qcad/: Is a directory
 * ERROR: sci-misc/qcad-3.1.0.2 failed (install phase):
 *   Failed to install support files
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_install
 *   environment, line 2669:  Called die
 * The specific snippet of code:
 *       "${ED}usr/share/${PN}/" || die "Failed to install support files";
 *


Apparently the directory is not being made properly.

I didn't intend to support this, more providing a new version ebuild to hack on if needed - but happy to help out if I can.

I just tried it and it still works OK for me but on closer inspection it looks like the forum's phpBB software is doing some funny things with the line formatting by inserting it's own blank lines where blank lines weren't intended which could cause the same error you're experiencing.

Can you pastebin your ebuild and build.log ?

FWIW, here is a proper text formatted version of the ebuild -> http://bpaste.net/show/119535/
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 358
Location: Calgary, Alberta, Canada

PostPosted: Fri Aug 02, 2013 6:52 pm    Post subject: Reply with quote

Thanks shiznix, you spotted it - and I really should have. The unescaped extra blank line in the middle of the copy command did it in.

With the correctly-spaced version from bpaste everything worked perfectly, and I now have qcad V3 up and running.

So the title of this thread is now entirely misleading.
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 358
Location: Calgary, Alberta, Canada

PostPosted: Tue Aug 20, 2013 3:51 pm    Post subject: Reply with quote

In fact, the title is still appropriate.

The application built by the ebuild is a trial version. Although it has a "Print" item in the "File" menu, this does not link to code: there is no ability to print a drawing. Drawings can be stored as one .dxf format, or exported as bitmaps. All the excellent printing and preview facilities of qcad version 2 are omitted.

Not a useful package. Buy one from ribbonsoft www.qcad.org if you need it. Not bad value at 32 euros, but not truly open-source, either.
Back to top
View user's profile Send private message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1748

PostPosted: Fri Sep 20, 2013 10:37 am    Post subject: Reply with quote

Hello,

is there a working ebuild for the 3.3.0 available?
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1371
Location: Germany

PostPosted: Thu Jan 16, 2014 9:56 am    Post subject: Reply with quote

What about the current community version 3.4.5, sources available here. Would it match the license to re-add another ebuild of QCad to portage? And overlays providing one?
I fear that LibreCad does not make much progress and this community QCad has improved since.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G | amd64:Acer Z5610 (Core2QuadQ8200),i5-3470,VMware VM @ i7-2620M | amd64-prefix:OpenSuse | Lila-Theme
Back to top
View user's profile Send private message
Alcyone
n00b
n00b


Joined: 14 Aug 2005
Posts: 10
Location: Helsinki, Finland

PostPosted: Fri Sep 30, 2016 6:42 pm    Post subject: Reply with quote

I got this to compile and launch app with gcc-4.9.3 and qtcore-4.8.7-r2. I haven't tested anything else...

qcad-3.15.5.3.ebuild
Code:


# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit eutils fdo-mime

DESCRIPTION="QCAD is a free, open source application for computer aided drafting (CAD) in two dimensions (2D)."
HOMEPAGE="http://www.qcad.org/en/"
SRC_URI="https://github.com/qcad/qcad/archive/v${PV}.zip"

LICENSE="GPLv3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="
   sys-apps/dbus
   >=dev-qt/qtcore-4.8.4
   >=dev-qt/qtdbus-4.8.4
   >=dev-qt/qtopengl-4.8.4
   >=dev-qt/qtwebkit-4.8.4
   >=dev-qt/designer-4.8.4
   <dev-qt/qtcore-5.0.0
   <dev-qt/qtdbus-5.0.0
   <dev-qt/qtopengl-5.0.0
   <dev-qt/qtwebkit-5.0.0
   <dev-qt/designer-5.0.0
   x11-libs/libX11
   x11-libs/libXext
   x11-libs/libSM
   virtual/glu
   media-libs/mesa
   media-libs/fontconfig
   media-libs/freetype
"
RDEPEND="${DEPEND}"

src_prepare() {
   qmake -r
}

src_install() {
   make install
   mkdir -p "${ED}usr/share/${PN}"
   cp -dpR {release/*,examples,fonts,libraries,patterns,plugins,scripts,ts,readme.txt} \
      "${ED}usr/share/${PN}/" || die "Failed to install support files"

   insinto /usr/share/icons/hicolor/scalable/apps
   doins scripts/qcad_icon.svg
   make_desktop_entry "${PN}" "QCad" qcad_icon "Graphics"

cat - > ${PN} <<EOF
#!/bin/sh
cd /usr/share/qcad && LD_LIBRARY_PATH=\$(pwd) ./qcad-bin
EOF
        dobin qcad || die "Failed to create wrapper script"

}

pkg_postinst(){
   fdo-mime_desktop_database_update
   fdo-mime_mime_database_update
}

pkg_postrm() {
   fdo-mime_desktop_database_update
   fdo-mime_mime_database_update
}
Back to top
View user's profile Send private message
KAMIKAZE_
Guru
Guru


Joined: 09 Oct 2003
Posts: 300
Location: Riga, Latvia

PostPosted: Tue Oct 18, 2016 12:52 am    Post subject: Reply with quote

is it possible to emerge freecad? how?
_________________
-=[powered by Gentoo]=-
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1155

PostPosted: Thu Oct 20, 2016 7:29 pm    Post subject: Reply with quote

It is possible, but at least it used to be tricky and it used to require a lot of stuff from ~testing, so you better populate a new filesystem with stage 3 rather than install it directly in any system you're actually using.
Also, I resolved some conflicts running it in a headless vm and tunneling X over ssh. Not the prettiest solution, an I hope I could do that better now, but the suggestion to build it as a single-purpose system remains valid.
Back to top
View user's profile Send private message
dewhite
n00b
n00b


Joined: 16 Mar 2003
Posts: 66
Location: Houston, Texas, USA

PostPosted: Fri Nov 11, 2016 8:43 pm    Post subject: Reply with quote

szatox wrote:
It is possible, but at least it used to be tricky and it used to require a lot of stuff from ~testing, so you better populate a new filesystem with stage 3 rather than install it directly in any system you're actually using.
Also, I resolved some conflicts running it in a headless vm and tunneling X over ssh. Not the prettiest solution, an I hope I could do that better now, but the suggestion to build it as a single-purpose system remains valid.


I've been trying to install FreeCAD for a few days (either the 0.16 version from dev-zero overlay or 0.15.4671 from gentoo) and both meet the same end: The ebuild fails looking for the OpenCascade installation:

Code:
* Call stack:
 * ebuild.sh, line 115:  Called pkg_setup
 * freecad-0.16.ebuild, line  63:  Called die
 * The specific snippet of code:
 *      [ -z "${CASROOT}" ] && die "empty \$CASROOT, run eselect opencascade set or define otherwise"


eselect opencascade list doesn't list any installed slot(s). eselect opencascade show also shows nothing. /etc/env.d/51opencascade exists but is an empty file.

Any thoughts? I can't tell if this is a problem with opencascade, the eselect module for it, or the ebuild(s) for FreeCAD?
_________________
Work FS: i7-4790k || 16Gb DDR3 || nVidia 7200GS || 5x 1Tb SATA Drives in RAID5

Home FS: FX-8320e || 8Gb DDR3 || nVidia 8600GTS || 4x 2TB SATA Drives in RAID5

Home Desktop: i5-6500 || 16Gb DDR4 || 275Gb NVMe w/ FDE
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 8892
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Nov 11, 2016 9:15 pm    Post subject: Reply with quote

Check to see if you succeeded in installing opencascade:
Code:
equery list -i opencascade
- John
_________________
I can confirm that I have received between 0 and 999 National Security Letters.
Back to top
View user's profile Send private message
dewhite
n00b
n00b


Joined: 16 Mar 2003
Posts: 66
Location: Houston, Texas, USA

PostPosted: Fri Nov 11, 2016 9:42 pm    Post subject: Reply with quote

John R. Graham wrote:
Check to see if you succeeded in installing opencascade:
Code:
equery list -i opencascade
- John


Thanks for the quick reply:

Code:
dan env.d # equery list -i opencascade
 * Searching for opencascade ...
[IP-] [  ] sci-libs/opencascade-6.9.0:6.9.0

Code:
dan env.d # eselect opencascade list
Installed opencascade

Code:
dan env.d # eselect opencascade show


Code:
dan env.d # ls -l
total 160
-rw-r--r-- 1 root root   115 Oct 11 14:21 000opengl
-rw-r--r-- 1 root root   305 Dec  3  2014 00basic
-rw-r--r-- 1 root root    37 Apr 13  2016 00glibc
-rw-r--r-- 1 root root    18 Feb 15  2016 00manpager
-rw-r--r-- 1 root root    97 Jan 15  2015 02locale
-rw-r--r-- 1 root root   263 Oct 20  2015 04gcc-x86_64-pc-linux-gnu
-rw-r--r-- 1 root root   130 Oct 19  2015 05binutils
-rw-r--r-- 1 root root    37 Jan 18  2016 09sandbox
-rw-r--r-- 1 root root    26 Feb 23  2016 20ant
-rw-r--r-- 1 root root    52 Feb 23  2016 20java-config
-rw-r--r-- 1 root root    46 Oct 11 14:40 30gnupg
-rw-r--r-- 1 root root    81 Nov 24  2015 30xdg-data-local
-rw-r--r-- 1 root root    29 Nov 11 11:07 34itcl
-rw-r--r-- 1 root root    30 Nov 11 11:19 34itk
-rw-r--r-- 1 root root    44 May 31 17:10 37fontconfig
-rw-r--r-- 1 root root    74 Nov 11 11:28 40vtk
-rw-r--r-- 1 root root    55 Jan 15  2015 43kdepaths
-rw-r--r-- 1 root root    27 Jan 15  2015 44qt4-graphicssystem
-rw-r--r-- 1 root root    24 Jul 21 14:43 44qt4-x86_64-pc-linux-gnu
-rw-r--r-- 1 root root    59 Mar  7  2016 50gconf
-rw-r--r-- 1 root root    39 Nov  9 16:11 50guile
-rw-r--r-- 1 root root    36 May 31 17:19 50ncurses
-rw-r--r-- 1 root root    59 Oct 11 14:19 51dconf
-rw-r--r-- 1 root root     1 Nov 11 15:39 51opencascade
-rw-r--r-- 1 root root  1500 Nov 11 14:14 6.9.0
-rw-r--r-- 1 root root    47 Nov 24  2015 70less
-rw-r--r-- 1 root root    70 Oct 11 15:46 77kde
-rw-r--r-- 1 root root    33 Jul 15 13:51 78kf
-rw-r--r-- 1 root root   176 Feb 23  2016 80android-sdk-update-manager
-rw-r----- 1 root games  185 Jan 16  2015 90games
-rw-r--r-- 1 root root    35 Oct 21 11:10 90virtualbox
-rw-r--r-- 1 root root    54 Nov 24  2015 90xdg-data-base
-rw-r--r-- 1 root root    48 Feb 15  2016 98ca-certificates
-rw-r--r-- 1 root root    42 Nov  8  2012 99gentoolkit-env
-rw-r--r-- 1 root root    44 Oct 19  2015 99R
drwxr-xr-x 2 root root  4096 Jun 24 17:02 binutils
drwxr-xr-x 3 root root  4096 Jan 16  2015 blas
drwxr-xr-x 3 root root  4096 Jan 16  2015 cblas
drwxr-xr-x 2 root root  4096 Jun 24 17:28 gcc
drwxr-xr-x 2 root root  4096 Jun 24 16:58 python

Code:
dan env.d # cat 51opencascade


Code:
dan env.d # cat 6.9.0
PATH=/usr/lib64/opencascade-6.9.0/ros/lin/bin
LDPATH=/usr/lib64/opencascade-6.9.0/ros/lin/lib64
CASROOT=/usr/lib64/opencascade-6.9.0/ros/lin
CSF_MDTVFontDirectory=/usr/lib64/opencascade-6.9.0/ros/lin/src/FontMFT
CSF_LANGUAGE=us
MMGT_CLEAR=1
CSF_EXCEPTION_PROMPT=1
CSF_SHMessage=/usr/lib64/opencascade-6.9.0/ros/lin/src/SHMessage
CSF_MDTVTexturesDirectory=/usr/lib64/opencascade-6.9.0/ros/lin/src/Textures
CSF_XSMessage=/usr/lib64/opencascade-6.9.0/ros/lin/src/XSMessage
CSF_StandardDefaults=/usr/lib64/opencascade-6.9.0/ros/lin/src/StdResource
CSF_PluginDefaults=/usr/lib64/opencascade-6.9.0/ros/lin/src/StdResource
CSF_XCAFDefaults=/usr/lib64/opencascade-6.9.0/ros/lin/src/StdResource
CSF_StandardLiteDefaults=/usr/lib64/opencascade-6.9.0/ros/lin/src/StdResource
CSF_GraphicShr=/usr/lib64/opencascade-6.9.0/ros/lin/lib64/libTKOpenGl.so
CSF_UnitsLexicon=/usr/lib64/opencascade-6.9.0/ros/lin/src/UnitsAPI/Lexi_Expr.dat
CSF_UnitsDefinition=/usr/lib64/opencascade-6.9.0/ros/lin/src/UnitsAPI/Units.dat
CSF_IGESDefaults=/usr/lib64/opencascade-6.9.0/ros/lin/src/XSTEPResource
CSF_STEPDefaults=/usr/lib64/opencascade-6.9.0/ros/lin/src/XSTEPResource
CSF_XmlOcafResource=/usr/lib64/opencascade-6.9.0/ros/lin/src/XmlOcafResource
CSF_MIGRATION_TYPES=/usr/lib64/opencascade-6.9.0/ros/lin/src/StdResource/MigrationSheet.txt
TCLHOME=/usr/bin
TCLLIBPATH=/usr/lib64
ITK_LIBRARY=/usr/lib64/itk3.4
ITCL_LIBRARY=/usr/lib64/itcl3.4
TIX_LIBRARY=/usr/lib64/tix8.4
TK_LIBRARY=/usr/lib64/tk8.5
TCL_LIBRARY=/usr/lib64/tcl8.5

_________________
Work FS: i7-4790k || 16Gb DDR3 || nVidia 7200GS || 5x 1Tb SATA Drives in RAID5

Home FS: FX-8320e || 8Gb DDR3 || nVidia 8600GTS || 4x 2TB SATA Drives in RAID5

Home Desktop: i5-6500 || 16Gb DDR4 || 275Gb NVMe w/ FDE
Back to top
View user's profile Send private message
dewhite
n00b
n00b


Joined: 16 Mar 2003
Posts: 66
Location: Houston, Texas, USA

PostPosted: Fri Nov 11, 2016 10:30 pm    Post subject: Reply with quote

I just rm'd the empty 51opencascade file in /etc/env.d/ and created a symlink from to the 6.9.0 file existing there.

Code:
cd /etc/env.d/
rm 51opencascade
ln -s 6.9.0 51opencascade


Lo and behold, gentoo's ebuild for 15.4671 has now emerged and is open in my Plasma DE.

The 0.16 version in dev-zero overlay wouldn't build, complaining about a different problem in the src_prepare function of the ebuild:

Code:
dan dan # emerge -av freecad::dev-zero

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] media-gfx/freecad-0.16::dev-zero  USE="-netgen -pcl" PYTHON_TARGETS="python2_7" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-gfx/freecad-0.16::dev-zero
 * freecad-0.16.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                 [ ok ]
 * Using following Fortran compiler:
 *   F77: x86_64-pc-linux-gnu-gfortran
 *   FC:  x86_64-pc-linux-gnu-gfortran
>>> Unpacking source...
>>> Unpacking freecad-0.16.tar.gz to /var/tmp/portage/media-gfx/freecad-0.16/work
>>> Source unpacked in /var/tmp/portage/media-gfx/freecad-0.16/work
>>> Preparing source in /var/tmp/portage/media-gfx/freecad-0.16/work/FreeCAD-0.16 ...
 * Applying freecad-0.14.3702-install-paths.patch ...                                                                                                                       [ ok ]
 * ERROR: media-gfx/freecad-0.16::dev-zero failed (prepare phase):
 *   eapply_user (or default) must be called in src_prepare()!
 *
 * Call stack:
 *            ebuild.sh, line  762:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1005:  Called __dyn_prepare
 *   phase-functions.sh, line  380:  Called die
 * The specific snippet of code:
 *              die "eapply_user (or default) must be called in src_prepare()!"
 *
 * If you need support, post the output of `emerge --info '=media-gfx/freecad-0.16::dev-zero'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/freecad-0.16::dev-zero'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/freecad-0.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-0.16/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/freecad-0.16/work/FreeCAD-0.16'
 * S: '/var/tmp/portage/media-gfx/freecad-0.16/work/FreeCAD-0.16'


For now, I'll be happy with having 0.15.4671 installed so that I can try this program out and determine if it will be suitable replacement for SketchUp.

Thanks for your input. Hope this helps someone else! I'm following this thread in case someone wants to suggest to troubleshoot further, or if I can help someone else with similar issues.
_________________
Work FS: i7-4790k || 16Gb DDR3 || nVidia 7200GS || 5x 1Tb SATA Drives in RAID5

Home FS: FX-8320e || 8Gb DDR3 || nVidia 8600GTS || 4x 2TB SATA Drives in RAID5

Home Desktop: i5-6500 || 16Gb DDR4 || 275Gb NVMe w/ FDE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum