Hello

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

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'

sh-3.1$ tar xvfkz octave-forge-bundle-20080831.tar.gz

7. goto folder ./octave-forge-bundle-20080831/main/ and extract 
'image-1.0.8.tar.gz'

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

8.goto goto ./image-1.0.8/src/ and exit 'Makefile'

sh-3.1$ cd ./image-1.0.8/src/
sh-3.1$ exit

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'

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++

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

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

Some warnings appear but no error appears if you have done the thing correctly.

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

If you find the following, 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 
octave-forge-bundle-20080831

> cd ../..
> unlink('./octave-forge-bundle-20080831.tar.gz')
> system('sh')
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

Reply via email to