Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile馃樁 #1848

Closed
311303 opened this issue Feb 22, 2020 · 5 comments
Closed

Unable to compile馃樁 #1848

311303 opened this issue Feb 22, 2020 · 5 comments

Comments

@311303
Copy link

311303 commented Feb 22, 2020

I tried 7.0.9-24 and 7.0.9-26, both of which are errors.
I used it.
../configure --prefix=/data/gcc --with-perl=yes --with-gslib=yes --with-autotrace=yes --with-modules=yes --with-tcmalloc=yes --disable-docs && make -j4
7dc2a8d520694c33

Is this a problem with 'AutoTrace' enabled?

@urban-warrior
Copy link
Member

We tried a build with autotrace 0.31.1 enabled and ImageMagick compiled without complaint. Not sure why its failing for you. If you can live without autotrace, do not add --with-autotrace to the ImageMagick configure script command-line. ImageMagick should then compile.

@dlemstra
Copy link
Member

It seems that at_bitmap_type got renamed to at_bitmap (autotrace/autotrace@1a4e323). This seems to be done after the 0.31.1 but the commit history of this project is not easy to read. This is the current version of autotrace.h: https://github.com/autotrace/autotrace/blob/master/src/autotrace.h. Which version of autotrace are you using @311303? Maybe we should add a version check for this?

@311303
Copy link
Author

311303 commented Feb 22, 2020

It seems that at_bitmap_type got renamed to at_bitmap (autotrace/autotrace@1a4e323). This seems to be done after the 0.31.1 but the commit history of this project is not easy to read. This is the current version of autotrace.h: https://github.com/autotrace/autotrace/blob/master/src/autotrace.h. Which version of autotrace are you using @311303? Maybe we should add a version check for this?

I use AutoTrace 0.31.2

I've removed AutoTrace now. It's very smooth to execute make-j4. But when I execute make DESTDIR=/data/test install, an error is reported
Q16HDRI.xs:11567:18: error: too few arguments to function 'ColorThresholdImage'
I found that ColorThresholdImage in MagickCore/threshold.h:49 has four arguments, while PerlMagick/quantum/quantum.xs.in:11567 has only three.

@urban-warrior
Copy link
Member

urban-warrior commented Feb 22, 2020

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.

@311303
Copy link
Author

311303 commented Feb 23, 2020

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.

thanks馃榿

@311303 311303 closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants