Try to see if you can compile OCC _without_ WOK.
Its a module that is not used anywhere...
Just so you know ;')

-jelle

On Oct 23, 2009, at 4:33 PM, Sébastien Ramage wrote:

Finally I find the working patch here

http://bugs.gentoo.org/attachment.cgi?id=182311

I was just a indentation problem between this and my previous patch file



2009/10/23 Sébastien Ramage <sebastien.ram...@gmail.com>
Hi all!

Thank you for advices.

I have start the long compilation process but now it failed saying :
../../../src/WOKUnix/WOKUnix_FDescr.cxx: In member function ‘void WOKUnix_FDescr::Dup()’: ../../../src/WOKUnix/WOKUnix_FDescr.cxx:249: attention : ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result ../../../src/WOKUnix/WOKUnix_FDescr.cxx: In member function ‘Handle_TCollection_HAsciiString WOKUnix_FDescr::ReadLine()’: ../../../src/WOKUnix/WOKUnix_FDescr.cxx:355: attention : ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result ../../../src/WOKUnix/WOKUnix_FDescr.cxx: In function ‘FILE* _wokunix_fdopen(int)’: ../../../src/WOKUnix/WOKUnix_FDescr.cxx:436: attention : deprecated conversion from string constant to ‘char*’ ../../../src/WOKUnix/WOKUnix_FDescr.cxx:443: attention : deprecated conversion from string constant to ‘char*’ ../../../src/WOKUnix/WOKUnix_FDescr.cxx:449: attention : deprecated conversion from string constant to ‘char*’
In function ‘int open(const char*, int, ...)’,
inlined from ‘WOKUnix_FDescr WOKUnix_FDescr::BuildNamedPipe()’ at ../../../src/WOKUnix/WOKUnix_FDescr.cxx:205: /usr/include/bits/fcntl2.h:51: erreur: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[3]: *** [WOKUnix_FDescr.lo] Erreur 1
make[3]: quittant le répertoire « /home/doudz/Bureau/ OpenCASCADE6.3.0/ros/adm/make/TKWOK »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /home/doudz/Bureau/ OpenCASCADE6.3.0/ros/adm/make »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/doudz/Bureau/ OpenCASCADE6.3.0/ros »
make: *** [all] Erreur 2

I think I need to apply this patch :
http://www.opencascade.org/org/forum/thread_15444/

But I don't really know how...
I have make a file name mypatch and try something like
patch < mypatch
but I get:
patching file WOKUnix_FDescr.cxx
patch: **** malformed patch at line 4: if(mknod(apath.ToCString(), 0700 | S_IFIFO, 0))


... so any idea ?

Thank you

Seb




2009/10/16 Arthur Magill <arthur.mag...@epfl.ch>

Hi Sébastien,

I think libtool isn't installed by default on Ubuntu (along with the
remaining autotools). Try something like

 apt-get install libtool autoconf automake autotools-dev

Let us know if it works.

  Arthur


Sébastien Ramage wrote:
> Hi Thomas,
>
> I'm trying to install pythonOCC on my ubuntu but I cannot install
> OpenCascade 6.30
> I have look at the wiki
> http://www.pythonocc.org/wiki/index.php/Installing_OpenCASCADE_on_Linux
> but it failed on updating libtool because I have no
> /usr/share/libtool/ltmain.sh
>
> can you help me ?
>
> Sébastien
>


--

Arthur Magill, PhD
RF Engineer

Centre d'Imagerie BioMédicale (CIBM)
Laboratory for Functional and Metabolic Imaging (LIFMET)
Ecole Polytechnique Fédérale de Lausanne (EPFL)
Station 6, CH F1 532 (Bâtiment CH),
CH-1015 Lausanne,
Switzerland

  tel: +41 21 693 0569
  fax: +41 21 693 7960
email: arthur.mag...@epfl.ch

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users


_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to