Comments (5)
My apologies for my extremely late response on this and many thanks for reporting the issue.
I have not run into this error before, but I also haven't tried to compile on FreeBSD yet. In my initial research, I dug up a forum post about Imake & X11 .rules on GhostBSD that seems to match the error you're getting. While it only contains supposition as to the cause, it confirms that some errant spaces are being inserted into the 'X11.rules` filename. The guess is that this is caused by a clang vs gcc difference.
It's interesting that I haven't run into this under OpenBSD/amd64 as the default compiler is also clang, not gcc. Looking at OpenBSD's Imake port, it appears to use tradcpp for a preprocessor. [FreeBSD's imake(1)] manual page mentions tradcpp as well (see the "ENVIRONMENT VARIABLES" section) and notes:
"By default, imake will use cc -E or
tradcpp, depending on the OS specific configuration."
I'm not sure what the default is on FreeBSD, but it's probably worth testing a clean build with the IMAKECPP
environment variable set to the full path to tradcpp.
Let me know if that's something you can test or not.
from mlvwm.
Hello @morgant, thanks for looking into this. Do you happen to know how I could find out the full path to tradcpp?
from mlvwm.
No problem, @probonopd. Looking at the FreeBSD tradcpp port, it appears that tradcpp
is installed in ${PREFIX}/bin
, which I believe defaults to /usr/local/bin/
. You may need to install the tradcpp
package.
from mlvwm.
Thanks, this helped. Got it to compile like this:
cd ./mlvwm/
env IMAKECPP=/usr/local/bin/tradcpp xmkmf
make
However, trying to run it results in a segfault:
./mlvwm
MLVWM : another WM may be running.
pkill -f KWin
./mlvwm
Segmentation Fault
in
from mlvwm.
One step forward, one step back, I guess.
I'm currently doing my development & testing on OpenBSD, which is slightly different that FreeBSD as far as X11 goes, but not drastically so. In my case, I'm using xenodm(1) as opposed to startx
, so I have the following as the last line in my user's ~/.xsession
file (as opposed to in my ~/.xinitrc
file, if I were using startx
):
exec mlvwm -debug
Of course, the -debug
option is not required.
You haven't yet stated which version of FreeBSD you're running or what your X11 configuration is, so I'll guess a bit. Please do let me know what your configuration is and correct me wherever I'm incorrect.
Making an educated guess based on the fact that you're killing KWin
before launching mlvwm
, I believe you're running KDE. I think SDDM is suggested for KDE on FreeBSD, but maybe you're using startx
. I'd suggest using XDM on FreeBSD for mlvwm
, though I haven't tested it. This is because mlvwm
is only a window manager, not a full desktop environment, so will need a login manager.
If you install and use either XDM or startx
, I'd suggest putting the aforementioned exec mlvwm
(or using a full path to your compiled copy if you haven't installed it) as the last line in either your user's ~/.xsession
(for XDM) or ~/.xinitrc
(for startx
) file.
I hope some of this is helpful. Let me know how it goes and any further information you feel might be helpful in troubleshooting.
from mlvwm.
Related Issues (20)
- Initial click in inactive window is lost HOT 2
- xdotool can't move windows HOT 2
- Doesn't start HOT 5
- ShortCut doesn't seem to support Exec commands HOT 1
- Xephyr test failed HOT 2
- Miss font loading takes a lot of time HOT 2
- Update README to reflect the updated AUR HOT 2
- The font is looking wrong, is there any way to fix it? HOT 1
- xap not working well together HOT 4
- netwmpager reports "NetWM compatible window manager not running" HOT 2
- Applications swallowed into menu bar which resize overdraw other swallowed applications
- startx segmentation fault HOT 1
- Hangs up after loading resources HOT 1
- Consider adding dynamic applications menus or menu items HOT 3
- Segmentation fault, when start. HOT 9
- Add configuration option to remove window shadows HOT 1
- Switch build system away from imake HOT 1
- `Style` commands don't search `WM_WINDOW_ROLE` X window properties
- Add `Menu` command label option to show `SendMessage` keyboard shortcuts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlvwm.