octave-maintainers
[Top][All Lists]
Advanced

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

Re: GSoC project about binary packaging


From: PhilipNienhuis
Subject: Re: GSoC project about binary packaging
Date: Wed, 26 Jun 2013 02:45:10 -0700 (PDT)

Hi Anirudha (is that your first name?)


Anirudha Bose wrote
> On Wed, Jun 26, 2013 at 10:40 AM, Anirudha Bose <

> ani07nov@

> > wrote:
> 
>> On Mon, Jun 24, 2013 at 11:44 PM, PhilipNienhuis <

> pr.nienhuis@

> >wrote:
>>
>>>
>>> I'll attach my write-up for compiling on Windows natively here. Not to
>>> help
>>> Anirudha Bose with cheating, but hopefully it'll help speed things up.
>>> (The
>>> spirit of OSS it to build on top of other people's work after all.)
>>>
>>> MXE-octave_buildinstr.txt
>>> <
>>> http://octave.1599824.n4.nabble.com/file/n4654744/MXE-octave_buildinstr.txt
>>> >
>>>
>>
>> Thanks for the providing this! While trying to build Octave natively on
>> Windows, I get this message (when I do configure --enable-native-gcc
>> --enable-native-build):
>>     configure: WARNING: unrecognized options: --enable-native-gcc

Please run "configure --help" from octave's source dir to see what options
you need to enter exactly how.


>> My guess would be that there are problems with the PATH. After I did
>>     echo $PATH > .profile
>> I navigated to this location C:\MinGW\msys\1.0\home\ani where I found
>> that
>> file. Before making changes to it, the file contents were:
>> export $PATH=.:/usr/local/bin:/mingw/bin:/bin:/c/Program Files
>> (x86)/Intel/iCLS Client/:/c/Program Files/Intel/iCLS
>> Client/:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/c/Program
>> Files (x86)/Windows Live/Shared:/c/Program Files (x86)/Intel/OpenCL
>> SDK/2.0/bin/x86:/c/Program Files (x86)/Intel/OpenCL
>> SDK/2.0/bin/x64:/c/Program Files/Intel/Intel(R) Management Engine
>> Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine
>> Components/IPT:/c/Program Files (x86)/Intel/Intel(R) Management Engine
>> Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine
>> Components/IPT:/c/Program Files/TortoiseHg/
>>
> 
> Sorry, the export $PATH= was not present in the original file. So
> initially
> the .profile file was something like this:
> .:/usr/local/bin:/mingw/bin:/bin:/c/Program Files (x86)/Intel/iCLS
> Client/:/c/Program Files/Intel/iCLS
> Client/:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/c/Program
> Files (x86)/Windows Live/Shared:/c/Program Files (x86)/Intel/OpenCL
> SDK/2.0/bin/x86:/c/Program Files (x86)/Intel/OpenCL
> SDK/2.0/bin/x64:/c/Program Files/Intel/Intel(R) Management Engine
> Components/DAL:/c/Program Files/Intel/Intel(R) Management Engine
> Components/IPT:/c/Program Files (x86)/Intel/Intel(R) Management Engine
> Components/DAL:/c/Program Files (x86)/Intel/Intel(R) Management Engine
> Components/IPT:/c/Program Files/TortoiseHg/
> 
> 
>> I changed the above contents and these are the contents now:
>> export $PATH=.:/usr/local/bin:/mingw/bin:/bin:/c/"Program
>> Files"/TortoiseHg/:/c/"Program Files"/gs/gs9.07
>> export
>> PKG_CONFIG_PATH=/home/ani/mxe-octave/usr/i686-pc-mingw32/lib/pkgconfig

> export $PATH=.:/usr/local/bin:/mingw/bin:/bin:/c/"Program
> Files"/TortoiseHg/:/c/"Program Files"/gs/gs9.07

The "Program Files" thing isn't going to work like you entered it. You will
HAVE to install Mercurial and ghostview in a path w/o spaces, period,
otherwise it won't be picked up properly by the various build scripts.
(Once Octave is built and runs the spaces in the PATH don't matter; it is at
build time that I found things to go wrong)
Furthermore you'd need to include not the main program subdirs for hg and gs
but the bin/ dirs inside.

Please reread the build instructions more carefully.


>> Even after the above changes my MinGW shell is showing errors when I
>> restart it. Am I doing something wrong? Please help.

I'm sorry, I have limited time this week (and my own jobs to do). If you
really get stuck try to contact the mentors as well. I'll follow this
discussion anyway, don't worry

Philip




--
View this message in context: 
http://octave.1599824.n4.nabble.com/GSoC-project-about-binary-packaging-tp4654636p4654841.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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