Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

whiptail not found #168

Closed
xvxx opened this issue Dec 23, 2019 · 8 comments
Closed

whiptail not found #168

xvxx opened this issue Dec 23, 2019 · 8 comments

Comments

@xvxx
Copy link
Collaborator

xvxx commented Dec 23, 2019

Related to #167, I get an error trying to use the installer on a fresh install of Arch Linux:

dvkt@archlinux ~> git clone https://github.com/lartu/ldpl
Cloning into 'ldpl'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 3106 (delta 0), reused 1 (delta 0), pack-reused 3102
Receiving objects: 100% (3106/3106), 10.74 MiB | 7.86 MiB/s, done.
Resolving deltas: 100% (1986/1986), done.
dvkt@archlinux ~> cd ldpl/
dvkt@archlinux ~/ldpl> sh install.sh 
install.sh: line 6: whiptail: command not found
rm -f ldpl.o ldpl ldpl_included_lib.cpp lpm ldpl.1
awk -f lib-to-string.awk ldpl_lib.cpp > ldpl_included_lib.cpp
g++ -g -c -Wall -std=gnu++11 -fpermissive -DVERSION='"4.5-dev"'   -DVERSIONNAME='"Friendly Falcarius"'  -DCOMPILEDATE='"2019-12-23"' -DCOMPILEHOUR='"19:46:14"' -DLPMLOCATION='"~/ldpl/lpm/"'  ldpl.cpp
cd .. && cd man && sh generateMan.sh
generateMan.sh: line 6: php: command not found
cp ../man/ldpl.1 ldpl.1
g++ -g ldpl.o -o ldpl -static-libgcc -static-libstdc++ 
./ldpl ../lpm/lpm.ldpl -o=lpm
* Loading ../lpm/lpm.ldpl
* Compiling ../lpm/lpm.ldpl
* Building lpm
* Saved as lpm
* File(s) compiled successfully.
install.sh: line 78: whiptail: command not found
[sudo] password for dvkt: 
install -d /usr/local/bin/
install -m 775 ldpl /usr/local/bin/
install -d /usr/local/bin/
install -m 775 lpm /usr/local/bin/
install -d /usr/local/share/man/man1/
install ldpl.1 /usr/local/share/man/man1/
rm -f ldpl.o ldpl ldpl_included_lib.cpp lpm ldpl.1
install.sh: line 93: whiptail: command not found
install.sh: line 94: whiptail: command not found
Rawrrr!
@Lartu
Copy link
Owner

Lartu commented Dec 24, 2019

Hi there! Yes, whiptail is not included in arch apparently. You should install it in order to use the installer. LDPL has been uploaded to snap today, though, so you should now be able to install it using sudo snap install ldpl, so that script is on its way out, haha.

@Lartu Lartu closed this as completed Dec 24, 2019
@xvxx
Copy link
Collaborator Author

xvxx commented Dec 24, 2019

Cool, I got it installed with Snap 👍

@Lartu
Copy link
Owner

Lartu commented Dec 24, 2019

Wonderful!

@Lartu
Copy link
Owner

Lartu commented Dec 25, 2019

@dvkt is the snap version working for you? Mine doesn't seem to be able to open files nor did it install lpm D:'

@xvxx
Copy link
Collaborator Author

xvxx commented Dec 27, 2019

@Lartu No, it's not working for me either it turns out. Only ldpl -v!

@Lartu
Copy link
Owner

Lartu commented Dec 27, 2019

@dvkt thank you for trying. It seems snap packages are sandboxed and need special permissions (declared within the snap manifest) to access files. I'll fix this asap.

@saper
Copy link
Contributor

saper commented Apr 8, 2020

FreeBSD does not have it either, not even in ports/packages. I just jumped into src and ran gmake without problems...

@Lartu
Copy link
Owner

Lartu commented Apr 12, 2020

Yes, this whiptail installation thing was a complete fiasco. We should remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants