bugGNU Octave - Bugs: bug #45175, MXE native build: compile error...

 
 

bug #45175: MXE native build: compile error with portaudio

Submitter:  Ceral Paquet <octavebugs>
Submitted:  Sun 24 May 2015 07:39:31 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  lostbard
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Fri 29 May 2015 11:23:09 PM UTC, comment #9: 
John Donoghue <lostbard>
Group Member
Fri 29 May 2015 01:44:32 AM UTC, comment #8: 

You can change .tar.gz to tar.bz2 in src/default-octave.mk

John Donoghue <lostbard>
Group Member
Thu 28 May 2015 01:09:28 PM UTC, comment #7: 

I will add a change for port audio to fix that issue.

I don't believe that --enable-octave=default wont download any tarballs - it is for devels who have built their own tarball and placed it in the pkg dir.

It wont wor kwith the latest default branch as it hadn't been updated to reflect 4.1.0+ yet

John Donoghue <lostbard>
Group Member
Thu 28 May 2015 12:12:57 PM UTC, comment #6: 

Fantastic - that did the trick. You octave developers are so darn smart!

Another little glitch at the end:


make[1]: Entering directory '/home/mxe-octave-1fea617cdf13'
rm -rf   '/home/mxe-octave-1fea617cdf13/tmp-default-octave' '/home/mxe-octave-1fea617cdf13/tmp-default-octave-install'
mkdir -p '/home/mxe-octave-1fea617cdf13/tmp-default-octave'
( cd '/home/mxe-octave-1fea617cdf13/tmp-default-octave' &&  tar xzf '/home/mxe-octave-1fea617cdf13/pkg/octave-4.0.0-rc4.tar.gz' ) ||  false
tar (child): /home/mxe-octave-1fea617cdf13/pkg/octave-4.0.0-rc4.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
/home/mxe-octave-1fea617cdf13/Makefile:728: recipe for target 'build-only-default-octave' failed
make[1]: *** [build-only-default-octave] Error 1
make[1]: Leaving directory '/home/mxe-octave-1fea617cdf13'




ls pkg/octave*
 pkg/octave-4.0.0-rc4.tar.bz2

indicates a file was downloaded but make default-octave doesn't work. Typing make octave does work.

Ceral Paquet <octavebugs>
Wed 27 May 2015 09:23:06 PM UTC, comment #5: 

Can you edit the src/portaudio.mk file and remove 3 lines and retry it:

--with-host_os=mingw \
--with-winapi=wmme,directx \
--with-dxdir=$(HOST_PREFIX) \


John Donoghue <lostbard>
Group Member
Wed 27 May 2015 07:23:28 PM UTC, comment #4: 

Sorry forgot to add; debian jessie xfce.

Ceral Paquet <octavebugs>
Wed 27 May 2015 07:19:46 PM UTC, comment #3: 

See attatched file log/portaudio.



(file #34103)

Ceral Paquet <octavebugs>
Mon 25 May 2015 09:07:35 PM UTC, comment #2: 

What version/flavour of linux?

Can you attach the full log?

John Donoghue <lostbard>
Group Member
Mon 25 May 2015 08:45:26 PM UTC, comment #1: 

I forgot to add, this is with --enable-octave=default

Ceral Paquet <octavebugs>
Sun 24 May 2015 07:39:31 AM UTC, original submission:  

Using conf options:

./configure --enable-64 --enable-native-build --enable-pic-flag host_alias=gnu-linux --enable-openblas --enable-jit

In log/portaudio it gives this message:

gcc: error: unrecognized command line option '-mthreads'
Makefile:227: recipe for target 'src/common/pa_allocation.lo' failed
make[2]: * [src/common/pa_allocation.lo] Error 1
make[2]: Leaving directory '/home/mxe-octave-1fea617cdf13/tmp-portaudio/portaudio'
/home/mxe-octave-1fea617cdf13/Makefile:728: recipe for target 'build-only-portaudio' failed
make[1]: * [build-only-portaudio] Error 2
make[1]: Leaving directory '/home/mxe-octave-1fea617cdf13'


Ceral Paquet <octavebugs>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #34103:  portaudio added by octavebugs (9KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by octavebugs (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-01 lostbard StatusReady For Test Fixed
    2015-06-01 lostbard Open/ClosedOpen Closed
    2015-05-31 mtmiller CategoryNone Configuration and Build System
        SummaryMXE compile error with portaudio MXE native build: compile error with portaudio
    2015-05-29 lostbard StatusNone Ready For Test
    2015-05-29 lostbard Assigned toNone lostbard
    2015-05-27 octavebugs Attached File- Added portaudio, #34103

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code