../configure: Permission denied error on mac os x

Joined
Mar 25, 2014
Messages
7
Reaction score
0
Points
1
Hello,


I am trying to install wxwidgets 2.6 on mac os x 10.8.5. I have got this error

Code:
../configure: Permission denied

when I try to execute from a root with
Code:
sudo ../configure
i have got this error
Code:
sudo: ../configure: command not found

What's the problem?
 
Joined
Feb 14, 2004
Messages
4,781
Reaction score
166
Points
63
Location
Groves, Texas
Only one dot: ./configure
Two dots makes the shell think you're trying to source a file called ./configure, as in trying to read a file into memory like a $PATH or something.
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,745
Reaction score
2,071
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Also, these commands should not be run with "sudo", you are compiling a program locally so do it as you, not root..
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
The only step you need elevated privileges for is the installation (or, "make install").
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top