Hello

My previous post included some errors. Please ignore it.

*******************
I have confirmed Benjamin's suggestion.
With correction of image-1.0.8/src/Makefile after image-1.0.8.tar.gz being 
extracted, command of the
"pkg install image-1.0.8" make us to use image-1.0.8 like 

            image *|   1.0.8 | ...\share\octave\packages\image-1.0.8

Here I show the instruction 

*****Beginnig of instruction
1. Download octave-forge-bundle-20080831.tar.gz
from 

http://sourceforge.net/project/downloading.php?group_id=2888&filename=octave-forge-bundle-20080831.tar.gz

Pleae note that 'octave-forge-bundle-20080831.tar.gz' is the previous archive 
of octave-forge
packages. In the latest archive of pacakges, 
'octave-forge-bundle-20090508.tar.gz',  some packages
only works on the develoment brach of octave (octave 3.1.x). The image package 
in
'octave-forge-bundle-20090508.tar.gz', image-1.0.9.tar.gz, needs octave >= 
3.1.51 so that it cannot be
used in octave 3.0.5.  In case like the image package, you should use the 
previous version archived in
'octave-forge-bundle-20080831.tar.gz' but not in 
'octave-forge-bundle-20090508.tar.gz'

2. Place it at any folder you like, for example c:\tmp

3. start octave

4. chage present working directry (folder) from octave prompt

> cd c:\tmp

5. start Msys sh shell

> system('sh')

Then you see Msys sh shell prompt like

sh-3.1$

6. exract 'octave-forge-bundle-20080831.tar.gz' and then extrct 
'image-1.0.8.tar.gz' from the Msys sh
prompt,

sh-3.1$ tar xvfkz octave-forge-bundle-20080831.tar.gz
sh-3.1$ cd ./octave-forge-bundle-20080831/main/
sh-3.1$ tar xvfkz image-1.0.8.tar.gz
sh-3.1$ cd ../..
sh-3.1$ exit

7.edit 'Makefile'

Then you will back to Octave and type the below from octave prompt

> edit

Then notepad++ starts at 'for example' c:\tmp
Use mouse and click menu File-> open 
and select 'octave-forge-bundle-20080831', 'main', 'image-1.0.8', 'src', and 
'Makefile' using the file
open menu of notepad++. Then you can edit, in the example case,
C:\tmp/octave-forge-bundle-20080831\main\image-1.0.8\src\Makefile

Edit line 34 from

        $(MKOCTFILE) $< `Magick++-config --cppflags` `Magick++-config --ldflags`
to 

        $(MKOCTFILE) $< `Magick++-config --cppflags` `Magick++-config 
--ldflags` `Magick++-config --libs`
and save 'Makefie' and Exit the notepad++

9. goto ./octave-forge-bundle-20080831/main and pkg install from octave prompt

> cd ./octave-forge-bundle-20080831/main
> pkg install image-1.0.8

Please care that you must not type 'pkg install image-1.0.8.tar.gz' in this 
case because it is not
corrected. 

Some warnings appear in the 'pkg install image-1.0.8' process but no error will 
appear if you have
done the thing correctly.  Please confirm that no error appeared.

After pkg install finished, confirm the results by 'pkg list'
> pkg list

If you find the following in a list, intall process was successful.

            image *|   1.0.8 | ...\share\octave\packages\image-1.0.8

You can delete 'octave-forge-bundle-20080831.tar.gz' and folder 
'octave-forge-bundle-20080831'

> cd ../..
> system('sh')
sh-3.1$ rm -f ./octave-forge-bundle-20080831.tar.gz
sh-3.1$ rm -r -f octave-forge-bundle-20080831
sh-3.1$ exit
>
******End of instruction

Regards

Tatsuro


> --- Benjamin Lindner wrote:
> 
> > Michael Goffioul wrote:
> > > Check whether the ImageMagick libraries are part of the link step.
> > > 
> > > Michael.
> > > 
> > 
> > Apparently not. Looks like a bug in the image package.
> > 
> > The makefile in image-1.0.8 reads
> > 
> > __magick_read__.oct: __magick_read__.cc
> >     $(MKOCTFILE) $< `Magick++-config --cppflags` `Magick++-config --ldflags`
> > 
> > but neither --cppflags nor --ldflags contain the required magick++ 
> > libraries.
> > 
> 
> --- nit_ar  wrote:
> 
> > Sorry, I have checked again and indeed I can 'mkoctfile' and 'mex' some 
> > examples !
> > 
> > But when trying to 'mex install' a package I am getting the errors 
> > regarding the missing compilers:
> > 
> >  > pkg install image-1.0.8.tar.gz
> > configure: error: no acceptable C compiler found in $PATH
> > See `config.log' for more details.
> > error: the configure script returned the following error: checking for 
> > gcc... no
> > checking for cc... no
> > checking for cl.exe... no
> > error: called from `pkg:configure_make' in file C:\Program 
> > Files\OctaveMingw\3.0.5_gcc-4.3.0\share\octave\3.0.5\m\pkg\pkg.m near 
> > line 1237, column 2
> > octave-3.0.5.exe:18:c:\Documents and Settings\Nit\Desktop\test
> > 
> > Benjamin Lindner wrote:
> > > nit_ar wrote:
> > >>
> > >> For some reason (probably because I didn't install the mingw 
> > >> development package separately, but only your windows distribution of 
> > >> octave-3.0.5) my installed octave doesn't recognize the required 
> > >> environment vars, so I can't use 'pkg build', 'mex' or 'mkoctfile'.
> > >
> > > There is only one mingw package which includes the devlopment sources.
> > > So it should be there.
> > >
> > > You say you can't use 'mkoctfile'. What happens if you use mkoctfile 
> > > on the e.g. oregonator.cc example file?
> > >
> > > benjamin
> > >
> > >
> > 
> > ------------------------------------------------------------------------------
> > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> > is a gathering of tech-side developers & brand creativity professionals. 
> > Meet
> > the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> > Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
> > _______________________________________________
> > Octave-dev mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/octave-dev
> > 
> 
> 
> 
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
> 
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
> _______________________________________________
> Octave-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/octave-dev
> 


--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to