Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1799 - Mono's location creates problems
Attached to Project:
Arch Linux
Opened by Eugenia Loli-Queru (Eugenia) - Wednesday, 17 November 2004, 22:12 GMT
Last edited by Dale Blount (dale) - Thursday, 18 November 2004, 13:02 GMT
Opened by Eugenia Loli-Queru (Eugenia) - Wednesday, 17 November 2004, 22:12 GMT
Last edited by Dale Blount (dale) - Thursday, 18 November 2004, 13:02 GMT
|
DetailsMono's location on /opt/mono creates problems. I can't build GFax for example, even after I edit its Makefile to point to /opt/mono.
|
This task depends upon
Closed by Tobias Kieslich (tobias)
Thursday, 09 December 2004, 16:18 GMT
Reason for closing: Not a bug
Thursday, 09 December 2004, 16:18 GMT
Reason for closing: Not a bug
PKGBUILD
Have a look at the Makefile everything is hardcoded to /usr, MONO_PATH is overridden not even extended, install is requested in /usr/bin (Arch has it in /bin)
Also the wrapper script to call mono-gfax.exe is hardcoded and checks pathes in /home/george!
It is possible to build it, even possible to install it if you basically rewrite the complete Makefile and the printer-install(which requires gnome in /usr, hardcoded again btw.) and the wrapperscript etc. Not talking about the files copied to shared in 755 mode...
I'd wonder if it finally will run at all. You can get my PKGBUILD which uses many sed lines and the install scriptlet if you want. But here is the not the place of mono in /opt the problem itself.
Can I close it then?
This bug report was to question if it is a good policy to put Mono on /opt.
As for closing this bug or not, the right thing to do is to email the developer with a patch that uses configure and make-install the "right" way instead of creating a special pkgbuild for it, that it might break in the future anyway.
About reporting this to the upstream author, yes , but I just didn't want to write him that quick'n dirty hacked Makefile, especially since way more things needs to be done to have a universal solution working for more distributions. Also the sheer existence of autogen.sh tells me that the package seems to be prepared for auto-tools. I absolutely agree on they way I did is not nice and would make maintainig it a pain.
As a question, since i don't use fax at all, does the package worked the way that PKGBUILD creates it. Answering that would help me on a more detailed reply to the author.
Thanks!