Yes, it is a bit weird that no script exists to install Prima. I have a Brother printer, and when I wanted to install the drivers for linux, I went to the website, and they had a little install script for the Brother printers. I downloaded the script and executed it from the terminal, and it did everything to make the printer work. It was EASY. But the installation of Prima doesn't seem very easy. I mean it gave me all sorts of error messages at first. It did not find the libraries, so I installed them. Thank you for pointing me to README.md! Coming from Windows, the .md file extension did not seem familiar to me. If it had been README.txt I would have opened it for sure.
I ran perl Makefile.PL and I did not have gcc installed the way Makefile expected it, so I had to create a symbolic link in /bin for the gcc compiler. After that, it ran okay. Next, I tried to issue the make command, but it did not exist, so I had to install make. Then I began the make process. While it was compiling, it did show 3 or 4 error messages in the source code, but it scrolled by so fast, I couldn't remember all of what I saw. One of the errors was regarding a function call to strlcpy() and it said it doesn't exist, did you mean to use strncpy() instead? Another error existed in a calculation, but I can't remember where I saw it.
Anyway, I looked and saw that it actually installed Prima into this directory:
/usr/local/lib/x86_64-linux-gnu/perl/5.36.0/Prima
Then I tried some examples, and they worked. So, it looks like it's a success! But it could have been easier. Ahem.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.