Package Details: freecad-git 2:0.18.r2576.g953b802f83-1

Git Clone URL: https://aur.archlinux.org/freecad-git.git (read-only)
Package Base: freecad-git
Description: A general purpose 3D CAD modeler - git checkout
Upstream URL: https://www.freecadweb.org/
Licenses: LGPL
Conflicts: freecad
Provides: freecad
Submitter: gborzi
Maintainer: greyltc (lonaowna)
Last Packager: lonaowna
Votes: 89
Popularity: 0.93
First Submitted: 2012-03-03 13:46
Last Updated: 2019-11-04 14:26

td123 commented on 2010-06-19 00:16

updated PKGBUILD

Changes:
-Removed the 64bit flag check since ./configure now handles that
-added autogen.sh since upstream removed default configure script

td123 commented on 2010-06-18 13:33

@vinvin
You're right, upstream has removed the default configure from the repos... (again) I'll fix this PKGBUILD later today.

vinvin commented on 2010-06-18 10:10

I don't know if I'm wrong on something, but I can't start the build because the configure script is missing. Where should I take it? Is it a PKGBUILD error?

SVN checkout is properly done, then it just displays:
.../PKGBUILD: line 36: ./configure: No such file or directory

Thanks for the packaging anyway 123.

td123 commented on 2010-05-18 17:55

@naphtali
This may be a zlib issue.
Similar problem: http://bbs.archlinux.org/viewtopic.php?pid=758061

td123 commented on 2010-05-18 15:04

@naphtali
can you build aur/freecad and see if that works for you?

Anonymous comment on 2010-05-18 12:24

Thanks again. But I guess you haven't updated PKGBUILD here yet. I do not see the changes in this file.
Anyway, I took the liberty of making the change you said. No dice!

I still get the very same error...

td123 commented on 2010-05-18 03:03

@naphtali

Ok, I *think* I fixed it. I had single quotes around '$CARCH' XD
I also added i686 to the list of archs
Thanks for your help!

Anonymous comment on 2010-05-18 02:51

Thanks. I saw here previously that the build number was less than the other freecad version in AUR.
That's why I asked for an update, even though it seems that the PKGBUILD file pulls down the latest
svn version.
However, this PKGBUILD gives the error that it is not for my system (i686).
So I followed the advice and edited this file and placed in it arch=('i686' 'x86_64').

However, it still does not build. I have a previous version of freecad installed from a separate
directory. I do not think that could be the problem. The errors I get are these:

from Application.cpp:65:
/usr/include/zlib.h:1583: error: declaration of C function ‘off_t gzseek64(void*, off_t, int)’ conflicts with
/usr/include/zlib.h:1567: error: previous declaration ‘off64_t gzseek64(void*, off64_t, int)’ here
/usr/include/zlib.h:1584: error: declaration of C function ‘off_t gztell64(void*)’ conflicts with
/usr/include/zlib.h:1568: error: previous declaration ‘off64_t gztell64(void*)’ here
/usr/include/zlib.h:1585: error: declaration of C function ‘off_t gzoffset64(void*)’ conflicts with
/usr/include/zlib.h:1569: error: previous declaration ‘off64_t gzoffset64(void*)’ here
/usr/include/zlib.h:1586: error: declaration of C function ‘uLong adler32_combine64(uLong, uLong, off_t)’ conflicts with
/usr/include/zlib.h:1570: error: previous declaration ‘uLong adler32_combine64(uLong, uLong, off64_t)’ here
/usr/include/zlib.h:1587: error: declaration of C function ‘uLong crc32_combine64(uLong, uLong, off_t)’ conflicts with
/usr/include/zlib.h:1571: error: previous declaration ‘uLong crc32_combine64(uLong, uLong, off64_t)’ here
make[4]: *** [libFreeCADApp_la-Application.lo] Error 1

I see 64 in there, so does that mean that it indeed is not for my arch., a 32 bit system.

td123 commented on 2010-05-16 00:10

updated and got it compiling on my system

td123 commented on 2010-05-16 00:05

updated