Package Details: montage 6.1-1

Git Clone URL: https://aur.archlinux.org/montage.git (read-only, click to copy)
Package Base: montage
Description: An astronomical image mosaic engine
Upstream URL: http://montage.ipac.caltech.edu/
Keywords: astronomy, fits image, mosaic,
Licenses: custom
Submitter: clu
Maintainer: clu
Last Packager: clu
Votes: 10
Popularity: 0.000011
First Submitted: 2010-07-17 20:55 (UTC)
Last Updated: 2024-11-23 16:55 (UTC)

Dependencies (0)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

envolution commented on 2024-11-24 07:42 (UTC)

@clu i referenced your fixes and suggestions to get the -git package back to working state - I also noticed there's a python module in the source so i included that in the -git version - feel free to take what you need if you want to reflect the python changes

clu commented on 2024-11-23 16:59 (UTC)

Alright, here's a fix. This is actually newer than the tagged "6.1" but I want to keep something here that is working rather than a pkg that won't build. This is a recent (2024) git commit that still needs a minor patch (see PKGBUILD). This gets through build, a brief check of some binaries seems ok.

There is also a montage-git package, but it seems like it has been orphaned for some time unfortunately: https://aur.archlinux.org/packages/montage-git

Once there is a working release I will update this PKGBUILD

clu commented on 2024-11-23 16:00 (UTC)

Well, 6.1 doesn't build either. This appears to be addressed in some commits, but I'm not seeing a tagged/released version that addresses this yet. Will see what can be done.

https://github.com/Caltech-IPAC/Montage/commit/f5358e2152f301ecc44dd2d7fb33ee5daecc39f5#diff-c507abaf5b9f832027831d4efbe3d27e4d78ade75c5c66849eb162860aa2f387

trougnouf commented on 2024-05-16 11:38 (UTC)

It doesn't build

gcc -o mTileImage mTileImage.o \
    checkHdr.o checkWCS.o subImage.o -L../lib -lwcs -lcfitsio -lcoord -lmtbl -lsvc -lwww -lboundaries -lpixbounds -ltwoplane -lnsl -lm
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:166: mHdrtbl] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: checkWCS.o:/home/trougnouf/.cache/yay/montage/src/Montage/Montage/montage.h:2: multiple definition of `fstatus'; checkHdr.o:/home/trougnouf/.cache/yay/montage/src/Montage/Montage/montage.h:2: first defined here
/usr/bin/ld: subImage.o:/home/trougnouf/.cache/yay/montage/src/Montage/Montage/montage.h:2: multiple definition of `fstatus'; checkHdr.o:/home/trougnouf/.cache/yay/montage/src/Montage/Montage/montage.h:2: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:114: mConvert] Error 1
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:162: mHdrCheck] Error 1
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:237: mTileHdr] Error 1
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:241: mTileImage] Error 1
make[1]: Leaving directory '/home/trougnouf/.cache/yay/montage/src/Montage/Montage'
make[1]: Entering directory '/home/trougnouf/.cache/yay/montage/src/Montage/Montage'
cp mConvert mFlattenExec mHdrCheck mHdrtbl mTblSort mTileHdr mTileImage ../bin
cp: cannot stat 'mConvert': No such file or directory
cp: cannot stat 'mHdrCheck': No such file or directory
cp: cannot stat 'mHdrtbl': No such file or directory
cp: cannot stat 'mTileHdr': No such file or directory
cp: cannot stat 'mTileImage': No such file or directory
make[1]: *** [Makefile:245: install] Error 1
make[1]: Leaving directory '/home/trougnouf/.cache/yay/montage/src/Montage/Montage'
make: *** [Makefile:5: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: montage-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
montage - exit status 4

astrograzl commented on 2018-01-29 14:33 (UTC)

Hi, the problem is, that Montage use included freetype library. So let it use system library and it will compile and run without errors. Patch and update PKGBUILD is here: https://git.io/vNyxF

o1911 commented on 2017-11-08 07:04 (UTC)

Hi, I'm probably too late to help, but just in case... That `FT_Get_Var_Blend_Coordinates' message could be shown due to infinality-patched libraries. As these infinality libraries are no longer maintained, you probably want to remove them. A nice write-up on how to get rid them is here: https://gist.github.com/cryzed/e002e7057435f02cc7894b9e748c5671

clu commented on 2017-06-02 12:42 (UTC)

Do you also have harfbuzz installed?

korvinko commented on 2017-06-02 05:59 (UTC) (edited on 2017-06-02 06:01 (UTC) by korvinko)

Still getting error like @Universebenzene

clu commented on 2017-03-23 03:24 (UTC)

I see -- it appears to be caused by the library freetype which is included *locally* by montage in the lib subfolder. I would guess that a patch would be required to build the local freetype without harfbuzz support. It is unclear to me what the fonts contained in data are for. They are not mentioned in the documentation from what I can see. I have not had issues but I do not use all montage features. The only man files that I see after build are for the libraries that montage has included with source for build. They are not documentation for montage and are therefore not installed.

Universebenzene commented on 2017-03-23 02:07 (UTC) (edited on 2017-03-23 02:10 (UTC) by Universebenzene)

@clu However I got this error: /usr/lib/libharfbuzz.so.0: undefined reference to `FT_Get_Var_Blend_Coordinates' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:25: mViewer] Error 1 make[2]: Leaving directory '(path-to-tmp)/yaourt-tmp-benzene/aur-montage/src/Montage/util/Viewer' make[2]: Entering directory '(path-to-tmp)/yaourt-tmp-benzene/aur-montage/src/Montage/util/Viewer' cp mViewer mHistogram ../../bin cp: cannot stat 'mViewer': No such file or directory cp: cannot stat 'mHistogram': No such file or directory make[2]: *** [Makefile:34: install] Error 1 make[2]: Leaving directory '(path-to-tmp)/yaourt-tmp-benzene/aur-montage/src/Montage/util/Viewer' make[1]: *** [Makefile:20: all] Error 2 make[1]: Leaving directory '(path-to-tmp)/yaourt-tmp-benzene/aur-montage/src/Montage/util' make: *** [Makefile:6: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build montage. Which likely caused by harfbuzz. I googled and found that lots of people got similar errors caused by infinality, but I've never installed infinality and none of other packages went wrong before. Finally I downgrade harfbuzz and harfbuzz-icu to 1.3.4 and then the build passed. It might related to some fonts in the montage, but I'm not sure. BTW, there are lots of files(including some images and fonts) in other directories after make, such as data and man. Are these files necessary to be also in the package?