Search Criteria
Package Details: miktex 24.12-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/miktex.git (read-only, click to copy) |
---|---|
Package Base: | miktex |
Description: | a distribution of the TeX/LaTeX typesetting system |
Upstream URL: | https://miktex.org |
Licenses: | custom |
Submitter: | heavysink |
Maintainer: | heavysink (lilac) |
Last Packager: | lilac |
Votes: | 11 |
Popularity: | 0.59 |
First Submitted: | 2020-06-14 02:01 (UTC) |
Last Updated: | 2024-12-27 13:51 (UTC) |
Dependencies (40)
- apr
- apr-util
- boost-libs
- bzip2 (bzip2-gitAUR)
- cairo (cairo-gitAUR)
- expat (expat-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-macosAUR, freetype2-qdoledAUR, freetype2-gitAUR)
- fribidi (fribidi-gitAUR)
- gd (gd-gitAUR)
- gmp (gmp-hgAUR)
- graphite (graphite-gitAUR)
- harfbuzz-icu (harfbuzz-icu-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- hunspell (hunspell-gitAUR)
- icu (icu-gitAUR)
- libjpeg (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR, libjpeg-turbo)
- libmspack
- libpng (libpng-gitAUR, libpng-apngAUR)
- log4cxx (log4cxx-gitAUR)
- mpfi
- mpfr (mpfr-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- pixman (pixman-gitAUR)
- poppler (poppler-gitAUR)
- poppler-qt6 (poppler-qt6-gitAUR)
- popt (popt-gitAUR)
- potrace
- qt6-5compat
- qt6-declarative (qt6-declarative-gitAUR)
- uriparser (uriparser-gitAUR)
- xz (xz-gitAUR)
- zziplib
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-uutilsAUR, coreutils-selinuxAUR) (make)
- fop (make)
- libxslt (libxslt-gitAUR) (make)
- qt6-tools (make)
- sed (busybox-coreutilsAUR, sed-gitAUR) (make)
Latest Comments
« First ‹ Previous 1 2 3 4 Next › Last »
loh.tar commented on 2022-01-29 18:58 (UTC)
Some of you had got the hint already from github, if heavysink not, here you are: https://github.com/MiKTeX/miktex/issues/917#issuecomment-1024964884
Sadly I'm not very lucky with the install in /opt and all the strange setup finish in Windows style. Before I may dig deeper, if it could be fixed, can I ask how well it works for you? (Yes, here is the wrong place for that...sorry)
Baenimyr commented on 2021-11-17 17:30 (UTC)
@heavysink You should split the build step in prepare and build functions. The prepare function configures CMake and the build function is just
Note : use cmake commands instead of make because 'Unix Makefiles' is not the only generator.
heavysink commented on 2021-11-15 19:57 (UTC)
@CanadianEngineer Following https://github.com/MiKTeX/miktex/issues/917, it seems that the upstream dev do not want to fix that since Arch is "not supported" :-(. So I added options=('!buildflags') and it works now. The fix will be pushed by the buildbot lilac before tomorrow morning EST.
CanadianEngineer commented on 2021-11-15 00:46 (UTC) (edited on 2021-11-15 00:47 (UTC) by CanadianEngineer)
I was getting the 70% build error, and the recommended adjustment to the
makepkg.conf
worked for me. I'll list out the exact steps I took in hopes it helps someone else in the future!The error I was getting:
As recommended, I edited my
makepkg.conf
file. I usevim
, so be sure to use your favourite editor insteadsudo vim /etc/makepkg.conf
I replaced the
CFLAG
definition with this one:reran the install
yay -Sy miktex
and it worked. I then went back to mymakepkg.conf
and replaced it with my original:pmeier commented on 2021-10-12 11:02 (UTC)
miktex-console
in/usr/bin/
? For example, if you try to switch to admin mode in the GUI, the error message tells you to use it, but it is not on path.initexmf
, which is used multiple times in the "First Steps" section of the build instructions?initexmf --admin --mklinks
to actually have a "working" LaTeX distribution on path after the installation?Richardk2n commented on 2021-09-22 16:32 (UTC)
@5sdstyrofoam Could you be a little more specific about how it does not work? (Error messages for example?)
5sdstyrofoam commented on 2021-09-19 20:53 (UTC)
@Richardk2n @Erim : None of your workarounds worked. I removed
-Werror=format-security
from /etc/makepkg.conf ; And when it didn't work I addedoptions=("!buildflags")
in the PKGBUILD, after themd5sums
line.None of that worked. Does anyone know why everything I tried failed ? Hopefully I once again made a small mistake and it's not some big problem that'll be impossible to find in the near future.
Erim commented on 2021-09-14 14:55 (UTC) (edited on 2021-09-14 14:55 (UTC) by Erim)
@Richardk2n: I filed a bug report at MiKTeX, but unfortunately, since arch and it's derivatives are not officially supported, they won't fix it in the near future (unless one of the supported distributions decides on a similar policy soon, I guess) However, I managed to compile it by adding
options=("!buildflags")
after themd5sums...
line to the PKGBUILD. Unfortunately that removes all buildflags.I tried get rid of the flag through the PKGBUILD but that doesn't work (yet). See https://forum.manjaro.org/t/how-to-use-options-to-add-compile-flags-in-a-pkgbuild/82385/4 for more information. I will let you know here if I find a better solution.
Richardk2n commented on 2021-09-07 07:33 (UTC)
@Erim I know a workaround: In /etc/makepkg.conf line 42 the CFLAGS are defined, if you just remove -Werror=format-security from there miktex builds (change works as soon as the file is saved) I would recommend putting it back afterwards, but I don't think it is too important. As far as I know, there is an option to disable certain CFLAGS within the PKGBUILD but I don't know enough to do that/recommend the change myself. Unless someone wants to go fix MiKTeXs code, this would be the way to go in my opinion.
Erim commented on 2021-09-06 21:44 (UTC) (edited on 2021-09-06 21:50 (UTC) by Erim)
I also get the build error and it seems (at least in my case) to be connected to the global compile flag
-Werror=format-security
Not sure, though how to work around that, without fixing the issues in MiKTeXs code.Shoot, just noticed that that was mentioned before already...
« First ‹ Previous 1 2 3 4 Next › Last »