-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Compiling on OpenSUSE 12.1 (x86_64) #12
Comments
have you tried something like this to configure? LIBS=-lX11 GTK2_LIBS=$LIBS LDFLAGS=-L/usr/lib ./configure during linking gtk2 libX11 is missing |
@garrettjjjj Hi, can you try this commit (latest master) out and see if it resolves this issue? It's a bit bizarre to me, and I certainly don't get it here, but searching for your error indicates others (automated build systems maybe) have encountered it with Nitrogen. I explicitly now check for X11 to link to, but I hope this isn't a never-ending race. @jaypikay Thanks for the suggestion, you gave me a hint as how to crack this one. Your solution probably would not have worked because of my cobbled together autotools stuff defining |
This was the way I worked around the problem on Arch Linux. IMHO autotools became too complicated. This is why I switched to cmake |
Succesful in ./configure although upon trying to make, this happens:
make all-recursive
make[1]: Entering directory
/home/garrett/abs/nitrogen-1.5.2' Making all in po make[2]: Entering directory
/home/garrett/abs/nitrogen-1.5.2/po'make[2]: Nothing to be done for
all'. make[2]: Leaving directory
/home/garrett/abs/nitrogen-1.5.2/po'Making all in src
make[2]: Entering directory
/home/garrett/abs/nitrogen-1.5.2/src' g++ -g -O2 -o nitrogen main.o SetBG.o Thumbview.o Config.o NWindow.o md5.o ArgParser.o ImageCombo.o Inotify.o Util.o NPrefsWindow.o -lglib-2.0 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lgthread-2.0 -lrt -lglib-2.0 -lXinerama /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: SetBG.o: undefined reference to symbol 'XFreeStringList' /usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'XFreeStringList' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line /usr/lib64/libX11.so.6: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [nitrogen] Error 1 make[2]: Leaving directory
/home/garrett/abs/nitrogen-1.5.2/src'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/garrett/abs/nitrogen-1.5.2'
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: