syntax for "and not"

2021-01-20 Thread Murray Eisenberg
Given that neither openscad nor kdelibs4 is currently upgrading successfully, 
what is the correct syntax to upgrade all other outdated ports?

I’ve tried each of the following, but in each case it either still tries to 
upgrade one of those two exceptions or causes a syntax error:

port upgrade outdated and not kdelibs4 or openscad

port upgrade outdated and not kdelibs4 and openscad

port upgrade outdated and not (kdelibs4 or opescad)

---
Murray Eisenbergmurrayeisenb...@gmail.com
503 King Farm Blvd #101 
Rockville, MD 20850-6667Mobile (413)-427-5334




Re: syntax for "and not"

2021-01-20 Thread Ryan Schmidt



On Jan 20, 2021, at 16:44, Murray Eisenberg wrote:

> Given that neither openscad nor kdelibs4 is currently upgrading successfully, 
> what is the correct syntax to upgrade all other outdated ports?
> 
> I’ve tried each of the following, but in each case it either still tries to 
> upgrade one of those two exceptions or causes a syntax error:
> 
> port upgrade outdated and not kdelibs4 or openscad
> 
> port upgrade outdated and not kdelibs4 and openscad
> 
> port upgrade outdated and not (kdelibs4 or opescad)

port upgrade outdated and not \( kdelibs4 openscad \)

If any of your other outdated ports depend on kdelibs4 or openscad, list them 
inside the escaped parentheses as well.



Re: XQuartz and xorg-server

2021-01-20 Thread Peter West
I tried specifically building rgl from source. The source is available at 
https://cran.r-project.org/src/contrib/rgl_0.104.16.tar.gz.

In R.app console, remove rgl package.

> remove.packages(“rgl”)
> install.packages(, repos = NULL, type = “source”)

It doesn’t find X, so it skips OpenGL; configure in the source needs tinkering.

Peter

--
Peter West
p...@pbw.id.au
“So the Son of Man is lord even of the Sabbath..”


> On 19 Jan 2021, at 4:38 pm, Peter West  wrote:
> 
> $ sudo port install xorg-server
> $ sudo port install R
> $ sudo port install R-app
> 
> 
> Start MacPorts>R.app
> 
> In the R.app console
> 
> > install.packages(“rgl”)
> 
> This will involve a lot of compilation. The OpenMP problem seems to have been 
> resolved by using the compiler /opt/local/bin/clang++-mp-9.0, and you will 
> see plenty of this.
> 
> When that finishes, in the console
> 
> > library(rgl)
> 
> I get
> This build of rgl does not include OpenGL functions.  Use
>  rglwidget() to display results, e.g. via options(rgl.printRglwidget = TRUE).
> 
> So I should get output that way, but I’m curious about the “native” way of 
> doing it.
> 
> Peter
> 
> 
> --
> Peter West
> p...@pbw.id.au 
> “So the Son of Man is lord even of the Sabbath..”
> 
>> On 19 Jan 2021, at 12:58 pm, Ryan Schmidt > > wrote:
>> 
>> 
>> 
>> On Jan 18, 2021, at 04:56, Peter West wrote:
>> 
>>> I’ve removed XQuartz (again), and installed R and R-app from MacPorts. The 
>>> R install warned me that
>>> Clang compilers provided by Xcode do not support OpenMP. Some R packages 
>>> using OpenMP may require additional
>>>  flags in the Makevar file (e.g. data.table) to build. Please consult 
>>> package documentation.
>>> 
>>> I install.package’d data.table without whinging, then did the same for rgl. 
>>> It built, but when I loaded the library, I was informed that
>>> This build of rgl does not include OpenGL functions.
>>> 
>>> Looking around for mentions of OpenGL, I couldn’t se anything that looked 
>>> like an OpenGL library.
>> 
>> I don't know anything about R or rgl. I tried "port search rgl" and I'm not 
>> sure if any of those are what you're referring to.
>> 
>> If you can provide an exact step-by-step list of commands to run to observe 
>> the problem, then I could try them on my system and see if I can figure out 
>> what needs to be changed.
>> 
> 



Re: p5.28-dbd-mysql fails to build

2021-01-20 Thread ximon
Thanks Ryan, recompiling perl solved the issue.

> On 19 Jan 2021, at 23:12, Ryan Schmidt  wrote:
> 
> 
> 
> On Jan 19, 2021, at 09:52, ximon wrote:
> 
>> Hi, I have a new install of macports on 11.1 BigSur. mysql8 is installed and 
>> works, as does the mysql client, perl 5.28 installed also. When I try to 
>> install p5.28-dbd-mysql +mysql8 it fails with the below log messages.
> 
> See the last paragraph of https://trac.macports.org/ticket/62086#comment:6 
> for the workaround.
> 
>