octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44640] octave-forge strings fails to install


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #44640] octave-forge strings fails to install in windows
Date: Thu, 26 Mar 2015 20:52:42 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <http://savannah.gnu.org/bugs/?44640>

                 Summary: octave-forge strings fails to install in windows
                 Project: GNU Octave
            Submitted by: lostbard
            Submitted on: Thu 26 Mar 2015 08:52:41 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: JohnD
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

On running both the released, and whats in mercurial for the strings package:


>> pkg install -verbose -forge -nodeps strings
mkdir (C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-cNUfgW)
untar (C:\Users\jdonoghue.ECE\strings-1.1.0.tar.gz,
C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-cNUfgW)
make: Entering directory `/tmp/oct-cNUfgW/strings/src'
mkoctfile -Wall pcregexp.cc
pcregexp.o: In function `Z9FpcregexpRK17octave_value_listi':
C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-cNUfgW\strings\src/pcregexp.cc:60:
undefined reference to `pcre_compile'
C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-cNUfgW\strings\src/pcregexp.cc:69:
undefined reference to `pcre_fullinfo'
C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-cNUfgW\strings\src/pcregexp.cc:73:
undefined reference to `pcre_exec'
C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-cNUfgW\strings\src/pcregexp.cc:86:
undefined reference to `pcre_get_substring_list'
C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-cNUfgW\strings\src/pcregexp.cc:90:
undefined reference to `pcre_free'
C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-cNUfgW\strings\src/pcregexp.cc:110:
undefined reference to `pcre_free_substring_list'
C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-cNUfgW\strings\src/pcregexp.cc:111:
undefined reference to `pcre_free'
C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-cNUfgW\strings\src/pcregexp.cc:78:
undefined reference to `pcre_free'
collect2.exe: error: ld returned 1 exit status
make: *** [pcregexp.oct] Error 1
make: Leaving directory `/tmp/oct-cNUfgW/strings/src'


It doesn't like the way the Makefile is trying to find the libraries, most
likely due to windows file names having the '\' in them.

If

PCRE_LIBS := $(shell  grep "\#define OCTAVE_CONF_PCRE_LIBS"  $(shell 
$(MKOCTFILE) -p OCTINCLUDEDIR)/oct-conf.h | sed 's/^.*LIBS //;s/"//g'  )


is changed to 


PCRE_LIBS := $(shell pcre-config --libs)


It compiles OK.

The issue of course will then be systems that don't have pcre-config






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44640>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]