You are not logged in.
After making some tweaks to my dwm/config.h file the makepkg now no longer works and returns the error: An unknown error has occurred. Exiting...
It doesn't seem like it is the config.h file since I am unable to compile to backed up config.h file.
I have read elsewhere that the compiling is failing due to the terminal coloring, but running the makepkg with --nocolor results in the same error.
The odd thing is that things were working then suddenly stopped within the same terminal session.
Any ideas?
Last edited by iso (2011-01-04 04:43:11)
Offline
Post the makepkg output.
Offline
I should have mentioned that lack of details in the error message
[chris@chris-archlinux dwm]$ makepkg -sf >> PKGBUILD
usage: dwm [-v]
==> ERROR: An unknown error has occurred. Exiting...
Extra info:
> dwm -v
> dwm-5.8.2, © 2006-2010 dwm engineers, see LICENSE for details
Offline
Why aren't you using makepkg -efi if you are just making changes to config.h?
Offline
makepkg -efi returns the same error.
As for why, I am pretty new to makepkg so I can't give you a solid answer on that one
Offline
[chris@chris-archlinux dwm]$ makepkg -sf >> PKGBUILD
this looks really not right... I believe your PKGBUILD doesn't look right anymore too... take a new, fresh PKGBUILD and try with jason command
Offline
I should have mentioned that lack of details in the error message
[chris@chris-archlinux dwm]$ makepkg -sf >> PKGBUILD
usage: dwm [-v]
==> ERROR: An unknown error has occurred. Exiting...Extra info:
> dwm -v
> dwm-5.8.2, © 2006-2010 dwm engineers, see LICENSE for details
It looks like the PKGBUILD is making a call to "dwm" with the wrong options which is causing an error and makepkg to abort.
Offline
Follow the instructions in the Wiki: https://wiki.archlinux.org/index.php/Dw … g_config.h
especially this bit:
$ makepkg -efi
Offline
I think it was the makepkg -s >> PKGBUILD that goofed things up, instead of using the -g option.
After fooling around with the params, the only way I could get things working again was to download the dwm build scripts and redo things from scratch.
Thanks for the help.
Offline