|
Hi, I have amarok 0.9 installed on Mandrake 10 and when trying to “make” v1.0.1 it prints out this error:
***Warning: linking the shared library libamarok_artsengine_plugin.la against the loadable module ***libamarokarts.so is not portable! Grep: /usr/X11R6/lib/libGL.la: No such file or directory /bin/sed: /usr/X11R6/lib/libGL.la can’t read: No such file or directory libtool> link> ‘/usr/X11R6/lib/libGL.la’ is not a valid libtool archive make[5]> *** [libamarok_artsengine_plugin.la] Error 1 After this, it prints out just few lines about leaving directory and then ends. I have ./configure amarok without gstreamer (can’t get it on my system) and without opengl but still the same error. I also looked in the directory /usr/X11R6/lib/ but there is only libGLU.la not libGL.la. How’s that? Have drivers from nvidia, not the ones in xfree. I’m a total newbie in things like compiling so please could you write a step-by-step guide how to install amarok on Mandrake 10. Or send a link where I can download rpm that does not depend on gstreamer? Thanks for ANY answer :blink: |
|
Hi,
mandrake has a great tool to find files within packages. Its called "urpmf". [hanf@hanf hanf]$ urpmf libGL.la libMesaGLU1-devel:/usr/X11R6/lib/libGL.la So you'll have to install libMesaGLU1-devel, then it should compile. Greetz, Ace |
Registered Member
|
Thank U!!! Everything's allright now. Hope to get Gstreamer installed ASAP to try it out cos arts sucks
|
|
Hi There,
I was trying to build a library using libtool. #makefile LIBCURRENT= 6 LIBREVISION= 1 LIBAGE= 1 RANLIB = : NAME_BASE = libavtapi NAME_EXT = la NAME = $(NAME_BASE).$(NAME_EXT) VPATH = /build/appliance/in-house/avtapi/src AVTINC = /build/vendor/kernel/usr/2.4.20/app/src/avt/include AVTAPI_INC = /build/appliance/in-house/avtapi/include SRC_DIR = /build/appliance/in-house/avtapi/src OBJ_DIR = /build/appliance/in-house/avtapi/obj LIB_DIR = /build/appliance/in-house/avtapi/lib TEST_DIR = ./test CFLAGS = -g -I$(AVTAPI_INC) -I$(AVTINC) -Wall -Werror API_CFLAGS = -c $(CFLAGS) LDFLAGS = -L$(LIB_DIR) -lavtapi SRC = avt_api_init.c \ avt_api_wdt.c \ avt_api_lic.c OBJ = $(addprefix $(OBJ_DIR)/,$(SRC:.c=.lo)) all: $(LIB_DIR)/$(NAME) \ clean: rm -rf $(OBJ_DIR)/*.o \ $(LIB_DIR)/*.a \ $(TEST_DIR)/$(TESTAPP1) \ $(TEST_DIR)/$(TESTAPP2) \ $(TEST_DIR)/*.o .SUFFICES: .c .o .lo $(LIB_DIR)/$(NAME): $(OBJ) libtool --mode=link gcc -g -0 -rpath $(LIB_DIR) -version-info $(LIBCURRENT):$(LIBREVISION):$(LIBAGE) -o $(OBJ) libtool --mode=install cp libavtapi.la /build/appliance/in-house/avtapi/lib/libavtapi.la libtool --mode=finish $(LIB_DIR) AVT_API_HDRS = $(AVTAPI_INC)/avt_types.h \ $(AVTAPI_INC)/avt_msg.h \ $(AVTAPI_INC)/avt_api.h \ $(AVTAPI_INC)/avt_license.h \ $(AVTAPI_INC)/avt_event.h \ $(AVTAPI_INC)/avt_api_imp.h $(OBJ_DIR)/avt_api_init.lo: avt_api_init.c \ $(AVT_API_HDRS) libtool --mode=compile gcc -g -O -I$(AVTAPI_INC) -c $< -o $@ $(OBJ_DIR)/avt_api_wdt.lo: avt_api_wdt.c \ $(AVT_API_HDRS) libtool --mode=compile gcc -g -O -I$(AVTAPI_INC) -c $< -o $@ $(OBJ_DIR)/avt_api_lic.lo: avt_api_lic.c \ $(AVT_API_HDRS) libtool --mode=compile gcc -g -O -I$(AVTAPI_INC) -c $< -o $@ $(TEST_DIR)/$(TESTAPP1): $(TESTAPP1).c \ $(LIB_DIR)/$(NAME) \ $(AVTAPI_INC)/avt_api.h \ $(AVTAPI_INC)/avt_license.h @gcc $(CFLAGS) $< -o $@ $(LDFLAGS) $(TEST_DIR)/$(TESTAPP2): $(TESTAPP2).c \ $(LIB_DIR)/$(NAME) \ $(AVTAPI_INC)/avt_api.h \ $(AVTAPI_INC)/avt_license.h \ $(AVTAPI_INC)/avt_event.h @gcc $(CFLAGS) $< -o $@ $(LDFLAGS) # --------------------------------------------------------------------------- # --- end of file --- # ***************************************************** After running make : it flashes an error saying: libtool :link libavtapi.la is not a valid libtool archive. Desperately looking for a fix |
Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]