help-octave
[Top][All Lists]
Advanced

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

RE: mxe octave filure(Was Re: GraphicsMagick 16bit on windows)


From: JohnD
Subject: RE: mxe octave filure(Was Re: GraphicsMagick 16bit on windows)
Date: Tue, 7 Jul 2015 21:01:57 -0400


> -----Original Message-----
> From: Tatsuro MATSUOKA [mailto:address@hidden
> Sent: Tuesday, July 07, 2015 7:41 PM
> To: JohnD; address@hidden
> Subject: Re: mxe octave filure(Was Re: GraphicsMagick 16bit on windows)
> 
> ----- Forwarded Message -----
> 
> > From: JohnD
> > To: 'Tatsuro MATSUOKA' ; help-octav
> > Cc:
> > Date: 2015/7/8, Wed 02:26
> > Subject: RE: mxe octave filure(Was Re: GraphicsMagick 16bit on
> > windows)
> >
> >
> >
> >> -----Original Message-----
> >> From: Tatsuro MATSUOKA [mailto:address@hidden
> >> Sent: Tuesday, July 07, 2015 6:47 AM
> >> To: JohnD; address@hidden
> >> Subject: Re: mxe octave filure(Was Re: GraphicsMagick 16bit on
> >> windows)
> >>
> >>   >>  After octave build, I have met an error.
> >> >>  $ LANG=C make tar-dist
> >> >>  make: *** No rule to make target
> > '/c/usr/Tatsu/msys2_mingw32/mxe-
> >> >>  octave32/mxe-octave/installed-packages/build-gcc', needed by
> >> >>
> > '/c/usr/Tatsu/msys2_mingw32/mxe-octave32/mxe-octave/installed-
> >> >>  packages/mpfr'.  Stop.
> >> >>
> >> >>  For mingw mxe build gcc was not build so that this kind of thing
> >> > corrected.
> >> >>  This build was started on June 20. ItS \s old.
> >> >>
> >> >>  If I freshly re-start mxe-build, is this issue solved?
> >> >>
> >> >
> >> > In src/cloog.mk, isl.mk, mpc.mk and mfpr.mk, remove
> > 'build-gcc' from
> >> > PKG_DEPS It shouldn’t need it - even for notmal cross mingw buid.
> >>
> >>
> >>
> >> I have deleted 'build-gcc' in src/cloog.mk, isl.mk, mpc.mk and
> > mfpr.mk.
> >> And resume the make.
> >>
> >> In building mpfr,
> >> libtool: link: gcc -std=gnu99 -shared  .libs/exceptions.o
> >> .libs/extract.o .libs/uceil_exp2.o .libs/uceil_log2.o
> >> .libs/ufloor_log2.o .libs/add.o
> > .libs/add1.o
> >> .libs/add_ui.o .libs/agm.o .libs/clear.o .libs/cmp.o .libs/cmp_abs.o
> >> .libs/cmp_si.o .libs/cmp_ui.o .libs/comparisons.o .libs/div_2exp.o
> > .libs/div_2si.o
> >> .libs/div_2ui.o .libs/div.o .libs/div_ui.o .libs/dump.o .libs/eq.o
> > .libs/exp10.o
> >> .libs/exp2.o .libs/exp3.o .libs/exp.o .libs/frac.o .libs/frexp.o
> > .libs/get_d.o
> >> .libs/get_exp.o .libs/get_str.o .libs/init.o .libs/inp_str.o
> > .libs/isinteger.o
> >> .libs/isinf.o .libs/isnan.o .libs/isnum.o .libs/const_log2.o
> >> .libs/log.o
> > .libs/modf.o
> >> .libs/mul_2exp.o .libs/mul_2si.o .libs/mul_2ui.o .libs/mul.o
> >> .libs/mul_ui.o .libs/neg.o .libs/next.o .libs/out_str.o
> >> .libs/printf.o .libs/vasprintf.o .libs/const_pi.o .libs/pow.o
> >> .libs/pow_si.o .libs/pow_ui.o
> > .libs/print_raw.o
> >> .libs/print_rnd_mode.o .libs/reldiff.o .libs/round_prec.o .libs/set.o
> >> .libs/setmax.o .libs/setmin.o .libs/set_d.o .libs/set_dfl_prec.o
> >> .libs/set_exp.o .libs/set_rnd.o
> > .libs/set_f.o
> >> .libs/set_prc_raw.o .libs/set_prec.o .libs/set_q.o .libs/set_si.o
> > .libs/set_str.o
> >> .libs/set_str_raw.o .libs/set_ui.o .libs/set_z.o .libs/sqrt.o
> > .libs/sqrt_ui.o
> >> .libs/sub.o .libs/sub1.o .libs/sub_ui.o .libs/rint.o .libs/ui_div.o
> > .libs/ui_sub.o
> >> .libs/urandom.o .libs/urandomb.o .libs/get_z_exp.o .libs/swap.o
> > .libs/factorial.o
> >> .libs/cosh.o .libs/sinh.o .libs/tanh.o .libs/sinh_cosh.o
> >> .libs/acosh.o
> > .libs/asinh.o
> >> .libs/atanh.o .libs/atan.o .libs/cmp2.o .libs/exp_2.o .libs/asin.o
> >> .libs/const_euler.o .libs/cos.o .libs/sin.o .libs/tan.o .libs/fma.o
> > .libs/fms.o
> >> .libs/hypot.o .libs/log1p.o .libs/expm1.o .libs/log2.o .libs/log10.o
> > .libs/ui_pow.o
> >> .libs/ui_pow_ui.o .libs/minmax.o .libs/dim.o .libs/signbit.o
> > .libs/copysign.o
> >> .libs/setsign.o .libs/gmp_op.o .libs/init2.o .libs/acos.o
> >> .libs/sin_cos.o .libs/set_nan.o .libs/set_inf.o .libs/set_zero.o
> >> .libs/powerof2.o
> > .libs/gamma.o
> >> .libs/set_ld.o .libs/get_ld.o .libs/cbrt.o .libs/volatile.o
> > .libs/fits_sshort.o
> >> .libs/fits_sint.o .libs/fits_slong.o .libs/fits_ushort.o
> >> .libs/fits_uint.o .libs/fits_ulong.o .libs/fits_uintmax.o
> >> .libs/fits_intmax.o .libs/get_si.o .libs/get_ui.o .libs/zeta.o
> >> .libs/cmp_d.o .libs/erf.o .libs/inits.o
> > .libs/inits2.o
> >> .libs/clears.o .libs/sgn.o .libs/check.o .libs/sub1sp.o
> >> .libs/version.o .libs/mpn_exp.o .libs/mpfr-gmp.o .libs/mp_clz_tab.o
> >> .libs/sum.o
> > .libs/add1sp.o
> >> .libs/free_cache.o .libs/si_op.o .libs/cmp_ld.o .libs/set_ui_2exp.o
> >> .libs/set_si_2exp.o .libs/set_uj.o .libs/set_sj.o .libs/get_sj.o
> > .libs/get_uj.o
> >> .libs/get_z.o .libs/iszero.o .libs/cache.o .libs/sqr.o
> > .libs/int_ceil_log2.o
> >> .libs/isqrt.o .libs/strtofr.o .libs/pow_z.o .libs/logging.o
> >> .libs/mulders.o .libs/get_f.o .libs/round_p.o .libs/erfc.o
> >> .libs/atan2.o .libs/subnormal.o .libs/const_catalan.o .libs/root.o
> >> .libs/sec.o .libs/csc.o .libs/cot.o
> > .libs/eint.o
> >> .libs/sech.o .libs/csch.o .libs/coth.o .libs/round_near_x.o
> >> .libs/constant.o .libs/abort_prec_max.o .libs/stack_interface.o
> >> .libs/lngamma.o .libs/zeta_ui.o .libs/set_d64.o .libs/get_d64.o
> >> .libs/jn.o .libs/yn.o .libs/rem1.o .libs/get_patches.o .libs/add_d.o
> >> .libs/sub_d.o .libs/d_sub.o .libs/mul_d.o .libs/div_d.o
> > .libs/d_div.o
> >> .libs/li2.o .libs/rec_sqrt.o .libs/min_prec.o .libs/buildopt.o
> > .libs/digamma.o
> >> .libs/bernoulli.o .libs/isregular.o .libs/set_flt.o .libs/get_flt.o
> > .libs/scale2.o
> >> .libs/set_z_exp.o .libs/ai.o .libs/gammaonethird.o .libs/grandom.o
> >> -lgmp
> > -m32
> >> -O2 -mtune=pentiumpro -march=pentiumpro -Wl,--output-def
> >> -Wl,.libs/libmpfr- 4.dll.def  -o .libs/libmpfr-4.dll
> >> -Wl,--enable-auto-image-base -Xlinker
> > --out-
> >> implib -Xlinker .libs/libmpfr.dll.a
> >> C:/msys64/mingw32/lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64
> >> -
> >> mingw32/bin/ld.exe: cannot find -lgmp
> >> collect2.exe: error: ld returned 1 exit status
> >> Makefile:431: recipe for target 'libmpfr.la' failed
> >> make[4]: *** [libmpfr.la] Error 1
> >>
> >> In mxe-octave/usr/lib, libgmp.dll.a exists.
> >>
> >> In mpfr.mk,
> >>         --with-gmp-lib='$(HOST_LIBDIR)'
> >>
> >> Does HOST_LIBDIR should be added?
> >>
> >> Tatsuro
> >
> > What is toy mxe-configure options, and what make are doing? Just make?
> > Or make nsis-installer?
> 
> 
> I really appreciate for your help and patience.
> 
> I am using the following
> 
> 
> #***************************************************************
> 
> cd /c/usr/Tatsu/msys2_mingw32/mxe-octave32
> hg clone http://hg.octave.org/mxe-octave/ cd
> /c/usr/Tatsu/msys2_mingw32/mxe-octave32/mxe-octave
> export PATH=$PWD:/c/msys64/usr/bin:$PATH
> 
> export MXE_NATIVE_MINGW_BUILD='yes'
> export MXE_SYSTEM='mingw'
> autoconf
> #./configure --disable-system-fontconfig --enable-native-build 
> --enable-stable --
> enable-jit --enable-java ./configure --disable-system-fontconfig 
> --enable-native-
> build  --enable-jit --enable-java
> 
> source tools/set-mxe-env.sh
> LANG=C make tar-dist
> #***************************************************************
> 
> 
> Perhaps
> export MXE_NATIVE_MINGW_BUILD='yes'
> export MXE_SYSTEM='mingw'
> doen not make sense.
> 
> BTW, I am using msys2 64bit+ mingw32.
> This combination makes mis-detection host and build system and unwanted
> issue for hdf5 build but I have not changed system because I have not enough
> time to prepare msys2 32bit+mingw32.
> 
> After I will prepare msys2 32bit+mingw32 system, and cleanly check out the
> latest repository.
> 
> Tatsuro

You don’t need the MXE_NATIVE_XXXX stuff as this will get set via configure.
Msys2 32 bit should work as is, with just: ./configure 
--disable-system-fontconfig --enable-native-build

Msys2 64 bit needs a lot of changes in order to compile, I did get it to, but 
havent gotten around to sorting out all the changes  to make then nice enough 
to push up mxe as of yet.
Most of the time, where mis host detectionoccurs, copying up 
Mxe-octave/tools/config.guess and  tools/config.sub to replace those in the 
package being compiled was normally enough to fix the issue.

I hadn’t done tar-dist, which probally still needs some work,  but instead was 
just running octave from within its installed folders.
I will take a look at it if I get a chance, but will start with the 3 bit as 
that one has all the other patches already pushed up to mxe.





reply via email to

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