| Summary: | math/octave-forge-image: imread command doesn't work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jason Lenthe <lenthe> | ||||
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Maintainer of math/octave-forge-image,
Please note that PR ports/127369 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/127369
--
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool) Edwin Groothuis wrote:
> Maintainer of math/octave-forge-image,
>
> Please note that PR ports/127369 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/127369
>
The OP didn't include a patch, but he did suggest a fix. The attached
patch seems to accomplish what he intended, and I approve of it.
Responsible Changed From-To: freebsd-ports-bugs->amdmi3 I'll take it. State Changed From-To: feedback->open Feedback with a patch received from maintainer. Edwin Groothuis wrote:
> Maintainer of math/octave-forge-image,
>
> Please note that PR ports/127369 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
> http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/127369
>
Just as a point of information - I forwarded the suggestion to the
octave-forge mailing list, and one reply I received is saying that they
might just drop imread and imwrite from this package. This is because
it seems that imread and imwrite are part of octave-3.2.x. But in the
FreeBSD ports, not even octave-devel goes that high in development number!
Really, this message is just a point of information, just so you expect
it if or when it happens.
State Changed From-To: open->closed Committed. Thanks! amdmi3 2008-09-25 23:19:38 UTC
FreeBSD ports repository
Modified files:
math/octave-forge-image Makefile
Added files:
math/octave-forge-image/files patch-src:Makefile
Log:
- Fix dynamic linker errors by explicitely linking with Magick++ libs
- While here, convert some spaces to tabs
PR: 127369
Submitted by: Jason Lenthe <lenthe at comcast dot net>
Fix by: Stephen Montgomery-Smith <stephen at math dot missouri dot edu> (maintainer)
Revision Changes Path
1.3 +3 -2 ports/math/octave-forge-image/Makefile
1.1 +10 -0 ports/math/octave-forge-image/files/patch-src:Makefile (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
|
When trying to load an image in octave using the imread command (which is part of the port octave-forge-image) dynamic link errors messages occur: octave-3.0.2:1> X = imread('test.jpg'); error: /usr/local/libexec/octave/packages/image-1.0.8/amd64-portbld-freebsd7.0-api-v32/__magick_read__.oct: Undefined symbol "_ZTIN6Magick9ExceptionE" error: `__magick_read__' undefined near line 73 column 33 error: evaluating if command near line 72, column 5 error: called from `imread' in file `/usr/local/share/octave/packages/image-1.0.8/imread.m' error: evaluating assignment expression near line 1, column 3 Fix: The problem is that __magick_read__.oct isn't linked against libMagick++.so Compiling as follows fixes the problem: mkoctfile __magick_read__.cc `Magick++-config --cppflags` `Magick++-config --ldflags --libs` In other words the --libs is necessary for successful dynamic linkage. How-To-Repeat: 1) Install port octave-forge-image 2) Try loading an image using the imread command.