Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] NetRadiant won't compile(ubuntu 12.04)

#1
Hi, I got problems installing NetRadiant on Ubuntu 12.04. I try to compiling the version from Xonotic's git repo.

Here is the error:

Code:
user@localhost:~/xonotic_git/xonotic/netradiant$ make
dependencies checking disabled, good luck...
cc tools/quake2/common/bspfile.c  -MMD -W -Wall -Wcast-align -Wcast-qual -Wno-unused-parameter -fno-strict-aliasing -g -O -fPIC  -Itools/quake2/common -Ilibs -Iinclude   -DPOSIX -DXWINDOWS  -DRADIANT_VERSION="\"1.5.0n-git-a28eb11\"" -DRADIANT_MAJOR_VERSION="\"5\"" -DRADIANT_MINOR_VERSION="\"0\"" -DRADIANT_ABOUTMSG="\"Custom build\"" -DQ3MAP_VERSION="\"2.5.17n-git-a28eb11\"" -DRADIANT_EXECUTABLE="\"x86\""  -c -o tools/quake2/common/bspfile.o
In file included from tools/quake2/common/bspfile.c:26:0:
tools/quake2/common/inout.h:26:25: fatal error: libxml/tree.h: No such file or directory
compilation terminated.
make: *** [tools/quake2/common/bspfile.o] Error 1

Would be glad to get some help.
Reply

#2
Install libxml, you're missing that dependency. Usually you should read the last few lines, see what .h file is missing, and look for the package that provides it. In ubuntu, that would be libxml-dev.
Reply

#3
Thanks, sorry for not reading it carefully enough!
Reply

#4
Heh, yeah the dependencies are missing... I forgot that each time I installed NetRadiant.Rolleyes
Reply

#5
Hmm, I can't find any libxml-dev in ubuntu's repos...
Reply

#6
Although these aren´t all necessary for NetRdaiant but for Xonotic Git install those:
Code:
sudo apt-get install build-essential xserver-xorg-dev x11proto-xf86dri-dev x11proto-xf86dga-dev x11proto-xf86vidmode-dev libxxf86dga-dev libxcb-xf86dri0-dev libxpm-dev libxxf86vm-dev libsdl1.2-dev libsdl-image1.2-dev libclalsadrv-dev libasound2-dev libxext-dev libsdl1.2debian-pulseaudio git-core unzip wget

just copy and paste Tongue

http://dev.xonotic.org/projects/3/wiki/R...ory_Access
Reply

#7
Thanks for the help, it still don't work though :/... I've already installed all those and when I try to compile NetRadiant I get the same results as I posted in my first post...
Reply

#8
Did you try to search on your own? http://packages.ubuntu.com/search?search...e&arch=any

EDIT: Don't install lsb-build-desktop3, that's obviously not it.
EDIT2: Also, try to undo Maddin's suggestion. Unlike you don't mind blindly installed useless packages in your system. But I guess you don't, so don't bother after all.
Reply

#9
(07-06-2012, 08:39 AM)Mr. Bougo Wrote: Did you try to search on your own? http://packages.ubuntu.com/search?search...e&arch=any

EDIT: Don't install lsb-build-desktop3, that's obviously not it.
EDIT2: Also, try to undo Maddin's suggestion. Unlike you don't mind blindly installed useless packages in your system. But I guess you don't, so don't bother after all.

Well, I am usually only installing what necessary at a minimum, but my Ubuntu install have gotten so bloated anyway so I don't really care.

Thank's, it worked. I am not that good when it comes to compiling stuff and finding dependencies etc. +1 on your rep MrBougo Smile
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] Xonotic won't launch on Win10 noChance79 7 6,258 06-23-2023, 09:49 AM
Last Post: Cofein
  [NEED HELP] Menu Won't Load, Game Crashes EdwardHamHam 1 2,928 07-21-2022, 01:44 AM
Last Post: BuddyFriendGuy
Question [NEEDS INFO] how to make the model smoother? (netradiant) Beylet 2 1,155 06-20-2022, 11:50 PM
Last Post: Beylet
  [SOLVED] Input flickering in Ubuntu 20.04 NAPALM 3 1,650 03-28-2021, 11:38 AM
Last Post: SpiKe
  [NEED HELP] Netradiant, xonotic-mapping-support and maps dir? Gwlanbzh 1 1,432 02-02-2021, 06:57 PM
Last Post: AriosJentu
Heart [SOLVED] BUG IN NETRADIANT Kotangens 5 2,462 12-06-2020, 08:53 AM
Last Post: Julius
  [NEED HELP] I REPEAT I need Help with Netradiant Taplio 4 3,233 09-23-2020, 12:05 AM
Last Post: fabzor3
  [SOLVED] No stats for the player Ubuntu 19.04 - just don't use the flathub version Fiorentino 2 3,062 04-20-2020, 07:42 AM
Last Post: Fiorentino
  [BUG] some textures won't load with git builds lister 2 2,444 01-17-2020, 06:09 PM
Last Post: LuckyStripe
  [SOLVED] how can i get defrag entities in netradiant? bananovenc 5 3,571 01-03-2020, 11:31 AM
Last Post: SpiKe

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-