Multiarch
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Multiarch
Hi,
I am trying to get imagemagick converted to multiarch and I have the following problem:
- please introduce a --includedir-arch=DIR that default to --include-dir for:
magick-config.h and .h file that could change depending of configure time option
- please introduice a --libconfig-dir=DIR that default to libdir/Imagemagick-version for storing configure.xml that is dependant of configured lib thus arch dependant
Bastien
I am trying to get imagemagick converted to multiarch and I have the following problem:
- please introduce a --includedir-arch=DIR that default to --include-dir for:
magick-config.h and .h file that could change depending of configure time option
- please introduice a --libconfig-dir=DIR that default to libdir/Imagemagick-version for storing configure.xml that is dependant of configured lib thus arch dependant
Bastien
Re: Multiarch
We'll need a few days to implement this properly. Stand by...
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Multiarch
Thanks
Could you do before the next minor revision ?
Bastien
Could you do before the next minor revision ?
Bastien
Re: Multiarch
Try the following:
- cd ImageMagick-6.7.3-3
./configure --includedir=include-path --datadir=data-path
make install
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Multiarch
No we already do this a debian.
multiarch is installing many arch in the same machine. We should extract part that change when switching compile or arch flags and part that are architectural neutral.
Configure.xml and magick-config.h change if I change the ABI, thus should use their own path.
For magick-config.h I may manually patch, but for configure.xml I need support from your side. And I do not want to duplicate locale.xml for each arch like in your solution.
bastien
multiarch is installing many arch in the same machine. We should extract part that change when switching compile or arch flags and part that are architectural neutral.
Configure.xml and magick-config.h change if I change the ABI, thus should use their own path.
For magick-config.h I may manually patch, but for configure.xml I need support from your side. And I do not want to duplicate locale.xml for each arch like in your solution.
bastien
Re: Multiarch
With --includedir-arch and --libconfig-dir, we add the value as a define to magick-config.h. We also check the libconfig-dir path at execution time. Do these options also affect the installation? Meaning if --includedir-arch is defined, the header files are stored in that path rather than --includedir path during 'make install'?
Ok to use --configdir-arch rather than --libconfig-dir?
Ok to use --configdir-arch rather than --libconfig-dir?
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Multiarch
ok with --configdir-arch
yes this option affect installation.We store the two arch files in specific place.
Bastien
yes this option affect installation.We store the two arch files in specific place.
Bastien
Re: Multiarch
Grab the latest release and use --includearch-dir and --sharearch-dir. Look for INCLUDE_PATH and SHARE_PATH in magick-config.h. Let us know if / how it does not meet your requirements.
-
- Posts: 467
- Joined: 2008-12-21T11:51:10-07:00
Re: Multiarch
No it does not work as expected for the share part:
What I want:
- english.xml francais.xml locale.xml should go to /usr/share like previoulsy
- configure.xml should go to sharedir-arch
What I get:
- english.xml francais.xml locale.xml configure.xml go to sharedir-arch
Thanks
Bastien
What I want:
- english.xml francais.xml locale.xml should go to /usr/share like previoulsy
- configure.xml should go to sharedir-arch
What I get:
- english.xml francais.xml locale.xml configure.xml go to sharedir-arch
Thanks
Bastien
Re: Multiarch
Use --sharearch-dir. We might need another iteration but give it a try and let us know what adjustments are needed.