[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43603] ltfat 2.0.1: fails to build and instal
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #43603] ltfat 2.0.1: fails to build and install on mxe-octave installation |
Date: |
Thu, 13 Nov 2014 20:49:43 +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/?43603>
Summary: ltfat 2.0.1: fails to build and install on
mxe-octave installation
Project: GNU Octave
Submitted by: lostbard
Submitted on: Thu 13 Nov 2014 08:49:42 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: 3.8.2
Operating System: Microsoft Windows
_______________________________________________________
Details:
Attempting to install ltfat package from octave-forge fails:
>> pkg -forge -verbose install ltfat
mkdir (C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-5)
untar (C:\Users\jdonoghue.ECE\ltfat-2.0.1.tar.gz,
C:\Users\JDONOG~1.ECE\AppData\Local\Temp\oct-5)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for mkoctfile... yes
checking for Pa_GetHostApiCount in -lportaudio... no
configure: WARNING: Portaudio lib not found. Disabling support of the block
processing framework.
configure: creating ./config.status
config.status: creating Makefile
make: Entering directory `/tmp/oct-5/ltfat/src'
make -f Makefile_unix
make[1]: Entering directory `/tmp/oct-5/ltfat/src'
cc -O3 -fPIC -std=c99 -Ithirdparty -DLTFAT_DOUBLE -c dgt.c -o ddgt.o
make[1]: cc: Command not found
make[1]: *** [ddgt.o] Error 127
make[1]: Leaving directory `/tmp/oct-5/ltfat/src'
make: *** [oct] Error 2
make: Leaving directory `/tmp/oct-5/ltfat/src'
The issue appears to be that it attempts to use the unix makefile instead of
the mingw one, and doesn't know uses 'cc' instead of gcc, even though
configure found gcc.
Making it run the Makefile_mingwoct also appears to have issues that appear to
be related with setting the SHELL variable to COMSPEC.
Attached is a patch to the package that ensures it uses CC from configure,
only sets SHELL to COMSPEC if SHELL is not already set.
With this patch, ltfat installs for me using mxe-octave 3.8.2 and hopefully
doesn't break the linux build.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 13 Nov 2014 08:49:42 PM GMT Name: ltfat.diff Size: 690B By:
lostbard
<http://savannah.gnu.org/bugs/download.php?file_id=32428>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43603>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43603] ltfat 2.0.1: fails to build and install on mxe-octave installation,
John Donoghue <=