LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-25-2020, 03:51 PM   #1
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
One more perl headache


Hi all,

I'm using sbopkg to build a bunch of perl modules packages and I am facing this error
Code:
Only one of PREFIX or INSTALL_BASE can be given.  Not both.
If I recall corectly, I hadn't such a problem before updating last current (even wrote and submitted a few slackbuilds).

I can fix each slackbuild (will we have to do it for current ?) but rather find a global solution...

Any clue/hint welcome !
 
Old 09-26-2020, 12:39 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Hi Tonus,

could you please name some examples of the scripts which are broken on current?

Last edited by ponce; 09-26-2020 at 03:43 AM.
 
Old 09-26-2020, 01:17 PM   #3
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405

Original Poster
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Can't have my laptop these days, sorry being late answering .
I only recall perl-data-messagepack from the list (wich I maintain and was the reason other program was failing)
 
Old 09-26-2020, 01:24 PM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Tonus View Post
Can't have my laptop these days, sorry being late answering .
I only recall perl-data-messagepack from the list (wich I maintain and was the reason other program was failing)
perl-data-messagepack builds fine here on slackware64-current.
 
1 members found this post helpful.
Old 09-26-2020, 07:23 PM   #5
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405

Original Poster
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Might have something interfering since this isn't a build environment for now but my actual system…
It has been several weeks I was wondering if I shouldn't go with a from scratch current reinstall to sort out some glitches…
 
Old 09-27-2020, 01:01 AM   #6
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
Maybe you have a stray PERL_MM_OPT in the environment that eventually evaluates as "PREFIX=... INSTALL_BASE=..." somehow?
 
1 members found this post helpful.
Old 10-04-2020, 04:29 PM   #7
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405

Original Poster
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Ok, it appears that passing
Code:
PERL_MM_OPT=""
before
Code:
sbopkg -i perl-data-messagepack
does the trick, avoiding to have this
Code:
#echo $PERL_MM_OPT
INSTALL_BASE=/home/tonus/perl5
I'll have to investigate what perl module is the culprit.
Could it be safe to add the command to the slackbuild I maintain or is it best to warn in the README ?

Last edited by Tonus; 10-04-2020 at 04:30 PM. Reason: typo
 
Old 10-04-2020, 05:05 PM   #8
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405

Original Poster
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
These fail
Code:
perl-ExtUtils-Config
perl-ExtUtils-InstallPaths
perl-ExtUtils-Helpers
perl-Test-Harness
perl-JSON
perl-PAR-Dist
perl-File-Remove
perl-Test-Requires
perl-Module-ScanDeps
perl-YAML-Tiny
perl-inc-module-install
perl-data-messagepack
perl-data-section-simple
perl-Test-Warnings
perl-file-slurper
perl-Config-Simple
perl-Try-Tiny
erl-IPC-Run
perl-http-date
These build
Code:
perl-Module-Build-Tiny
perl-Module-Build
perl-net-mpd #if I correct the find command that do not find any man page
Modules that are listed as installed
Code:
perl-AnyEvent
perl-Canary-Stability
perl-Config-Simple
perl-ExtUtils-Config
perl-ExtUtils-Helpers
perl-ExtUtils-InstallPaths
perl-File-Remove
perl-IPC-Run
perl-JSON-4.02
perl-JSON-XS
perl-Module-Build
perl-Module-Build-Tiny
perl-Module-ScanDeps
perl-PAR-Dist
perl-Test-Harness
perl-Test-Requires
perl-Test-Warnings
perl-Try-Tiny
perl-Types-Serialiser
perl-YAML-Tiny
perl-common-sense
perl-data-messagepack
perl-data-section-simple
perl-file-slurper
perl-http-date
perl-http-tiny
perl-inc-module-install
perl-local-lib
perl-net-mpd
perl-path-tiny
perl-template-toolkit
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl One Liner : Capturing more than one matched regex per line and printing uncle-c Programming 6 01-22-2012 04:16 AM
Do I need more then ONE swap file when using more then one Linux Distribution jonathan1227 Linux - Laptop and Netbook 3 06-16-2009 12:50 PM
one box, 2 modems, 2 isp's, two subnets = headache! xscousr Linux - Networking 13 08-22-2004 10:11 AM
I need more then one language on more then one user Harmonic Linux - Software 1 05-14-2004 12:22 PM
perl(Cwd) perl(File::Basename) perl(File::Copy) perl(strict)....What are those? Baldorg Linux - Software 1 11-09-2003 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration