I want to install Netgen. While compileing the make
ik get the following error /usr/include/tk.h:75:11: fatal error: 'X11/Xlib.h' file not found
So i installed 'X11/Xorg-server' from Macport.
But later i found out that it is the wrong version.
I need X11/Xorg-server-devel'
Now i get another error
Unable to execute port: Can't install xorg-server-devel because conflicting ports are active: xorg-server
How do i uninstall Xorg-server (Terminal?) so i can install Xorg-server-devel again??
Can't find anything yet
The
port
script has a help option which lists the things it can do:I would start with
which will show which versions of a given port are active. For instance, I have two versions of
xkeyboard-config
:Your listing would show
X11/Xorg-server
as active. Perhaps you do not need that port (since you want to build one usingxorg-server-devel
. You could either uninstall or deactivate the conflicting port. In either case, you would have to specify the version along with the package name. For example, I could do this to deactivate myxkeyboard-config
package:Using the information you get from
port installed
, you can use a similar command to eliminate the conflict.Specifying the version is not strictly necessary, but is helpful as a check that you have typed in the correct package name. The
port
manual page has a few examples. MacPorts has more extensive documentation online.