[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43164] Unable to build packages due to anothe
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #43164] Unable to build packages due to another installation of GCC or MinGW in PATH variable |
Date: |
Sun, 07 Sep 2014 08:28:50 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 |
URL:
<http://savannah.gnu.org/bugs/?43164>
Summary: Unable to build packages due to another installation
of GCC or MinGW in PATH variable
Project: GNU Octave
Submitted by: None
Submitted on: So 07 Sep 2014 08:28:49 UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: Bastelphilip
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.2
Operating System: Microsoft Windows
_______________________________________________________
Details:
I was unable to build any package using build_packages and I was also unable
to install packages using the pkg-command (error see below).
The reason seems to be that there were other installations of GCC and MinGW on
my computer in the scope of the environment variables (system variable PATH
and user variable PATH). After removing all the entries pointing to other
installations, build_packages worked and I was also able to install packages
using the pkg-command.
This problem occured in 3.8.1 as well as 3.8.2 and was solved in both cases.
-------------------------
>>build_packages
## cd to script directory as the packages files are in the same place
packagedir = fileparts (mfilename ("fullpathext"));
if length (packagedir) > 0
cd (packagedir);
endif;
cd (packagedir);
## install the packages
pkg ('install', 'general-1.3.4.tar.gz')
g++: error: unrecognized option '-pthread'
make: *** [mark_for_deletion.oct] Error 1
make: Entering directory
`C:/Users/NoName/AppData/Local/Temp/oct-2/general/src'
H:/Programme/Octave/Octave-3.8.2/bin/mkoctfile-3.8.2.exe mark_for_deletion.cc
make: Leaving directory
`C:/Users/NoName/AppData/Local/Temp/oct-2/general/src'
pkg: error running `make' for the general package.
error: called from 'configure_make' in file
H:\Programme\Octave\Octave-3.8.2\share\octave\3.8.2\m\pkg\private\co
nfigure_make.m near line 82, column 9
error: called from:
error:
H:\Programme\Octave\Octave-3.8.2\share\octave\3.8.2\m\pkg\private\install.m at
line 199, column 5
error: H:\Programme\Octave\Octave-3.8.2\share\octave\3.8.2\m\pkg\pkg.m at
line 394, column 9
error: H:\Programme\Octave\Octave-3.8.2\src\build_packages.m at line 9,
column 1
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43164>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #43164] Unable to build packages due to another installation of GCC or MinGW in PATH variable,
anonymous <=