Hi there, I'm trying to install open_pdks without ...
# sky130
m
Hi there, I'm trying to install open_pdks without root privilege. I installed magic and skywater pdk before cloning the repo, then I'm stuck in configuring open_pdks because I'm running into an error "error: You need 'magic' to generate the needed various cell views.". I tried to add magic directory path into
$PATH
or making magic as an alias of its directory but nothing new. All dependencies and required packages are installed earlier. The config command i'm using is:
./configure --enable-sky130-pdk=<skywater pdk path> --prefix=<local installation directory> --enable-xschem-sky130
I know that configuration is looking for magic in
/usr/local/bin/magic
but that path needs sudo. Is there any other options?
m
What do you mean that path needs sudo?
m
This path
/usr/local/
needs sudo privilege to install magic in it.
m
Ah you don't have root access
m
yes
m
Maybe @User knows a workaround
t
I think that magic is just searched for with
which magic
from the autoconf script, which means that if you install magic into some spot in your own home directory tree, and you alter your PATH environment variable to include the location of the
magic
executable script, then
open_pdks
should configure itself with the correct path to magic when you run
configure
.
I just confirmed from the autoconf tools documentation that autoconf will look in the defined
PATH
environment variable, so what I said above should work.
👍 1
m
Okay, I will try my best. Thanks!
There was a typo in
PATH
, now it works. Thank you so much.