LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2018, 02:01 AM   #1
g3raman
LQ Newbie
 
Registered: Sep 2018
Posts: 1

Rep: Reputation: Disabled
Unhappy Use of uninitialized value in pattern match (m//) at ./configure line 1520


Hi,
Im trying to run the configure script for installing a software binary_c on my Linux 64 bit machine.

I get this error.

"Use of uninitialized value in pattern match (m//) at ./configure line 1520"

Even though there seem to be several threads on this error, I am unable to solve my issue. So I'm posting it again.

Here are parts of the configure script (with line numbers) below:

1519 # OS-specific
1520 Linux =>
1521 {
1522 check => ($os eq 'Linux') ? 1 : 0,
1523 cflags => ' -DLINUX -D_LARGEFILE_SOURCE '.
1524 ($cc!~/m32/ ? '-D_FILE_OFFSET_BITS=64 ' : '').
1525 ((-f '/proc/sys/kernel/perf_event_paranoid' &&
1526 (slurp '/proc/sys/kernel/perf_event_paranoid') =~/^[12]/) ?
1527 '-D__HAVE_PERF_EVENTS__ ' : '')
1528 },



Thanks for any kind of help!
 
Old 09-26-2018, 07:30 PM   #2
individual
Member
 
Registered: Jul 2018
Posts: 315
Blog Entries: 1

Rep: Reputation: 233Reputation: 233Reputation: 233
Please place code between [ CODE ] [/ CODE ] (remove the spaces) tags. Your error is either being caused by $cc or
Code:
(-f '/proc/sys/kernel/perf_event_paranoid' && (slurp '/proc/sys/kernel/perf_event_paranoid')
being undefined.

Last edited by individual; 09-26-2018 at 07:31 PM.
 
  


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
Delete all Characters in Line After Pattern Match dbol Programming 4 01-29-2013 10:37 AM
Use of uninitialized value in pattern match - perl casperdaghost Programming 4 06-27-2011 07:31 PM
[SOLVED] Use of uninitialized value in pattern match (m//) koshihaku Linux - Newbie 2 08-10-2010 01:07 PM
printing pattern match and not whole line that matches pattern Avatar33 Programming 13 05-06-2009 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:30 PM.

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