Re: configure error on compile ports

2021-02-14 Thread rmgls
Hello Craig,

Yes xcode run fine here.
Thanks for your reply.

R.M.



> On 14 Feb 2021, at 19:58, Craig Treleaven  wrote:
> 
>> On Feb 14, 2021, at 1:22 PM, rmgls  wrote:
>> ...
>> :info:configure checking for gcc... /usr/bin/clang
>> :info:configure checking for C compiler default output file name... 
>> :info:configure configure: error: C compiler cannot create executables
>> 
>> some details:
>> osx11.2. new macports (/opt/local entirely deleted first).
>> gcc and clang correctly seated in /usr/bin and running fine.
>> xcode up-to-date, and commandline tools installed!
> 
> Have you installed the Xcode command line tools and accepted the license?
> 
> https://www.macports.org/install.php
> 
> Craig
> 



Re: xorg

2021-02-14 Thread Tong Sun
On Sun, Feb 14, 2021 at 9:09 PM James Linder  wrote:
>
>
>
> > On 15 Feb 2021, at 9:41 am, Tong Sun  wrote:
> >
> > Was everything OK before you swap XQuartz with xorg?
> >
> > On Sun, Feb 14, 2021 at 6:48 PM James  wrote:
> >>
> >> I decided to use org rather than XQuartz
> >>
> >> But a check shows
> >>
> >> ssh sandypit
> >>
> >> [sandypit] /home/jam [1001]% xeyes
> >> Error: Can't open display:
> >>
> >> I have enabled auth
> >> ssh_config
> >> …
> >> Host *
> >>SendEnv LANG LC_*
> >>XAuthLocation /opt/X11/bin/xauth
> >>
> >> Any hints please
> >> James
>
> It is a long story:
>
> Long ago with this macbook and catelina and XQuarts everything worked
>
> After trying to build mythtv, which uses lots of macports, chaos reigned
>multiple “MacOS - Data” partitions, some with a utf char delimiter, some 
> with “1”, some with “2”
>
> I reinstalled catilina after reading “how to get rid of multiple Dsta 
> partitions. (DiskUtil on install)
> now /Applications is mostly bare, ~Application does not exist and a new 
> xorg-server install does not work, and to compound matters I have even more 
> Data partitions.

I thought so.

Just FYI, I have no problem using any X apps from macports, even via
ssh. So get your environment straight first. This is not a macports
problem (and this might not be the best place to solve all of your
remaining problems).


Re: xorg

2021-02-14 Thread Tong Sun
Was everything OK before you swap XQuartz with xorg?

On Sun, Feb 14, 2021 at 6:48 PM James  wrote:
>
> I decided to use org rather than XQuartz
>
> But a check shows
>
> ssh sandypit
>
> [sandypit] /home/jam [1001]% xeyes
> Error: Can't open display:
>
> I have enabled auth
> ssh_config
> …
> Host *
> SendEnv LANG LC_*
> XAuthLocation /opt/X11/bin/xauth
>
> Any hints please
> James


xorg

2021-02-14 Thread James
I decided to use org rather than XQuartz

But a check shows

ssh sandypit

[sandypit] /home/jam [1001]% xeyes
Error: Can't open display:

I have enabled auth 
ssh_config
…
Host *
SendEnv LANG LC_*
XAuthLocation /opt/X11/bin/xauth

Any hints please
James

Re: configure error on compile ports

2021-02-14 Thread Craig Treleaven
> On Feb 14, 2021, at 1:22 PM, rmgls  wrote:
> ...
> :info:configure checking for gcc... /usr/bin/clang
> :info:configure checking for C compiler default output file name... 
> :info:configure configure: error: C compiler cannot create executables
> 
> some details:
> osx11.2. new macports (/opt/local entirely deleted first).
> gcc and clang correctly seated in /usr/bin and running fine.
> xcode up-to-date, and commandline tools installed!

Have you installed the Xcode command line tools and accepted the license?

https://www.macports.org/install.php

Craig



configure error on compile ports

2021-02-14 Thread rmgls


Hello list,

Please can you tell me what to do about this error
(elinks but also many other compile)?


:info:configure checking for gcc... /usr/bin/clang
:info:configure checking for C compiler default output file name... 
:info:configure configure: error: C compiler cannot create executables

some details:
osx11.2. new macports (/opt/local entirely deleted first).
gcc and clang correctly seated in /usr/bin and running fine.
xcode up-to-date, and commandline tools installed!

Thanks for your answer.

Raoul MEGELAS
rm...@orange.fr




Re: wxMaxima crashes under Big Sur 11.2.1

2021-02-14 Thread Murray Eisenberg


> On 14 Feb2021, at 11:11 AM, Murray Eisenberg  
> wrote:
> 
> 
> On 14 Feb2021, at 2:12 AM, Ryan Schmidt  > wrote:
>> 
>> 
>> On Feb 13, 2021, at 11:33, Murray Eisenberg wrote:
>> 
>>> Without complaint, wxMaxima @20.04.0_0 installed (after maxima 
>>> @5.43.2_12+xmaxima and gnuplot 
>>> @5.4.1_2+aquaterm+luaterm+pangocairo+qt+wxwidgets+x11) under macOS Big Sur 
>>> 11.2.1 using MacPorts 2.6.99 and Xcode CLT 12.4.
>>> 
>>> Although the command-line maxima works, if I try to open 
>>> /Applications/MacPorts/wxMaxima.app, the app immediately crashes.
>>> 
>>> Perhaps this is related to https://trac.macports.org/ticket/61933 
>>> . 
>>> 
>>> But exactly what log file should I provide? I examined the 
>>> wxMaxima_2021002-13-.crash file in ~/Library/Logs/DiagnosticReports but 
>>> find no “rootless” line there.
>> 
>> I'm not sure what "rootless8" mentioned in that ticket refers to. Maybe it 
>> is the name of the user's computer. Probably irrelevant.
>> 
>> If you want to provide your crash log, you can do that, but it sounds like 
>> we already figured out what the problem is.
>> 
>> Per the mailing list thread mentioned in that ticket, I think the problem is 
>> an install_name_tool bug in Xcode 12.2. I don't know if the problem remains 
>> in Xcode 12.4. If you did not build wxWidgets from source, you can try doing 
>> that and see if it fixes the problem. Let us know whether or not that fixed 
>> it. If 12.4 didn't fix the bug, then a workaround is given in the mailing 
>> list thread linked in that ticket.
>> 
> 
> 
> (1) There is no port “wxWidgets”, only:
> 
>   wxWidgets-3.0
>   wxWidgets-common
>   wxWidgets_select
> 
> Which one(s) do I need to build from source?
> 
> (2) And what about gnuplot, which will break if I uninstall wxWidgets-3.0?
> 
> (3) Is the build-from-source command “port -s [portname]? 
> 
>   I’m not finding this documented at https://guide.macports.org 
> .

I uninstalled wxWidgets-3.0, gnuplot, maxima, and wxMaxima. Then installed 
wxWidgets-3.0 from source (port -s install wxWidgets-3.0). Then installed (not 
from source, but normally) gnuplot, maxima, and wxMaxima. 

Now I different problem: when I try to open wxMaxima.app, I get a pop-up error: 
locale ‘pa’ cannot be set.

If I dismiss that pop-up, then wxMaxima DOES open!

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




Re: wxMaxima crashes under Big Sur 11.2.1

2021-02-14 Thread Todd Doucet
Correction:

  port install depof:whatever

