[SOLVED] can't compile grass "Unable to locate includes."

Hello everybody!
I am somewhat stuck at getting QGIS up and running as I am not able to compile grass (https://aur.archlinux.org/packages/grass/).
System is up-to-date Arch64 running 3.8.6-3-ck. I used cower to get the source-files and PKGBUILD from AUR.
makepkg is throwing:
checking for curses.h... no
configure: error: *** Unable to locate curses includes.
curses is of course installed and in /usr/include where it is supposed to be. After unsuccessfully fiddling around for a while I disabled curses-support in the PKGBUILD file (--without-curses) which got me as far as the zlib includes:
checking for zlib.h... no
configure: error: *** Unable to locate zlib includes.
Trying grass7svn got me stuck with the same problems.
If anyone could point me into a direction I would greatly appreciate it.
Many thanks in advance!
a
The full output of makepkg (with and without curses) as well as the respective config.log files can be found here: https://gist.github.com/attractedtofire/5345416
Last edited by attractedtofire (2013-04-12 11:16:37)

Thanks brebs, I will look into that tomorrow!
Funny enough I got grass to get through "./configure" manually with the exact same settings from the PKGBUILD, namely:
./configure --prefix=/opt --enable-64bit --enable-W11 --with-jpg --with-tiff --with-png --with-tcltk --with-opengl --with-fftw --with-postgres --with-freetype --with-freetype-includes=/usr/include/freetype2 --without-glw --with-nls --with-gdal --with-geos --with-proj-includes=/usr/include --with-proj-libs=/usr/lib --with-proj-share=/usr/share/proj --with-python=/usr/bin/python2-config --with-wxwidgets=/usr/bin/wx-config
Ran through makepkg, which - as far as I understand from the PKGBUILD - does exactly the same, it throws up aforementioned configure-errors.
I eventually ran ./configure and make, went back to the PKGBUILD, removed the build()-section and used makepkg just to turn the compiled source code into a pkg-file. It installed without a problem, will see if it works once qgis finished compiling.
Anyway, I'd really like to understand what is the problem..

Similar Messages

  • [SOLVED] Fail to compile grass

    Hello. i can't compile grass package from AUR. I get error in:
    /tmp/yaourt-tmp-em/aur-grass/src/grass-6.4.2/visualization/nviz
    After running make in given directory, i recive this output:
    make -C src
    make[1]: Wejście do katalogu `/tmp/yaourt-tmp-em/aur-grass/src/grass-6.4.2/visualization/nviz/src'
    gcc -L/tmp/yaourt-tmp-em/aur-grass/src/grass-6.4.2/dist.x86_64-unknown-linux-gnu/lib -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,--export-dynamic -Wl,-rpath-link,/tmp/yaourt-tmp-em/aur-grass/src/grass-6.4.2/dist.x86_64-unknown-linux-gnu/lib -o nvwish OBJ.x86_64-unknown-linux-gnu/nvizAppInit.o OBJ.x86_64-unknown-linux-gnu/change_view.o OBJ.x86_64-unknown-linux-gnu/draw.o OBJ.x86_64-unknown-linux-gnu/exag.o OBJ.x86_64-unknown-linux-gnu/glwrappers.o OBJ.x86_64-unknown-linux-gnu/init_commands.o OBJ.x86_64-unknown-linux-gnu/lights.o OBJ.x86_64-unknown-linux-gnu/map_obj.o OBJ.x86_64-unknown-linux-gnu/misc.o OBJ.x86_64-unknown-linux-gnu/nviz_init.o OBJ.x86_64-unknown-linux-gnu/position.o OBJ.x86_64-unknown-linux-gnu/quick_draw.o OBJ.x86_64-unknown-linux-gnu/anim_support.o OBJ.x86_64-unknown-linux-gnu/cutplane_obj.o OBJ.x86_64-unknown-linux-gnu/script_support.o OBJ.x86_64-unknown-linux-gnu/do_zoom.o OBJ.x86_64-unknown-linux-gnu/label.o OBJ.x86_64-unknown-linux-gnu/nvizMain.o OBJ.x86_64-unknown-linux-gnu/togl.o OBJ.x86_64-unknown-linux-gnu/togl_cb.o OBJ.x86_64-unknown-linux-gnu/query_vect.o OBJ.x86_64-unknown-linux-gnu/volume.o OBJ.x86_64-unknown-linux-gnu/togl_flythrough.o OBJ.x86_64-unknown-linux-gnu/pick_vect_commands.o OBJ.x86_64-unknown-linux-gnu/site_attr_commands.o OBJ.x86_64-unknown-linux-gnu/site_highlight_commands.o -lgrass_ogsf.6.4.2 -lgrass_bitmap.6.4.2 -lgrass_linkm.6.4.2 -lgrass_g3d.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_sites.6.4.2 -lgrass_datetime.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_vect.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dgl.6.4.2 -lgrass_dig2.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_rtree.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_linkm.6.4.2 -lgrass_rtree.6.4.2 -lgrass_vect.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dgl.6.4.2 -lgrass_dig2.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_rtree.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_linkm.6.4.2 -lgrass_rtree.6.4.2 -ltk8.6 -lm -ltcl8.6 -lm -lGLU -lGL -lSM -lICE -lX11 -lXmu -lXext -lm \
    -lgrass_bitmap.6.4.2 -lgrass_linkm.6.4.2 -lgrass_linkm.6.4.2 -lgrass_vect.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dgl.6.4.2 -lgrass_dig2.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_rtree.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_linkm.6.4.2 -lgrass_rtree.6.4.2 -lgrass_dig2.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_rtree.6.4.2 -lgrass_dgl.6.4.2 -lgrass_rtree.6.4.2 -lgrass_linkm.6.4.2 -lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -L/usr/lib -lgdal -L/usr/lib -lgeos -lgeos_c -lgrass_sites.6.4.2 -lgrass_datetime.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_vect.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dgl.6.4.2 -lgrass_dig2.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_rtree.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_linkm.6.4.2 -lgrass_rtree.6.4.2 -lgrass_form.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dbmiclient.6.4.2 -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_dbmibase.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz \
    -lgrass_g3d.6.4.2 -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lgrass_gis.6.4.2 -lgrass_datetime.6.4.2 -lz -lz \
    -lgrass_datetime.6.4.2 -ltiff \
    -lm
    OBJ.x86_64-unknown-linux-gnu/draw.o: In function `CancelFunc_Hook':
    draw.c:(.text+0x14): undefined reference to `TkCopyAndGlobalEval'
    collect2: error: ld returned 1 exit status
    make[1]: *** [nvwish] Błąd 1
    make[1]: Opuszczenie katalogu `/tmp/yaourt-tmp-em/aur-grass/src/grass-6.4.2/visualization/nviz/src'
    make: *** [default] Błąd 2
    Last edited by piorczak (2012-12-29 10:48:35)

    Sorry to reopen a thread marked as Solved, but probably our definition of "solved" doesn't match.
    I'm the maintainer of the GRASS PKGBUILD on AUR. The only notice I got of this problem is dated 1st January, which is about 3 days later than this thread was opened. Does contacting the maintainer of a PKGBUILD in AUR represent a so-big problem that you prefer not to give a fudge? Does posting a comment on AUR taking so much more time than here (you had to subscribe here, also)?
    Sorry for the harsh comment, but this isn't really a good way to keep the community in consideration. Probably by now I was able to find the issue and fix it, if you notified this before.
    Your goal was to have any version of GRASS installed on you PC? Fine, your problem is now solved. But what happens when you really need 6.4.2? For it, the problem is not fixed and you will have the same problems, if you try to rebuild it.
    Thanks for the "support", from all the community of ArchLinux.

  • [SOLVED] Can't compile any kernels or modules

    I can't compile the kernel, or any kernel modules. I tried the [core] kernel from ABS and the linux-ck kernel from AUR. I also tried to build vhba and nvidia modules.
    I tried the standard cflags and many others.
    All kernel compiles fail (immediately) with:
    scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
    /* empty file to figure out endianness / word size */
    ^
    edward_81 had the same problem, with a default makepkg.conf and linux-mainline, which was never resolved.
    I don't know why this file is being compiled in PIC mode. I have not explicitly enabled PIC anywhere I know of. I checked everywhere I know to look.
    Last edited by quequotion (2015-02-04 15:46:10)

    graysky wrote:Try building one of them in a clean chroot.
    Will try.
    Finally got this working:
    Please add V=1 to the make command on line 89 and rebuild with MAKEFLAGS="-j1" to get verbose output.
    make -f ./scripts/Makefile.build obj=scripts/genksyms
    [...snip...]
    gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/.tmp_empty.o scripts/mod/empty.c
    scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
    /* empty file to figure out endianness / word size */
    ^
    scripts/Makefile.build:257: recipe for target 'scripts/mod/empty.o' failed
    Last edited by quequotion (2015-02-04 13:40:15)

  • [SOLVED] Can't compile hdjmod and hdjcpl from AUR.

    Hello,
    I've bought a Hercules DJ Console MK2, and I would like to use it with Mixxx.
    It doesn't seem to be recognized by Mixxx, probably because no drivers are installed.
    So I decide to install hdjmod from AUR.
    It also gets hdjcpl (dependency), but while compiling, it fails.
    Here's the error message :
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c ghelpers.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gbutton.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gcheckbox.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gcombobox.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gslider.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gstatic.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps g++ -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -c gstatictext.cpp
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    ../../wxWidgets-2.8.10/buildgtk/bk-deps gcc -I../../wxWidgets-2.8.10/buildgtk/lib/wx/include/gtk2-ansi-release-static-2.8 -I../../wxWidgets-2.8.10/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_FORTIFY_SOURCE=0 -D__WXGTK__ -DENABLE_BINRELOC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -c binreloc.c
    basename: missing operand
    Try `basename --help' for more information.
    dirname: missing operand
    Try `dirname --help' for more information.
    ../../wxWidgets-2.8.10/buildgtk/bk-deps: line 46: /.deps/.d: Permission denied
    g++ -D_FORTIFY_SOURCE=0 -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -pthread -o hdjcpl hdjcpl.o alsainterface.o bulkinterface.o drivernotification.o hidnotification.o dmanager.o localization.o devnulldlg.o devdjcdlg.o devmk2dlg.o devmp3dlg.o devrmxdlg.o devsteeldlg.o gcontrol.o gdialog.o ghelpers.o gbutton.o gcheckbox.o gcombobox.o gslider.o gstatic.o gstatictext.o binreloc.o -L../../wxWidgets-2.8.10/buildgtk/lib -lz -lm -lasound -pthread -lSM -lgtk-x11-2.0 -lgthread-2.0 -lglib-2.0 -lwx_gtk2_adv-2.8 -lwx_gtk2_core-2.8 -lwx_base-2.8 -lwxpng-2.8
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::ChangeMode(wxVideoMode const&)':
    displayx11.cpp:(.text+0x20f): undefined reference to `XF86VidModeGetAllModeLines'
    displayx11.cpp:(.text+0x2f1): undefined reference to `XF86VidModeSwitchToMode'
    displayx11.cpp:(.text+0x3bd): undefined reference to `XF86VidModeSwitchToMode'
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::GetCurrentMode() const':
    displayx11.cpp:(.text+0x462): undefined reference to `XF86VidModeGetModeLine'
    ../../wxWidgets-2.8.10/buildgtk/lib/libwx_gtk2_core-2.8.a(corelib_displayx11.o): In function `wxDisplayImplX11::GetModes(wxVideoMode const&) const':
    displayx11.cpp:(.text+0x6b7): undefined reference to `XF86VidModeGetAllModeLines'
    collect2: ld returned 1 exit status
    make[2]: *** [hdjcpl] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-alex/aur-hdjcpl/hdjcpl/src/hdjcpl-1.09/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-alex/aur-hdjcpl/hdjcpl/src/hdjcpl-1.09'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build hdjcpl package.
    Do you have any idea about the reason I got this error ?
    What are the prerequisite to install these drivers (I mean, is there any other dependency that isn't asked in the PKGBUILD ?) ?
    Sorry for my bad english.
    Thanks for future answers.
    skYzer
    Last edited by skYzer (2009-09-23 10:32:20)

    Welcome to the forum skYzer!
    makepkg can show you if there are some dependencies that you didn't installed, and makepkg with -s option does it for you automatically, so it installs all the dependencies.
    If the author missed this dependencies from the PKGBUILD, you can see on the url address in the PKGBUILD (so on the author site) what do they write about dependencies, in last case try it manually, and see config.log, or similar outputs.
    Btw, it can be built by  me without any problem.
    Last case you could build it manually, without using fakeroot environment, and the PKGBUILD from maintainer.

  • [SOLVED] Can't compile kyotocabinet-python AUR package after Python up

    Hello,
    after today's upgrade to 3.3.0-1, Python lost access to the kyotocabinet package (kyotocabinet-python 1.22-1 from AUR). I tried to recompile it, but when I run makepkg, It just aborts with an error. Anyone knows what is going on?
    running build
    running build_ext
    building 'kyotocabinet' extension
    gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/python3.3m -c kyotocabinet.cc -o build/temp.linux-i686-3.3/kyotocabinet.o
    cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
    In file included from /usr/include/python3.3m/pyatomic.h:8:0,
    from /usr/include/python3.3m/Python.h:53,
    from kyotocabinet.cc:24:
    /usr/include/python3.3m/dynamic_annotations.h:472:3: error: template with C linkage
    error: command 'gcc' failed with exit status 1
    EDIT: Issue Solved.
    Last edited by jjalocha (2012-11-21 11:27:28)

    Hello,
    sadly I still haven't been able to recompile kyotocabinet-python with the new Python version (3.3.0-1)—it always gives the same error described in my first post. No new version has been released by Hatsuki Hirabayashi either, so I had to downgrade the system to Python 3.2.3-3.
    I'd like to know if anyone else is currently able/unable to use kyotocabinet-python, so that I may contact the package author directly.
    Any ideas?

  • [solved] Can not compile gtk2 apps

    Hello every one
    When trying to compile, for example, lingot, I'm getting this:
    I'm getting this when try to compile:
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether we are cross compiling... no
    checking for gcc option to accept ISO C89... none needed
    checking for library containing strerror... none required
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for gcc option to accept ISO C89... (cached) none needed
    checking for a sed that does not truncate output... /bin/sed
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking whether -lc should be explicitly linked in... no
    lingot-config-dialog.h:27:21: error fatal: gtk/gtk.h: No existe el fichero o el directorio
    I'm getting this with a lot of packages also. nautilus-elementary-bzr too.
    I'll thank you any help anyone can provide.
    Last edited by faco (2010-12-25 12:50:20)

    Package gdk-pixbuf-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gdk-pixbuf-2.0.pc'
    to the PKG_CONFIG_PATH environment variable.
    How can I do fix it?
    thanks.

  • [SOLVED] Can't compile tupi-git or Ktoon from AUR - hardware failure

    EDIT:  Tupi-git compiles fine, just not on my main desktop. the machine, has some nasty hardware problems, caused by a lightning storm/power failure a few weeks ago .
    it appears, the CMOS is damaged (clock skew and other problems), and that the motherboard also has problems (NMI interrupt handler warning, as well as CPU damage, fun).
    it's time to buy some new hardware, i guess.
    Hi everyone,
    I am having a strange issue.  I have been using Tupi-git, for a while - but the other day i went to re-compile it, and now it won't build. it's interesting because i have been able to compile Tupi-git in the past, no problem. i've also tried compiling it manually from git too.
    I am running gnome3 and tupi / ktoon shouldn't have much dependencies to KDE itself (as i said i have compiled Tupi before. I tried to compile Ktoon, thinking it might pull in a dependency i had missed or something, but no dice... I've even chatted with the Tupi developer about it, he even installed Arch and was able to get it to compile...
    however, he is using KDE, so i am wondering if their is some mysterious dependency (although i did try installing kdebase, but it made no difference). my main concern is tupi / not so much ktoon - but i mention ktoon because Tupi is a fork of it.
    I'm at a loss as to what is stopping it, i had thought maybe a linker is missing somewhere, or it can't find a header / library.
    it fails here:
    lavformat -laspell -ltupifwgui -ltupifwcore -ltupifwsound -lz -lQtSvg -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lGLU -lGL -lpthread
    ../../src/components/paintarea/libpaintarea.a(ktviewdocument.o): In function `KTViewDocument::setSpaceContext()':
    ktviewdocument.cpp:(.text+0x4a96): undefined reference to `KTProject::updateSpaceContext(KTProject::Mode)'
    ktviewdocument.cpp:(.text+0x4b26): undefined reference to `KTProject::updateSpaceContext(KTProject::Mode)'
    ../../src/components/paintarea/libpaintarea.a(ktpaintarea.o): In function `KTPaintArea::frameResponse(KTFrameResponse*)':
    ktpaintarea.cpp:(.text+0xb6b): undefined reference to `KTGraphicsScene::frameResponse(KTFrameResponse*)'
    ../../src/components/paintarea/libpaintarea.a(ktpaintarea.o): In function `KTPaintArea::sceneResponse(KTSceneResponse*)':
    ktpaintarea.cpp:(.text+0x112f): undefined reference to `KTGraphicsScene::sceneResponse(KTSceneResponse*)'
    ../../src/components/paintarea/libpaintarea.a(ktpaintarea.o): In function `KTPaintArea::layerResponse(KTLayerResponse*)':
    ktpaintarea.cpp:(.text+0x333f): undefined reference to `KTGraphicsScene::layerResponse(KTLayerResponse*)'
    collect2: ld returned 1 exit status
    make[2]: *** [../../bin/tupi.bin] Error 1
    make[2]: Leaving directory `/home/ninez/Desktop/tupi/src/shell'
    make[1]: *** [sub-shell-make_default] Error 2
    make[1]: Leaving directory `/home/ninez/Desktop/tupi/src'
    make: *** [sub-src-make_default] Error 2
    and i have log files from but './configure' and the full output of 'make', over here (at pastebin):
    http://pastebin.com/Mbf8Ck2s  ( ./configure logs)
    http://pastebin.com/4iVbbSgF   ( make logs )
    I would appreciate any help, i have been trying to figure this out for a few days, but am not much of a programmer.  in fact, i am supposed to be doing some translations and icon sets / themes for Tupi: Magia 2d .. but this is hindering my ability to do so...
    thanks in advance
    Last edited by triplesquarednine (2011-07-16 18:21:20)

    graysky wrote:Try building one of them in a clean chroot.
    Will try.
    Finally got this working:
    Please add V=1 to the make command on line 89 and rebuild with MAKEFLAGS="-j1" to get verbose output.
    make -f ./scripts/Makefile.build obj=scripts/genksyms
    [...snip...]
    gcc -Wp,-MD,scripts/mod/.empty.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include -I./arch/x86/include -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -m64 -mno-80387 -mno-fp-ret-in-387 -march=native -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -DCC_HAVE_ASM_GOTO -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)" -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/.tmp_empty.o scripts/mod/empty.c
    scripts/mod/empty.c:1:0: error: code model kernel does not support PIC mode
    /* empty file to figure out endianness / word size */
    ^
    scripts/Makefile.build:257: recipe for target 'scripts/mod/empty.o' failed
    Last edited by quequotion (2015-02-04 13:40:15)

  • [Solved] Can't compile lastfm-client

    Hi!
    I'm having some problems compiling lastfm-client from AUR. Long story short, I'll just post the output of makepkg
    g++ -Wl,-rpath,/usr/lib -shared -Wl,-soname,libMoose.so.1 -o libMoose.so.1.0.0 ../../build/Moose/release/confirmdialog.o ../../build/Moose/release/MooseCommon.o ../../build/Moose/release/LastFmSettings.o ../../build/Moose/release/moc_confirmdialog.o ../../build/Moose/release/moc_LastFmSettings.o -L/home/shin/lfm/src/last.fm-1.5.1.31879/bin -L/usr/lib -lLastFmTools -lQtXml -L/usr/lib -pthread -pthread -lQtGui -L/usr/X11R6/lib -pthread -lpng -lSM -lICE -pthread -pthread -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama -lfreetype -lfontconfig -lXext -lX11 -lQtNetwork -lssl -lcrypto -pthread -pthread -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
    ln -s libMoose.so.1.0.0 libMoose.so
    ln -s libMoose.so.1.0.0 libMoose.so.1
    ln -s libMoose.so.1.0.0 libMoose.so.1.0
    rm -f ../../bin/libMoose.so.1.0.0
    rm -f ../../bin/libMoose.so
    rm -f ../../bin/libMoose.so.1
    rm -f ../../bin/libMoose.so.1.0
    mv -f libMoose.so.1.0.0 libMoose.so libMoose.so.1 libMoose.so.1.0 ../../bin/
    make[1]: Leaving directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libMoose'
    cd src/libFingerprint/fplib/pro_qmake/ && make -f Makefile.fplib
    make[1]: Entering directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libFingerprint/fplib/pro_qmake'
    make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile.fplib'. Stop.
    make[1]: Leaving directory `/home/shin/lfm/src/last.fm-1.5.1.31879/src/libFingerprint/fplib/pro_qmake'
    make: *** [sub-src-libFingerprint-fplib-pro_qmake-fplib-pro-make_default-ordered] Error 2
    mv: cannot stat `build/fplib/libfplib_debug.a': No such file or directory
    ==> ERROR: Build Failed.
    Any ideas?
    Last edited by lateralus (2008-11-09 15:59:28)

    kazuo wrote:
    lateralus wrote:
    make[1]: *** No rule to make target `/usr/share/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile.fplib'. Stop
    Any ideas?
    The qt4 path is wrong, qmake.conf is installed on /usr/share/qt/mkspecs/linux-g++/qmake.conf.
    The PKGBUILD is from commubity correctly? it have a sed to change qt4 to qt, I don't know why it is commented you can try to change it.
    OK, I've made an symbolic link /usr/share/qt -> /usr/share/qt4 and now it works. PKGBUILD was straight from the AUR CVS.
    Thanks!

  • [SOLVED] Can't compile using SDL

    I wrote this simple test.
    #include <SDL.h>
    int main( int argc, char **argv ) {
    return 0;
    And when compiling it with
    gcc -g -Wall -I/usr/include/SDL -o sdl-test.c -lSDL
    I get:
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../lib/crt1.o: In function `_start':
    (.text+0x20): undefined reference to `main'
    collect2: ld returned 1 exit status
    Anyone have any idea what I've done wrong or am missing?
    Last edited by scragar (2009-07-14 18:43:29)

    Well, I feel stupid now.
    Thanks so much for that, from the error I was thinking I'd screwed up a library or something, would never have tried changing the line I used to compile it.

  • [SOLVED]can't compile from aur

    /usr/bin/ld: main.o: undefined reference to symbol 'XPending'
    /usr/bin/ld: note: 'XPending' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
    /usr/lib/libX11.so.6: could not read symbols: Invalid operation
    collect2: error: ld returned 1 exit status
    make: *** [netwmpager] error 1
    Last edited by nevliv (2012-05-30 01:56:33)

    Yup, not quite the same problem.  It's an entirely independent problem with a related root cause: old/faulty PKGBUILDS.
    Terminator is correct about the general solution, but note the sed line will have to be modified more than that.  The above sed line was specific to the netwmpager Makefile.  The extcalc Makefile will not have the same linker line so the sed context will not match.
    For one-of fixes, it's probably easier to manually edit the Makefile.  Once you find an edit that works, it can be made into a sed line [and reported to the package maintainer] so they can add it to the PKGBUILD in the AUR, so other users can benefit from your fix.
    Just to stress that last point - please make sure  you are reporting these problems and the fixes on the AUR page of the package.
    EDIT: I just looked at extcalc.  It uses cmake.  I'm not remotely familiar with cmake, so the exact solution for this package may be very different.
    Last edited by Trilby (2012-05-29 13:02:02)

  • Cannot compile Library project in Flash builder 4: Unable to locate specified base class

    I am migrating from Flex builder 3 to Flash builder 4, during that process I found that Flash builder could'nt compile Flex Library projects which contains components in the form of mxml files. Compiler throws "Unable to locate specified base class".
    I have narrowed it down to by creating a flex library project named test library, below its screenshot with its package structure
    ControlA is based on componentA
    when i compile this project, mxml compiler throws this error
    Unable to locate specified base class 'components.componentA' for component class 'ControlA'.
    I cannot upload project code because file uploads are disabled on this forum so I am going to paste the code for both componentA and controlA
    componentA
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*" width="400" height="300">
    </mx:Canvas>
    ControlA
    <?xml version="1.0" encoding="utf-8"?>
    <components:componentA xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:components="components.*" width="400" height="300">
    </components:componentA>
    To further test it, I have made another library project with same package structure using pure AS3, and it compiled without errors

    It might be this happens and other errors if you forget to Run Flash Builder 4.5 Buritto and startup the other version FB4.
    It uses the same project listings and that can be confusing since you're not expecting the old version to be aware of new Buritto (MobileApplications) projects you added (thinking) only to the BETA version installed elseware no doubt.
    Well it might not be your problem but worthy of noting for other's I'm sure.
    Otherwise you've double checked you're using SDK 4.5 Hero with it too! right?

  • TS1717 Can't open iTunes, keeps getting this error "iTunes.exe - Unable to locate component. This application has failed to start because MSVCR80,dll was not found"

    Can't open iTunes, keeps getting this error "iTunes.exe - Unable to locate component. This application has failed to start because MSVCR80,dll was not found"

    Solving MSVCR80 issue and Windows iTunes install issues.

  • Server 3.1.2: Unable to locate search base: -1 Can't contact LDAP server

    Hello all—
    I've been getting repeated errors below in my system.log.  I'm running OS X 10.9.3 with Server version 3.1.2.  I've replaced my actual server name with "my.servername.net" in the log entries. Thanks for any advice!  —michael
    May 30 17:47:03 leo com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 7 seconds
    May 30 17:47:04 my.servername.net PasswordService[1345]: int pwsf_GetPublicKey(char *): ldap_search_ext_s cn=authdata for Public Key returned -1
    May 30 17:47:04 leo com.apple.launchd[1] (com.apple.PasswordService[1345]): Exited with code: 1
    May 30 17:47:04 leo com.apple.launchd[1] (com.apple.PasswordService): Throttling respawn: Will start in 10 seconds
    May 30 17:47:06 my.servername.net xscertd-helper[1351]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
    May 30 17:47:06 leo com.apple.launchd[1] (com.apple.xscertd-helper[1351]): Exited with code: 1
    May 30 17:47:06 leo com.apple.launchd[1] (com.apple.xscertd-helper): Throttling respawn: Will start in 10 seconds
    May 30 17:47:09 my.servername.net xscertd[335]: Failed sending LookupCRLByCARecordName command to com.apple.xscertd.helper: The operation couldn’t be completed. (com.apple.certificateserver error 42005.)
    May 30 17:47:14 my.servername.net PasswordService[1363]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    May 30 17:47:14 my.servername.net PasswordService[1363]: -[PasswordServerPrefsObject loadXMLData]: Unable to locate passwordserver config record's plist attribute: -1 Can't contact LDAP server
    May 30 17:47:14 my.servername.net PasswordService[1363]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    May 30 17:47:14 my.servername.net PasswordService[1363]: -[PasswordServerPrefsObject saveXMLData]: ldap_modify_ext_s of the passwordserver config record's plist attribute: -1 Can't contact LDAP server
    May 30 17:47:14 leo com.apple.launchd[1] (org.openldap.slapd[1359]): Exited with code: 1
    May 30 17:47:14 leo com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 7 seconds
    May 30 17:47:14 my.servername.net PasswordService[1363]: int pwsf_GetPublicKey(char *): ldap_search_ext_s cn=authdata for Public Key returned -1
    May 30 17:47:14 leo com.apple.launchd[1] (com.apple.PasswordService[1363]): Exited with code: 1
    May 30 17:47:14 leo com.apple.launchd[1] (com.apple.PasswordService): Throttling respawn: Will start in 10 seconds
    May 30 17:47:16 my.servername.net xscertd-helper[1365]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
    May 30 17:47:16 leo com.apple.launchd[1] (com.apple.xscertd-helper[1365]): Exited with code: 1
    May 30 17:47:16 leo com.apple.launchd[1] (com.apple.xscertd-helper): Throttling respawn: Will start in 10 seconds
    May 30 17:47:20 my.servername.net xscertd[335]: Failed sending LookupCRLByCARecordName command to com.apple.xscertd.helper: The operation couldn’t be completed. (com.apple.certificateserver error 42005.)
    May 30 17:47:24 my.servername.net PasswordService[1375]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    May 30 17:47:24 my.servername.net PasswordService[1375]: -[PasswordServerPrefsObject loadXMLData]: Unable to locate passwordserver config record's plist attribute: -1 Can't contact LDAP server
    May 30 17:47:24 my.servername.net PasswordService[1375]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    May 30 17:47:24 my.servername.net PasswordService[1375]: -[PasswordServerPrefsObject saveXMLData]: ldap_modify_ext_s of the passwordserver config record's plist attribute: -1 Can't contact LDAP server
    May 30 17:47:25 leo com.apple.launchd[1] (org.openldap.slapd[1371]): Exited with code: 1
    May 30 17:47:25 leo com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 7 seconds
    May 30 17:47:25 my.servername.net PasswordService[1375]: int pwsf_GetPublicKey(char *): ldap_search_ext_s cn=authdata for Public Key returned -1
    May 30 17:47:25 leo com.apple.launchd[1] (com.apple.PasswordService[1375]): Exited with code: 1
    May 30 17:47:25 leo com.apple.launchd[1] (com.apple.PasswordService): Throttling respawn: Will start in 10 seconds
    May 30 17:47:26 my.servername.net xscertd-helper[1377]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
    May 30 17:47:26 leo com.apple.launchd[1] (com.apple.xscertd-helper[1377]): Exited with code: 1
    May 30 17:47:26 leo com.apple.launchd[1] (com.apple.xscertd-helper): Throttling respawn: Will start in 10 seconds
    May 30 17:47:30 my.servername.net xscertd[335]: Failed sending LookupCRLByCARecordName command to com.apple.xscertd.helper: The operation couldn’t be completed. (com.apple.certificateserver error 42005.)

    Unfortunately this problem wasn't solved this way.  After dragging the Server.app to the trash and then retrieving it ("Put Back") and launching it, and re-starting services, my problem still persists.
    Here are relevant system.log file entries. (Note the hostname is "leo"—I've changed the FQDN to leo.myservername.net):
    Jun  6 22:57:31 leo.myservername.net PasswordService[1011]: int pwsf_GetPublicKey(char *): ldap_search_ext_s cn=authdata for Public Key returned -1
    Jun  6 22:57:31 leo com.apple.launchd[1] (com.apple.PasswordService[1011]): Exited with code: 1
    Jun  6 22:57:31 leo com.apple.launchd[1] (com.apple.PasswordService): Throttling respawn: Will start in 10 seconds
    Jun  6 22:57:32 leo.myservername.net xscertd-helper[1014]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
    Jun  6 22:57:32 leo com.apple.launchd[1] (com.apple.xscertd-helper[1014]): Exited with code: 1
    Jun  6 22:57:32 leo com.apple.launchd[1] (com.apple.xscertd-helper): Throttling respawn: Will start in 10 seconds
    Jun  6 22:57:34 leo.myservername.net xscertd[333]: Failed sending LookupCRLByCARecordName command to com.apple.xscertd.helper: The operation couldn’t be completed. (com.apple.certificateserver error 42005.)
    Jun  6 22:57:40 leo com.apple.launchd[1] (org.openldap.slapd[1016]): Exited with code: 1
    Jun  6 22:57:40 leo com.apple.launchd[1] (org.openldap.slapd): Throttling respawn: Will start in 7 seconds
    Jun  6 22:57:40 leo.myservername.net com.apple.SecurityServer[22]: Session 100004 created
    Jun  6 22:57:41 leo.myservername.net PasswordService[1024]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    Jun  6 22:57:41 leo.myservername.net PasswordService[1024]: -[PasswordServerPrefsObject loadXMLData]: Unable to locate passwordserver config record's plist attribute: -1 Can't contact LDAP server
    Jun  6 22:57:41 leo.myservername.net PasswordService[1024]: -[PasswordServerPrefsObject getSearchBase]: Unable to locate search base: -1 Can't contact LDAP server
    Jun  6 22:57:41 leo.myservername.net PasswordService[1024]: -[PasswordServerPrefsObject saveXMLData]: ldap_modify_ext_s of the passwordserver config record's plist attribute: -1 Can't contact LDAP server
    Jun  6 22:57:41 leo.myservername.net PasswordService[1024]: int pwsf_GetPublicKey(char *): ldap_search_ext_s cn=authdata for Public Key returned -1
    Jun  6 22:57:41 leo com.apple.launchd[1] (com.apple.PasswordService[1024]): Exited with code: 1
    Jun  6 22:57:41 leo com.apple.launchd[1] (com.apple.PasswordService): Throttling respawn: Will start in 10 seconds
    Jun  6 22:57:42 leo.myservername.net xscertd-helper[1028]: ldap_search_ext_s returned -1 - Can't contact LDAP server when searching for bdb suffix, exiting
    Jun  6 22:57:42 leo com.apple.launchd[1] (com.apple.xscertd-helper[1028]): Exited with code: 1
    Jun  6 22:57:42 leo com.apple.launchd[1] (com.apple.xscertd-helper): Throttling respawn: Will start in 10 seconds
    Jun  6 22:57:45 leo.myservername.net xscertd[333]: Failed sending LookupCRLByCARecordName command to com.apple.xscertd.helper: The operation couldn’t be completed. (com.apple.certificateserver error 42005.)
    Also, for what it's worth, "Open Directory" in the Server.app has no settings within it. Nor will it stay "on." I'm not using OD per se, and am happy to leave it off, but it's possible the errors above are preventing it from running.
    Thanks for any other solutions. —michael

  • After downloading and trying to install the newest version of i tunes on my pc, I got an error message telling me: unable to locate component MSVCR80.dll. Now I can't use the version I had and obviously not the newest version. Any ideas about how to fix ?

    After downloading and trying to install the newest version of i tunes on my pc, I got an error message telling me: unable to locate component MSVCR80.dll. Now I can't use the version I had and obviously not the newest version. Any ideas about how to fix ?

    Solving MSVCR80 issue and Windows iTunes install issues.
    Thanks to user turingtest2 for this solution.
    Solving MSVCR80 issue and Windows iTunes install issues.
    If the above doesn’t do the trick entirely, then use the instructions in the following as it applies to the version of Windows you are using:
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    You may be required to boot into safe mode to complete the folder deletion process.

  • Today, I got a "update iTunes and tonight, I can't access my iTunes. I uninstalled and reinstalled and the error message reads: iTunesexe-unable to locate component. App has failed to start due to MSVCR80.dll was not found: Reinstall may fix" but hasn't.

    I received an iTunes update today and updates files. Tonight, I couldn't acces my iTunes. I uninstalled and reinstalled and still getting same error message: iTunes exe unable to locate component. This application has failed to start because MSVCR80.DLL was not found. Reinstalling the application may fix this problem.  I've done it several times and still get the error.  I'm fearful I have lost all my music.  What can I do?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

Maybe you are looking for

  • How do you tell which music video to synch to your iPhone?

    I have a number of music videos which I have from various sources (youtube, some of my own dvd's, etc.). In order to keep them separate from regular movies (since the library group does not show music videos separately) I classify them as movies (oth

  • BDC selecting component - Assigning object dependencies

    Hi, I am facing a problem in developing a BDC program. In transaction CS02, for a configurable material there may be n number of components. The number of components may vary from material to material. My requirement is to assign object dependency Q

  • Borerless printing observations

    Hi gang, I am in the process of sending off an Aperture book to one of the non-Apple services. It was recommended that I make the page size 8.5x11 borderless in the print settings dialog box. Unfortunately, my laptop did not seem to list borderless a

  • How can a Java prg pass data to a SAP table (TStpo)

    Hi All, I created a webservice using JAVA. Got WSDL for a SAP Funtional Module(CSAP_MAT_BOM_CREATE) and created Java Classes using (WSDL2Java -t XXX.wsdl ). While Invoking the service from Java Client program by Passing all the parameters. Error:Dese

  • Iphone 4 ERROR 1004 IMEI-- NO--

    Hello, I have a problem with iphone OS4.1 4. The phone worked fine until I restore a mistake gave me the error 1004, when I pulled out of recovery mode surprise was that there was no IMEI and firmware and does not work WIFI and BT's. I tried to do it