Coder Social home page Coder Social logo

Comments (5)

morgant avatar morgant commented on September 27, 2024

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.

probonopd avatar probonopd commented on September 27, 2024

Hello @morgant, thanks for looking into this. Do you happen to know how I could find out the full path to tradcpp?

from mlvwm.

morgant avatar morgant commented on September 27, 2024

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.

probonopd avatar probonopd commented on September 27, 2024

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.

morgant avatar morgant commented on September 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.