mersenneforum.org  

Go Back   mersenneforum.org > Math Stuff > Computer Science & Computational Number Theory > PARI/GP

Reply
 
Thread Tools
Old 2023-05-23, 00:46   #1
PWD
 
May 2023

28 Posts
Exclamation Pari/GP in raspberrypi

I am trying to compile one of a project with pari library dependency but i am facing below error while running the configuration file. Its installing just fine in ubuntu and windows but not here. I check gzip, perl, gcc, everything is already installed in rpi. Not sure whats the issue. Can someone please help me with this?

pi@raspberrypi:~/mystuff/pari-2.15.3 $ ./Configure
Configuring pari-2.15.3 (STABLE)
Checking echo to see how to suppress newlines...
...using \c
Looking for some tools first ...
./Configure: 1: ./locate: Permission denied
...I could not find gzip.
./Configure: 1: ./locate: Permission denied
...I could not find cc.
./Configure: 1: ./locate: Permission denied
...I could not find gcc.
./Configure: 1: ./locate: Permission denied
...I could not find ld.
./Configure: 1: ./locate: Permission denied
...I could not find perl.
./Configure: 1: ./locate: Permission denied
...I could not find zcat.
./Configure: 1: ./get_archos: ./arch-osname: Permission denied
Choosing C compiler ...
###
### Could not find a C compiler. Please install cc/gcc or set $CC
###

I am using Raspberry 4, Model B , 2GB RAM
PWD is offline   Reply With Quote
Old 2023-05-23, 03:13   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2×2,333 Posts
Default

What does echo $PATH tell?
paulunderwood is offline   Reply With Quote
Old 2023-05-23, 07:31   #3
PWD
 
May 2023

2 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
What does echo $PATH tell?
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
PWD is offline   Reply With Quote
Old 2023-05-23, 11:24   #4
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

2·2,333 Posts
Default

Can you run:

Code:
touch test
gzip test.gz test
ls  test*
rm test
rm test.gz

Last fiddled with by paulunderwood on 2023-05-23 at 11:25
paulunderwood is offline   Reply With Quote
Old 2023-05-23, 13:51   #5
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

5·1,103 Posts
Default

Coming into his late, but can you use the repository version or do you need to compile from scratch?

The repository version for libpari-dev should be able to be installed with:
Code:
sudo apt install libpari-dev
EdH is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help pari gp User133 PARI/GP 46 2020-06-15 11:29
LLL in GP/Pari paul0 Programming 2 2015-11-17 13:04
PARI vs GAP skan Miscellaneous Math 0 2012-12-16 00:13
pari devarajkandadai Programming 21 2012-08-31 18:08
64-bit Pari? CRGreathouse Software 2 2009-03-13 04:22

All times are UTC. The time now is 12:54.


Sun May 28 12:54:57 UTC 2023 up 283 days, 10:23, 0 users, load averages: 0.82, 1.06, 1.13

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