help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: octave 5.2.0 parallel package install -forge fails on mac os


From: Olaf Till
Subject: Re: octave 5.2.0 parallel package install -forge fails on mac os
Date: Fri, 17 Apr 2020 20:41:52 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

On Fri, Apr 17, 2020 at 11:40:06AM +0200, Maria Jose Casas Serrano wrote:
> Hi, 
> 
> Continuing my last email, I realised that when installing parallel package 
> from forge, it installs version parallel-3.1.3 instead of parallel-4.0.0 so I 
> tried this one manually and this is the output report I got.
> 
> ...
> ./parallel-gnutls-nonoctave.h:20:9: warning: 
> ./parallel-gnutls-nonoctave.h:20'__OCT_PARALLEL_GNUTLS_NONOCTAVE__' :is used 
> as a header guard here, followed by #define of a different9 :macro  
> [-Wheader-guard]
> warning: '__OCT_PARALLEL_GNUTLS_NONOCTAVE__' is used as a header guard here, 
> followed by #define of a different macro#ifndef 
> __OCT_PARALLEL_GNUTLS_NONOCTAVE__ 
> [-Wheader-guard]
>         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> #ifndef __OCT_PARALLEL_GNUTLS_NONOCTAVE__
>         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ./parallel-gnutls-nonoctave.h:22:9: note: '__OCT_PARALLEL_GNUTLS__' is 
> defined here; did you mean '__OCT_PARALLEL_GNUTLS_NONOCTAVE__'?
> ./parallel-gnutls-nonoctave.h:22:9: note: '__OCT_PARALLEL_GNUTLS__' is 
> defined here; did you mean '__OCT_PARALLEL_GNUTLS_NONOCTAVE__'?#define 
> __OCT_PARALLEL_GNUTLS__
> ...
> p-control.cc:132:13: error: use of undeclared identifier 'fexecve'; did you 
> mean 'execve'?
>         if (fexecve (fd, args, envp))
>             ^~~~~~~
>             execve
> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:445:6:
>  note: 'execve' declared here
> int      execve(const char * __file, char * const * __argv, char * const * 
> __envp) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
>          ^
> p-control.cc:132:22: error: cannot initialize a parameter of type 'const char 
> *' with an lvalue of type 'int'
>         if (fexecve (fd, args, envp))
>                      ^~

This report is more useful. The first problem, a mistake in a header
guard, is easy to fix. The two related errors are caused by
'fexecve()' lacking at your system. I'll probably have to work around
this manually by using 'execve()' in such cases, since gnulib doesn't
seem to provide 'fexecve()'.

Since you were asking for help -- sorry, it won't work at your system
until this is worked around, unless there is a way to supplement your
system with the 'fexecve()' function.

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]