(This is a new machine and I have not yet turned off the obnoxious autospelling 
correction.

> 
> 
>> 
>> On 14 Feb2021, at 2:12 AM, Ryan Schmidt  wrote:
>>> 
>>> 
>>> On Feb 13, 2021, at 11:33, Murray Eisenberg wrote:
>>> 
 Without complaint, wxMaxima @20.04.0_0 installed (after maxima 
 @5.43.2_12+xmaxima and gnuplot 
 @5.4.1_2+aquaterm+luaterm+pangocairo+qt+wxwidgets+x11) under macOS Big Sur 
 11.2.1 using MacPorts 2.6.99 and Xcode CLT 12.4.
 
 Although the command-line maxima works, if I try to open 
 /Applications/MacPorts/wxMaxima.app, the app immediately crashes.
 
 Perhaps this is related to https://trac.macports.org/ticket/61933. 
 
 But exactly what log file should I provide? I examined the 
 wxMaxima_2021002-13-.crash file in ~/Library/Logs/DiagnosticReports 
 but find no “rootless” line there.
>>> 
>>> I'm not sure what "rootless8" mentioned in that ticket refers to. Maybe it 
>>> is the name of the user's computer. Probably irrelevant.
>>> 
>>> If you want to provide your crash log, you can do that, but it sounds like 
>>> we already figured out what the problem is.
>>> 
>>> Per the mailing list thread mentioned in that ticket, I think the problem 
>>> is an install_name_tool bug in Xcode 12.2. I don't know if the problem 
>>> remains in Xcode 12.4. If you did not build wxWidgets from source, you can 
>>> try doing that and see if it fixes the problem. Let us know whether or not 
>>> that fixed it. If 12.4 didn't fix the bug, then a workaround is given in 
>>> the mailing list thread linked in that ticket.
>> 
>> (1) There is no port “wxWidgets”, only:
>> 
>>   wxWidgets-3.0
>>   wxWidgets-common
>>   wxWidgets_select
>> 
>> Which one(s) do I need to build from source?
>> 
>> (2) And what about gnuplot, which will break if I uninstall wxWidgets-3.0?
>> 
>> (3) Is the build-from-source command “port -s [portname]? 
> 
> I am just a MacPorts user, not a maintainer or anything, but I can tell you 
> what I recently learned about building from source.  I also looked in the 
> Guide and found nothing, but "man ports" mentioned source mode (among many, 
> many, many other things).
> 
> Here is something to be aware of, though.  If you simply do
> 
>   port -s install whatever
> 
> then MacPorts wants to build all the prerequisites from source too, unless it 
> happens to be installed already.  This is usually not what you want, because 
> some of those prerequisites take a long time to build, and really, why do 
> that instead of just the binary install for those?
> 
> What I eventually figured out was that I could first tell MacPorts to install 
> the prerequisites, explicitly, and then after that do the source install of 
> just what I am after.   The incantation I used for the former was
> 
>   port install depot:whatever
> 
> (Put sudo before the installs, of course.)
> 
> Hope this helps.
> 
> 
> 
>> 
>> I’m not finding this documented at https://guide.macports.org.
>> 
>> 
>> ---
>> Murray Eisenberg murrayeisenb...@gmail.com
>> 503 King Farm Blvd #101 
>> Rockville, MD 20850-6667 Mobile (413)-427-5334
> 


Re: wxMaxima crashes under Big Sur 11.2.1

2021-02-14 Thread Todd Doucet


> 
> On 14 Feb2021, at 2:12 AM, Ryan Schmidt  wrote:
>> 
>> 
>> On Feb 13, 2021, at 11:33, Murray Eisenberg wrote:
>> 
>>> Without complaint, wxMaxima @20.04.0_0 installed (after maxima 
>>> @5.43.2_12+xmaxima and gnuplot 
>>> @5.4.1_2+aquaterm+luaterm+pangocairo+qt+wxwidgets+x11) under macOS Big Sur 
>>> 11.2.1 using MacPorts 2.6.99 and Xcode CLT 12.4.
>>> 
>>> Although the command-line maxima works, if I try to open 
>>> /Applications/MacPorts/wxMaxima.app, the app immediately crashes.
>>> 
>>> Perhaps this is related to https://trac.macports.org/ticket/61933. 
>>> 
>>> But exactly what log file should I provide? I examined the 
>>> wxMaxima_2021002-13-.crash file in ~/Library/Logs/DiagnosticReports but 
>>> find no “rootless” line there.
>> 
>> I'm not sure what "rootless8" mentioned in that ticket refers to. Maybe it 
>> is the name of the user's computer. Probably irrelevant.
>> 
>> If you want to provide your crash log, you can do that, but it sounds like 
>> we already figured out what the problem is.
>> 
>> Per the mailing list thread mentioned in that ticket, I think the problem is 
>> an install_name_tool bug in Xcode 12.2. I don't know if the problem remains 
>> in Xcode 12.4. If you did not build wxWidgets from source, you can try doing 
>> that and see if it fixes the problem. Let us know whether or not that fixed 
>> it. If 12.4 didn't fix the bug, then a workaround is given in the mailing 
>> list thread linked in that ticket.
> 
> (1) There is no port “wxWidgets”, only:
> 
>   wxWidgets-3.0
>   wxWidgets-common
>   wxWidgets_select
> 
> Which one(s) do I need to build from source?
> 
> (2) And what about gnuplot, which will break if I uninstall wxWidgets-3.0?
> 
> (3) Is the build-from-source command “port -s [portname]? 

I am just a MacPorts user, not a maintainer or anything, but I can tell you 
what I recently learned about building from source.  I also looked in the Guide 
and found nothing, but "man ports" mentioned source mode (among many, many, 
many other things).

Here is something to be aware of, though.  If you simply do

  port -s install whatever

then MacPorts wants to build all the prerequisites from source too, unless it 
happens to be installed already.  This is usually not what you want, because 
some of those prerequisites take a long time to build, and really, why do that 
instead of just the binary install for those?

What I eventually figured out was that I could first tell MacPorts to install 
the prerequisites, explicitly, and then after that do the source install of 
just what I am after.   The incantation I used for the former was

  port install depot:whatever

(Put sudo before the installs, of course.)

Hope this helps.



> 
> I’m not finding this documented at https://guide.macports.org.
> 
> 
> ---
> Murray Eisenberg murrayeisenb...@gmail.com
> 503 King Farm Blvd #101 
> Rockville, MD 20850-6667 Mobile (413)-427-5334


Re: wxMaxima crashes under Big Sur 11.2.1

2021-02-14 Thread Murray Eisenberg

On 14 Feb2021, at 2:12 AM, Ryan Schmidt  wrote:
> 
> 
> On Feb 13, 2021, at 11:33, Murray Eisenberg wrote:
> 
>> Without complaint, wxMaxima @20.04.0_0 installed (after maxima 
>> @5.43.2_12+xmaxima and gnuplot 
>> @5.4.1_2+aquaterm+luaterm+pangocairo+qt+wxwidgets+x11) under macOS Big Sur 
>> 11.2.1 using MacPorts 2.6.99 and Xcode CLT 12.4.
>> 
>> Although the command-line maxima works, if I try to open 
>> /Applications/MacPorts/wxMaxima.app, the app immediately crashes.
>> 
>> Perhaps this is related to https://trac.macports.org/ticket/61933. 
>> 
>> But exactly what log file should I provide? I examined the 
>> wxMaxima_2021002-13-.crash file in ~/Library/Logs/DiagnosticReports but 
>> find no “rootless” line there.
> 
> I'm not sure what "rootless8" mentioned in that ticket refers to. Maybe it is 
> the name of the user's computer. Probably irrelevant.
> 
> If you want to provide your crash log, you can do that, but it sounds like we 
> already figured out what the problem is.
> 
> Per the mailing list thread mentioned in that ticket, I think the problem is 
> an install_name_tool bug in Xcode 12.2. I don't know if the problem remains 
> in Xcode 12.4. If you did not build wxWidgets from source, you can try doing 
> that and see if it fixes the problem. Let us know whether or not that fixed 
> it. If 12.4 didn't fix the bug, then a workaround is given in the mailing 
> list thread linked in that ticket.
> 


(1) There is no port “wxWidgets”, only:

  wxWidgets-3.0
  wxWidgets-common
  wxWidgets_select

Which one(s) do I need to build from source?

(2) And what about gnuplot, which will break if I uninstall wxWidgets-3.0?

(3) Is the build-from-source command “port -s [portname]? 

I’m not finding this documented at https://guide.macports.org 
.


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