An issue compiling maxide for ng in Linux
BlitzMax Forums/BlitzMax NG/An issue compiling maxide for ng in Linux
| ||
| I did all this for Mac without issues. On Linux I could get the compiler (bmk, and bcc) compiled. MaxIDE resulted into this: Building maxide Compiling:maxide.bmx flat assembler version 1.68 (1048560 kilobytes memory) 5 passes, 0.2 seconds, 351006 bytes. Linking:maxide.linux /usr/bin/ld: cannot find -lgtkhtml-3.14 /usr/bin/ld: cannot find -lgailutil collect2: error: ld returned 1 exit status Build Error: Failed to link /media/rachel/Irravonia/BlitzMAX/BruceyBlitzMax/MaxIDE/maxide.linux Process complete |
| ||
| You need those libraries installed: libgtkhtml-3.14, libgailutil For compiling you need the corresponding "-dev" packages. bye Ron |
| ||
| Yeah, I thought so.... just "sudo apt-get install -lgtkhtml-3.14-dev" etc? I suppose.... |
| ||
| No, the "-l" prefix is a compiler flag. The real name of the package is prefixed with "lib", so in this case "libgtkhtml3.14-dev" libgailutil appears to be provided by libgail. You can use your package manager GUI to install the correct version (usually I would enter "libgail" into it, and then select the -dev version to install). |
| ||
| Right... I'm back on my Linux machine for the time being. I did now succesfully compile the compiler and IDE and stuff, but now I got this. Starting MaxIDE constantly results into a segmentation fault (core dumped) and building the modules lead to this:
rachel@LinuxSchwminux:~/Applications/BlitzMax NG/bin$ ./bmk makemods
[ 0%] Compiling:appstub.linux.c
[ 0%] Compiling:debugger.stdio.glue.c
[ 0%] Compiling:allchblk.c
[ 0%] Compiling:alloc.c
[ 1%] Compiling:backgraph.c
[ 1%] Compiling:blacklst.c
[ 1%] Compiling:checksums.c
[ 1%] Compiling:darwin_stop_world.c
[ 1%] Compiling:dbg_mlc.c
[ 2%] Compiling:dyn_load.c
[ 2%] Compiling:finalize.c
[ 2%] Compiling:gc_dlopen.c
[ 2%] Compiling:gcj_mlc.c
[ 2%] Compiling:headers.c
[ 3%] Compiling:mach_dep.c
[ 3%] Compiling:malloc.c
[ 3%] Compiling:mallocx.c
[ 3%] Compiling:mark.c
[ 3%] Compiling:mark_rts.c
[ 4%] Compiling:misc.c
[ 4%] Compiling:new_hblk.c
[ 4%] Compiling:obj_map.c
[ 4%] Compiling:os_dep.c
[ 4%] Compiling:pcr_interface.c
[ 5%] Compiling:pthread_start.c
[ 5%] Compiling:pthread_stop_world.c
[ 5%] Compiling:pthread_support.c
[ 5%] Compiling:ptr_chck.c
[ 5%] Compiling:real_malloc.c
[ 6%] Compiling:reclaim.c
[ 6%] Compiling:specific.c
[ 6%] Compiling:stubborn.c
[ 6%] Compiling:thread_local_alloc.c
[ 7%] Compiling:typd_mlc.c
[ 7%] Compiling:win32_threads.c
[ 7%] Compiling:blitz_app.c
[ 7%] Compiling:blitz_array.c
[ 7%] Compiling:blitz_cclib.c
[ 8%] Compiling:blitz_debug.c
[ 8%] Compiling:blitz_ex.c
[ 8%] Compiling:blitz_gc.c
[ 8%] Compiling:blitz_handle.c
[ 8%] Compiling:blitz_incbin.c
[ 9%] Compiling:blitz_memory.c
[ 9%] Compiling:blitz_module.c
[ 9%] Compiling:blitz_object.c
[ 9%] Compiling:blitz_string.c
[ 9%] Compiling:blitz_thread.c
[ 10%] Compiling:blitz_types.c
[ 10%] Compiling:blitz_unicode.c
[ 10%] Compiling:tree.c
[ 10%] Compiling:glgraphics.linux.c
[ 10%] Compiling:map.c
[ 11%] Compiling:math.c
[ 11%] Compiling:lua_object.c
[ 11%] Compiling:reflection.c
[ 11%] Compiling:system.c
[ 11%] Compiling:system.linux.c
[ 12%] Compiling:timer.linux.c
[ 12%] Compiling:host.c
[ 12%] Compiling:list.c
[ 12%] Compiling:memory.c
[ 13%] Compiling:packet.c
[ 13%] Compiling:peer.c
[ 13%] Compiling:protocol.c
[ 13%] Compiling:unix.c
[ 13%] Compiling:alsadevice.cpp
[ 14%] Compiling:freeaudio.cpp
[ 14%] Compiling:freeaudioglue.cpp
[ 14%] Compiling:pulseaudiodevice.cpp
/home/rachel/Applications/BlitzMax NG/mod/pub.mod/freeaudio.mod/pulseaudiodevice.cpp:9:26: fatal error: pulse/simple.h: No such file or directory
#include <pulse/simple.h>
^
compilation terminated.
Build Error: failed to compile /home/rachel/Applications/BlitzMax NG/mod/pub.mod/freeaudio.mod/pulseaudiodevice.cpprachel@LinuxSchwminux:~/Applications/BlitzMax NG/bin$ ^C
|
| ||
| You need to install "libpulse-dev" (sudo apt-get install libpulse-dev) bye Ron |