bugGNU Octave - Bugs: bug #42444, Will not configure,

 
 

bug #42444: Will not configure,

Submitted by:  None
Submitted on:  Tue 27 May 2014 07:02:12 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: Need InfoAssigned to: None
Originator Name: Dallas SniderOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 28 May 2014 06:54:00 PM UTC, comment #9:

Also, when checking packages remember that there are
.x86_64 and .i686 versions of pcre(-devel) (and lots of other
packages). Check the right ones.

Michael Godfrey <godfrey>
Project Member
Wed 28 May 2014 05:50:32 PM UTC, comment #8:

So to try to draw this to a meaningful conclusion, please check the following on your Fedora 17 x86_64 system:

  • Is the pcre-devel package installed (yum install pcre-devel)?
  • Is /usr/bin/pcre-config present? If not, reinstall pcre-devel.
  • Is /usr/include/pcre.h present? If not, reinstall pcre-devel.
  • Is /usr/lib64/libpcre.so present? If not, reinstall pcre-devel.

If those things are installed and all files I mentioned are present, and running configure from scratch still gives you an error with PCRE, then there may be a bug.

If the pcre-devel package is not installed or any of the files I listed are missing, then you should take this to the help-octave mailing list instead to figure out how to get a working PCRE setup.

Just FYI, Fedora 17 and 18 are now end-of-life, you might want to consider upgrading to a supported version that will get continued security updates.

Mike Miller <mtmiller>
Project Administrator
Wed 28 May 2014 02:11:58 PM UTC, comment #7:

The config.log says that you do not have the pcre-config program in your PATH and you do not have pcre.h in your default include path.

This is likely a support issue and not a bug in Octave's configure script, because we have many users building Octave on many different distributions and PCRE is always required. It would be preferable if this discussion moved to the help mailing list so other users can help and benefit from the solution to your problem.

Mike Miller <mtmiller>
Project Administrator
Wed 28 May 2014 01:53:03 PM UTC, comment #6:

I am attempting to install octave-3.8.1 on Fedora 17. I have all of the header files on the file system. I have attached configure.log.

(file #31462)

Dallas Snider <dallassnider>
Wed 28 May 2014 12:11:25 PM UTC, comment #5:

You are right about other distros.

But the documentation could point out something
like: the required header files may be in another
package, check your distribution. But, the
divergent practices of the various ditributions
do make this hard to make simple for users.

Still, this problem keeps popping up in the
bug reports, so some clarification could help.

Michael Godfrey <godfrey>
Project Member
Wed 28 May 2014 11:38:42 AM UTC, comment #4:

Michael Godfrey said:

> There is a general rule, unstated, that
> if LIB XX is required, so is XX-devel. This
> is pretty obvious, since the headers are in -devel,
> but easy to overlook.
>
> Documentation and messages could be improved...


Headers file will be in devel if you are using Red Hat or something like that. If you are running Arch, pcre headers are in the pcre package, there is no -devel package. If you are running Debian, it's on the -dev packages (not -devel). And these are just the distros that I know of.

The error message already says that it needs the PCRE headers, it should be up to the user to find them or we would have to get error messages for many distros and versions.

Carnë Draug <carandraug>
Project Member
Tue 27 May 2014 07:32:17 PM UTC, comment #3:

The message was crypic, but the error report seemed
pretty clear.

There is a general rule, unstated, that
if LIB XX is required, so is XX-devel. This
is pretty obvious, since the headers are in -devel,
but easy to overlook.

Documentation and messages could be improved...

Michael Godfrey <godfrey>
Project Member
Tue 27 May 2014 07:10:30 PM UTC, comment #2:

Providing useful information in a bug report shouldn't be that hard either.

So which Linux?
What options did you provide to configure?
Where is pcre installed, where's libpcre.so ? pcre.h ?
Whats config.log say in the section where it attempted to find pcre?

John Donoghue <lostbard>
Project Member
Tue 27 May 2014 07:05:25 PM UTC, comment #1:

You need pcre-devel. The cryptic library and headers
meant that.

Michael Godfrey <godfrey>
Project Member
Tue 27 May 2014 07:02:12 PM UTC, original submission:

I get the error when running configure:

configure: error: to build Octave, you must have the PCRE Library and headers installed.

I have install PCRE and set the PATH to the PCRE directory. This should not be that difficult and the messages should not be so cryptic. I had no problems installing previous versions of Octave.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #31462:  config.log added by dallassnider (100KiB - text/x-log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by dallassnider (Updated the item)
  • -unavailable- added by lostbard (Posted a comment)
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 02 Jun 2014 05:16:02 PM UTCrik5Open/ClosedOpen=>Closed
    Wed 28 May 2014 05:51:12 PM UTCmtmillerItem GroupInstallation Failure=>Build Failure
    Wed 28 May 2014 05:50:32 PM UTCmtmillerStatusNone=>Need Info
    Wed 28 May 2014 01:53:03 PM UTCdallassniderAttached File-=>Added config.log, #31462

    Back to the top


    Powered by Savane 3.1-cleanup1