Building CrossBridgeSDK from source on Windows

I would like to build CrossBridge SDK from source on Windows platform - but the first error I recieve:
make[1]: Entering directory '/cygdrive/f/crossbridge'
mkdir -p /cygdrive/f/crossbridge/build/extra
mkdir -p /cygdrive/f/crossbridge/build/win/abclibs
mkdir -p /cygdrive/f/crossbridge/sdk/usr/lib/bfd-plugins
mkdir -p /cygdrive/f/crossbridge/sdk/usr/share
mkdir -p /cygdrive/f/crossbridge/sdk/usr/platform/"cygwin"/bin
mkdir -p /cygdrive/f/crossbridge/sdk/usr/platform/"cygwin"/libexec/gcc/avm2-unknown-freebsd8
ln -sfn ../usr /cygdrive/f/crossbridge/sdk/usr/avm2-unknown-freebsd8
ln -sfn "cygwin" /cygdrive/f/crossbridge/sdk/usr/platform/current
ln -sfn platform/current/bin /cygdrive/f/crossbridge/sdk/usr/bin
ln -sfn ../ /cygdrive/f/crossbridge/sdk/usr/platform/usr
ln: `/cygdrive/f/crossbridge/sdk/usr/platform/usr/..': cannot overwrite directory
Makefile:899: recipe for target 'base' failed
make[1]: *** [base] Error 1
make[1]: Leaving directory '/cygdrive/f/crossbridge'
Anybody who tried to build this on windows with cygwin and has a step-by-step guide?
(I'll write one if I succeed).
Best Regards

I found this repo to be missing several essential tools; as far as I got I "found" that
unzip and rsync were missing. 
Just adding a generic cygwin/bin to the path did not work, because an unsuitable version
of ranlib got into the tool chain. 
I made some progress by constructing a special bin directory that contained only the
DLLs from cygwin/bin + unzip + rsync
The next stumble (still unresolved) is in make "make"
checking whether the C compiler works... no
configure: error: in `/cygdrive/c/crossbridge-master/build/win/make':
configure: error: C compiler cannot create executables

Similar Messages

  • Building FretsOnFire from source - python problem

    I am trying to build FretsOnFire from source so that I can get a native x86_64 version working.
    So far I have working builds of amanith and pyamanith in AUR.  I know these are working because I can run FretsOnFire directly from python.
    To run FretsOnFire using just python, download both the src and the binary package.  Copy the contents of the data folder from the binary package to the src package.  Then run "python FretsOnFire.py" from the src directory of the source package.  (This works on my i686 machine but I can't remember testing it on my x86_64 one).
    Now I want to make the binary... To do that we need to edit Makefile.unix in the source package. Changes needed are:
    1) CXFREEZE=/usr/share/cx-freeze/FreezePython
    2) PYTHON_LIBS=/usr/lib/python2.5
    3) /usr/local/lib/amanath -> /usr/lib/amanath
    4) remove the following lines (quick hack that needs fixed later...):
               /usr/lib/liblapack.so.3 \
               /usr/lib/libg2c.so.0 \
               /usr/lib/atlas/libblas.so.3 \
    5) cx_freeze and epydoc are needed so intstall them.
    6) copy FretsOnFire (shell script) from the binary package to data/launcher.sh in the source package
    7) make -f Makefile.unix
    Everything builds nicely!  But running FretsOnFire from the newly created dist directory gives:
    ImportError: No module named glx
    What do I need to fix this?

    @Demind:  As I said above, I wanted a native x86_64 build.  I have a hatred for lib32. 
    The problem is that amanith source code is not downloadable anymore.
    I would be very happy to help you building a native x86_64 fretsonfire package but without that source code is impossible.
    I don't know if in the past amanith was easily downloadable but now it doesn't seem to be so.
    That's the real problem in my opinion and that's why i've used lib32.
    However using lib32 is not so bad come on
    Hmmm...  I downloaded it only a couple of weeks ago.  I even put working PKGBUILDs for amanith and pyamanith into AUR.  But I see the company making it has gone all commercial on us.
    Also, lib32 is evil!   I don't use it out of principle.  I was going to forgive FretsOnFire for the non-free songs but not to the extent of having to lib32ify my pure64(TM) system!

  • Building Asterisk from source error

    Hello, I'm fairly new to Arch Linux and have been attempting to build Asterisk from source. Building on a Raspberry Pi and when I try and make, I get this error:
    [pi@alarmpi asterisk-1.4.44]$ make
    [CC] src/add.c -> src/add.o
    gcc: error: unrecognized argument in option '-march=armv6l'
    gcc: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc iwmmxt iwmmxt2 native
    gcc: error: unrecognized argument in option '-march=armv6l'
    gcc: note: valid arguments to '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m armv7ve armv8-a armv8-a+crc iwmmxt iwmmxt2 native
    /home/pi/builds/asterisk-1.4.44/Makefile.rules:91: recipe for target 'src/add.o' failed
    make[2]: *** [src/add.o] Error 1
    Makefile:50: recipe for target 'gsm/lib/libgsm.a' failed
    make[1]: *** [gsm/lib/libgsm.a] Error 2
    Makefile:369: recipe for target 'codecs' failed
    make: *** [codecs] Error 2
    I'm not very well versed in diagnosing Makefile errors…but I would assume at least one of the errors would be from gcc not seeing a valid -march option. Any suggestions on where I should look or what I should change to correct this error?
    Last edited by zaplack (2014-11-18 20:23:37)

    I found this repo to be missing several essential tools; as far as I got I "found" that
    unzip and rsync were missing. 
    Just adding a generic cygwin/bin to the path did not work, because an unsuitable version
    of ranlib got into the tool chain. 
    I made some progress by constructing a special bin directory that contained only the
    DLLs from cygwin/bin + unzip + rsync
    The next stumble (still unresolved) is in make "make"
    checking whether the C compiler works... no
    configure: error: in `/cygdrive/c/crossbridge-master/build/win/make':
    configure: error: C compiler cannot create executables

  • Cannot build JDS3 from source

    I recently successfully installed Solaris 10 from the media kit on an x86 machine. I also successfully downloaded the JDS3 source tarballs and bunzip'd and untar'd them. I eventually figured out how to set my PATH (and LD_LIBRARY_PATH) environment variable up so that all the requisite tools for building JDS3 from source are in my path. However, I'm failing miserably when I try to use 'pkgbuild --rebuild /path/to/somepackage-src', as  detailed in the instructions on building JDS3 from source. The errors I get depend on what package I try the pkgbuild on. I really only want to be able to peruse the source code (especially the GNOME sources included with the JDS3 source), so I would be happy just to get the "prep" or maybe the "compile" phases of pkgbuild to work, if not the entire rebuild. I have googled and visited  solaris /jds forums for days, and have yet to discover any good information about how to build JDS3 from source on Solaris 10. Surely there are a bunch of people who successfully do this. Can anyone point me to some helpful info? Thanks in advance...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    I am using the macro _TARGET_PRODUCT_VERSION_ which yields major, minor, service and build version (but without the autoincrement)

  • Building eveything from source with ABS

    Hi. Im amazed with the ABS system. It´s aewsome, since I love to build all the software in my system from source, and compiling it and make it a binary package is just genious. But I have some questions, here they go:
    1 - Im compiling everything using the ABS tree using makepkg -b, so it compiles and generates packages also for its dependencies and I edited makepkg.conf so all the generated packages go to a folder (i.e.  /packages) so I can install them later using pacman -U package. My question is: If I later install a given packages, that depends on another, will that package be automatically installed when it´s needed? And is there a way to automatically redo all the source compiling and package generation automatically upon a source update for the packages I previously generated (like syncing in pacman)?
    2- Im trying to build my desktop from source the ABS way the cleanest way possible, without all that kde programs, just the core of its window manager, so I would like to know what sources to compile. I guess it would be something like xorg -> kde -> nvidia drivers -> compiz-fusion (not supported by ABS) . Any directions, guys? Thanks in advance.
    Last edited by Arthanis (2008-01-28 00:32:24)

    Arthanis wrote:Sorry, it´s because i didn´t know how to move the post, I saw that if fit in another part of the forum
    Don't worry too much.  I suppose I was being mean given you are new here. It is just that help tends to be better when clustered in one place. 
    jacko wrote:I thought about doing this for myself at some point, there is a lot of things I just do not need that is compiled in by default which I could rid myself of but, is all the time worth it in the end? Would like to hear someone elses expertise on this issue.
    Well, you could also add in more optimization for your specific processor.  But I honestly don't think you need this for every package.  Perhaps the kernel, glic and a couple of other often used and big packages, but in the end it is barely noticeable given Arch is fairly optimized by default and can make you system less stable.
    The only real reason to recompile is to add/remove options.  If the option is easy to add and doesn't bloat the package. the devs will probably add it for you if you ask in the bug tracker anyway.  I think the only package I now recompile are mozilla ones because I want the branding.

  • Build pygame from source

    Hi,
    I've been trying to install pygame from source on OS X 10.5.5. Following the instructions [here|http://pygame.org/wiki/MacCompile?action=view], everything went fine until I got to the stage
    Edit Setup and put a '#' at the start of the line:
    #scrap src/scrap.c $(SDL) $(X11)
    My Setup file does not contain this line. Attempting to run python setup.py build produces problems...
    Using Darwin configuration...
    Hunting dependencies...
    Framework SDL found
    Framework SDL_ttf found
    Framework SDL_image found
    Framework SDL_mixer found
    Framework smpeg not found
    PNG : found
    JPEG : found
    SCRAP : not found
    If you get compiler errors during install, doublecheck
    the compiler flags in the "Setup" file.
    ~/Downloads/pygame-1.8.1release 2 19 (1781) $ python setup.py build
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.5-i386-2.5
    creating build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/_init_.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/_numpysndarray.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/_numpysurfarray.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/colordict.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/cursors.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/locals.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/mac_scrap.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/macosx.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/pkgdata.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/sndarray.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/sprite.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/surfarray.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/sysfont.py -> build/lib.macosx-10.5-i386-2.5/pygame
    copying lib/version.py -> build/lib.macosx-10.5-i386-2.5/pygame
    creating build/lib.macosx-10.5-i386-2.5/pygame/gp2x
    copying lib/gp2x/_init_.py -> build/lib.macosx-10.5-i386-2.5/pygame/gp2x
    copying lib/gp2x/constants.py -> build/lib.macosx-10.5-i386-2.5/pygame/gp2x
    copying lib/gp2x/locals.py -> build/lib.macosx-10.5-i386-2.5/pygame/gp2x
    creating build/lib.macosx-10.5-i386-2.5/pygame/threads
    copying lib/threads/_init_.py -> build/lib.macosx-10.5-i386-2.5/pygame/threads
    copying lib/threads/Py25Queue.py -> build/lib.macosx-10.5-i386-2.5/pygame/threads
    running build_ext
    building 'pygame.imageext' extension
    creating build/temp.macosx-10.5-i386-2.5
    creating build/temp.macosx-10.5-i386-2.5/src
    gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DMACOSX -I/usr/include/ffi -DENABLE_DTRACE -arch i386 -arch ppc -pipe -Ddarwin -I/Library/Frameworks/SDL.framework/Versions/Current/Headers -I/Library/Frameworks/SDL_image.framework/Versions/Current/Headers -I/usr/local/include -I/usr/local/include -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c src/imageext.c -o build/temp.macosx-10.5-i386-2.5/src/imageext.o
    In file included from /System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Pyth on.h:8,
    from src/pygame.h:60,
    from src/imageext.c:31:
    /System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pycon fig.h:386:1: warning: "HAVE_PROTOTYPES" redefined
    In file included from /usr/local/include/jpeglib.h:24,
    from src/imageext.c:30:
    /usr/local/include/jconfig.h:5:1: warning: this is the location of the previous definition
    In file included from /System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Pyth on.h:8,
    from src/pygame.h:60,
    from src/imageext.c:31:
    /System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pycon fig.h:516:1: warning: "HAVESTDLIBH" redefined
    In file included from /usr/local/include/jpeglib.h:24,
    from src/imageext.c:30:
    /usr/local/include/jconfig.h:12:1: warning: this is the location of the previous definition
    In file included from /System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Pyth on.h:8,
    from src/pygame.h:60,
    from src/imageext.c:31:
    /System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pycon fig.h:386:1: warning: "HAVE_PROTOTYPES" redefined
    In file included from /usr/local/include/jpeglib.h:24,
    from src/imageext.c:30:
    /usr/local/include/jconfig.h:5:1: warning: this is the location of the previous definition
    In file included from /System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Pyth on.h:8,
    from src/pygame.h:60,
    from src/imageext.c:31:
    /System/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pycon fig.h:516:1: warning: "HAVESTDLIBH" redefined
    In file included from /usr/local/include/jpeglib.h:24,
    from src/imageext.c:30:
    /usr/local/include/jconfig.h:12:1: warning: this is the location of the previous definition
    src/imageext.c:353: warning: function declaration isn't a prototype
    src/imageext.c: In function 'opengltosdl':
    src/imageext.c:357: warning: unused variable 'formatflag'
    src/imageext.c:357: warning: unused variable 'typeflag'
    src/imageext.c:356: warning: unused variable 'readpixels'
    src/imageext.c:356: warning: unused variable 'pyopengl'
    src/imageext.c:353: warning: function declaration isn't a prototype
    src/imageext.c: In function 'opengltosdl':
    src/imageext.c:357: warning: unused variable 'formatflag'
    src/imageext.c:357: warning: unused variable 'typeflag'
    src/imageext.c:356: warning: unused variable 'readpixels'
    src/imageext.c:356: warning: unused variable 'pyopengl'
    gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc build/temp.macosx-10.5-i386-2.5/src/imageext.o -L/opt/local/lib -L/opt/local/lib -lpng -ljpeg -o build/lib.macosx-10.5-i386-2.5/pygame/imageext.so -framework SDL -F/Library/Frameworks/ -framework SDL_image -F/Library/Frameworks/
    ld warning: in /opt/local/lib/libpng.dylib, file is not of required architecture
    ld warning: in /opt/local/lib/libjpeg.dylib, file is not of required architecture
    ld: in /opt/local/lib/libz.1.dylib, file is not of required architecture for architecture ppc
    collect2: ld returned 1 exit status
    lipo: can't open input file: /var/tmp//cc0jcawF.out (No such file or directory)
    error: command 'gcc' failed with exit status 1
    In particular, the line gcc -Wl,-F. -bundle -undefined dynamic_lookup -arch i386 -arch ppc build/temp.macosx-10.5-i386-2.5/src/imageext.o -L/opt/local/lib -L/opt/local/lib -lpng -ljpeg -o build/lib.macosx-10.5-i386-2.5/pygame/imageext.so -framework SDL -F/Library/Frameworks/ -framework SDL_image -F/Library/Frameworks/ \[emphasis mine\] seems odd.
    The Setup file doesn't seem to contain anything helpful...
    #This Setup file is used by the setup.py script to configure the
    #python extensions. You will likely use the "config.py" which will
    #build a correct Setup file for you based on your system settings.
    #If not, the format is simple enough to edit by hand. First change
    #the needed commandline flags for each dependency, then comment out
    #any unavailable optional modules in the first optional section.
    SDL = -I/Library/Frameworks/SDL.framework/Versions/Current/Headers -Ddarwin -Xlinker "-framework" -Xlinker "SDL" -Xlinker "-F/Library/Frameworks/"
    FONT = -I/Library/Frameworks/SDL_ttf.framework/Versions/Current/Headers -Xlinker "-framework" -Xlinker "SDL_ttf" -Xlinker "-F/Library/Frameworks/"
    IMAGE = -I/Library/Frameworks/SDL_image.framework/Versions/Current/Headers -Xlinker "-framework" -Xlinker "SDL_image" -Xlinker "-F/Library/Frameworks/"
    MIXER = -I/Library/Frameworks/SDL_mixer.framework/Versions/Current/Headers -Xlinker "-framework" -Xlinker "SDL_mixer" -Xlinker "-F/Library/Frameworks/"
    SMPEG = -ls -lm -lp -le -lg
    PNG = -I/usr/local/include -L/opt/local/lib -lpng
    JPEG = -I/usr/local/include -L/opt/local/lib -ljpeg
    SCRAP = -I.
    #DEBUG = -C-W -C-Wall
    DEBUG =
    #the following modules are optional. you will want to compile
    #everything you can, but you can ignore ones you don't have
    #dependencies for, just comment them out
    imageext src/imageext.c $(SDL) $(IMAGE) $(PNG) $(JPEG) $(DEBUG)
    font src/font.c $(SDL) $(FONT) $(DEBUG)
    mixer src/mixer.c $(SDL) $(MIXER) $(DEBUG)
    mixer_music src/music.c $(SDL) $(MIXER) $(DEBUG)
    _numericsurfarray src/_numericsurfarray.c $(SDL) $(DEBUG)
    _numericsndarray src/_numericsndarray.c $(SDL) $(MIXER) $(DEBUG)
    #movie src/movie.c $(SDL) $(SMPEG) $(DEBUG)
    #scrap src/scrap.c $(SDL) $(SCRAP) $(DEBUG)
    #experimental new movie movie. requires libavcodec and libavformat.
    #add any necessary compile flags to this line and uncomment.
    #movieext src/movie.c src/ffmovie.c $(SDL) -lavcodec -lavformat
    #these modules are required for pygame to run. they only require
    #SDL as a dependency. these should not be altered
    base src/base.c $(SDL) $(DEBUG)
    cdrom src/cdrom.c $(SDL) $(DEBUG)
    color src/color.c $(SDL) $(DEBUG)
    constants src/constants.c $(SDL) $(DEBUG)
    display src/display.c $(SDL) $(DEBUG)
    event src/event.c $(SDL) $(DEBUG)
    fastevent src/fastevent.c src/fastevents.c $(SDL) $(DEBUG)
    key src/key.c $(SDL) $(DEBUG)
    mouse src/mouse.c $(SDL) $(DEBUG)
    rect src/rect.c $(SDL) $(DEBUG)
    rwobject src/rwobject.c $(SDL) $(DEBUG)
    surface src/surface.c src/alphablit.c src/surface_fill.c $(SDL) $(DEBUG)
    surflock src/surflock.c $(SDL) $(DEBUG)
    time src/time.c $(SDL) $(DEBUG)
    joystick src/joystick.c $(SDL) $(DEBUG)
    draw src/draw.c $(SDL) $(DEBUG)
    image src/image.c $(SDL) $(DEBUG)
    overlay src/overlay.c $(SDL) $(DEBUG)
    transform src/transform.c src/rotozoom.c src/scale2x.c $(SDL) $(DEBUG)
    mask src/mask.c src/bitmask.c $(SDL) $(DEBUG)
    bufferproxy src/bufferproxy.c $(SDL) $(DEBUG)
    pixelarray src/pixelarray.c $(SDL) $(DEBUG)
    +Message was edited by: semicolons+

    Hi,
    have you installed the prebuild binaries for libjpeg, and libpng? They are universal binaries.
    Otherwise you can copy/paste the gcc line, and get rid of the ppc part. Then run setup.py again, and it should continue on.
    (otherwise get a python from python.org and use the binaries... they work fine on leopard)
    cheers,

  • Building ArchLinux from Source

    Hello I am new to Archlinux.
    I come here from a long way through Ubuntu, Debian over Gentoo and finally Linux from Scratch. However none provided me the boot times I wished, so I came to Arch. I don't know wether the question was discussed, at least I could not find it:
    How can I install ArchLinux from Source? I want to benefit from "-O2 -march=native" (or -O3? What is more appropiate for Intel Atom N450, 1GB RAM?). I only find documentation for using the binaries provided.

    tinko wrote:
    .....Ubuntu ... Debian ... Gentoo ...  Linux from Scratch ... none provided me the boot times I wished, so I came to Arch. .....
    How can I install ArchLinux from Source? I want to benefit from "-O2 -march=native" (or -O3? What is more appropiate for Intel Atom N450, 1GB RAM?).
    The beautiful aspect of Arch, to me, is that you can install all of your desired apps from binaries in a very short time and later compile them (or some of them) from source code to optimize performance. I run ArchLinux on a couple of systems with Atom 230 and 330 processors (each with maxed out memory, 3.2GB).  I've noticed a nice improvement in responsiveness as I've moved step-by-step from a system composed entirely of pre-compiled binaries from the repositories to a system composed mostly of the same packages compiled locally with my own CFLAGS ("-march=atom -O2 -msse3 -mfpmath=sse").  I think that installing from source is a reasonable thing to do and is very easy with Arch:
    pbget <package> && cd <package>/ && makepkg --install --noconfirm --log  [-s]
    You can prepare for your daily or weekly upgrade with
    pbget --abs --upgradable && pbget --aur-only --upgradable
    To get a kernel compiled for the atom cpu just use pbget to get the kernel26 package (or pbget --aur-only kernel26-ck to get the ck-patched kernel), edit the PKGBUILD to enable menuconfig (I use "make gconfig"), run makepkg and enable the atom cpu option in the menus.
    Arch doesn't have USE flags (and I'm glad of that) but the equivalent is to edit the PKGBUILD.  You may have to delve into the source code before changing ./configure options:  makepkg --nobuild && <check the configure options> && vim PKGBUILD && makepkg --install
    In general the Arch devs have done well in choosing the right configuration. I'm happy to stick with almost all of their decisions and burn myself once in while when I try to do otherwise

  • Trying to build CyanogenMod from source

    Hello. Probably wrong forum but I don't know where o post it. When I try to run this command:
    $make -j`grep 'processor' /proc/cpuinfo | wc -l` I get an error-message saying:
    make: *** No target and makefile found. Stopping.
    (sorry if not correct translated, I have it in Swedish)
    All commands are like this. From XDA-Developers:
    Howto build for GT-I9000:
    mkdir -p ~/android/system
    cd ~/android/system/
    repo init -u git://github.com/codeworkx/android.git -b froyo
    repo sync
    cd ~/android/system/vendor/cyanogen/
    ./get-rommanager
    ./get-google-files -v HDPI
    cd ~/android/system/
    cp ./vendor/cyanogen/products/cyanogen_galaxys.mk ./buildspec.mk
    . build/envsetup.sh
    lunch cyanogen_galaxys-eng
    make -j`grep 'processor' /proc/cpuinfo | wc -l`
    I don't get any errors from previous commands. Just the last one.
    I wonder if someone can help me with this. I'm on an Arch x86_64 install.

    Thankyou! I didn't move the makefile to my build-dir. That was the mistake. At last. Now I have to download the PRODUCT_POLICY or something like that. I'll found out what to do, I think.
    Edit! Wasn't that easy. Now I get another error:
    $ make -j`grep 'processor' /proc/cpuinfo | wc -l`
    File "build/tools/findleaves.py", line 95
    print r
    ^
    SyntaxError: invalid syntax
    File "build/tools/findleaves.py", line 95
    print r
    ^
    SyntaxError: invalid syntax
    frameworks/policies/base/PolicyConfig.mk:22: *** No module defined for the given PRODUCT_POLICY (android.policy_phone). Stopping.
    Anyone who knows about this. Can be something with the Java-version. It seems like I need Java-1.6 but I don't know how to get it. I think my version is 1.9.
    EDIT! It is due to Python. I need Python2. I am giving up. To complicated for me.
    Last edited by jai134 (2010-11-21 21:15:15)

  • About building Apache and PHP from source

    Hello,
    I figured my question should be posted here, if it should be done somewhere else, I apologize.
    I'm in the process of exploring solaris 9 (I have RH5 - 9, FC1-3 and FreeBSD 4.7> experience). I was wondering which tools I need to build stuff from source, like Apache and PHP. I am aware of www.sunfreeware.com, which helped me out with mc and other useful stuff.
    The problem I see is that when I install packages from sunfreeware.com, I must rely on the package maintainer to release a new package for newer Apache/PHP versions (with bug/security fixes in it). I plan to run a public webserver on this config, so I figured it'd be best to build what I need from the source so I can update it anytime I like.
    What I installed from sunfreeware.com:
    autconf
    automake
    gcc
    make
    bison
    expect
    mc
    libiconv
    ncurses
    flex
    What else do I need to successfully build software from the source?
    Are there any people running a public web/dns/mailserver on Solaris (whatever the version)?
    If someone could answer to those questions, I'd be most grateful.
    Bas

    Have you installed the companion CD? All you need is there.
    Have you tried to compile?
    If so, what errors do you get?

  • Event ID 10016 - DCOM Error | Source - Microsoft-Windows-DistributedCOM | Level: Error

    Hi there... I am getting the above mentioned error with the
    Description: dows-DistributedCOM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    Full message is -
    Log Name:      System
    Source:        Microsoft-Windows-DistributedCOM
    Date:          5/15/2012 1:18:44 PM
    Event ID:      10016
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          NT AUTHORITY\IUSR
    Computer:      Server.domain.com
    Description:
    The description for Event ID 10016 from source Microsoft-Windows-DistributedCOM cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on
    the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    application-specific
    Local
    Activation
    {2D527A8C-A4B6-4E74-A63F-E867360D401C}
    {B13EFBAE-7504-4938-9ED7-8E8B53E51221}
    NT AUTHORITY
    IUSR
    S-1-5-17
    LocalHost (Using LRPC)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
        <EventID Qualifiers="49152">10016</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2012-05-15T19:18:44.000000000Z" />
        <EventRecordID>43121</EventRecordID>
        <Correlation />
        <Execution ProcessID="0" ThreadID="0" />
        <Channel>System</Channel>
        <Computer>Server.Domain.com</Computer>
        <Security UserID="S-1-5-17" />
      </System>
      <EventData>
        <Data Name="param1">application-specific</Data>
        <Data Name="param2">Local</Data>
        <Data Name="param3">Activation</Data>
        <Data Name="param4">{2D527A8C-A4B6-4E74-A63F-E867360D401C}</Data>
        <Data Name="param5">{B13EFBAE-7504-4938-9ED7-8E8B53E51221}</Data>
        <Data Name="param6">NT AUTHORITY</Data>
        <Data Name="param7">IUSR</Data>
        <Data Name="param8">S-1-5-17</Data>
        <Data Name="param9">LocalHost (Using LRPC)</Data>
      </EventData>
    </Event>
    Please let me know any solutions to fix....
    Steps, I did try from one of the blogs -
    Open Component Services. Got oStart --> Control Panel --> Administrative Tools --> Components Services. Expand the Component Services branch then expand Computers, My Computer and DCOM Config. Right-click on "sms agent host" (my case) and click
    Properties. Click on the Security tab and under “Launch and Activation Permissions” select "edit" and add user Local Service (Local lunch). Click OK, close the Component Services window.
    In the Launch Permission dialog box, make sure that the Everyone group has Remote Launch and Remote Activation permissions.
    In the Launch Permission dialog box, make sure that the SMS Reporting Users local group has following permissions:
    Local Launch / Remote Launch / Local Activation / Remote Activation
    Also added Remote Launch / Remote Activation permission for Network Service (for the SMS_Reporting_Point)
    Added Admin Group to the "ConfigMgr Remote Control Users"
    VT

    In addition, In the security policy the ‘Local Service’ need to be configured for the following Policies
    - Generate security audits
    - Create global objects
    - Replace a process level token
    - Adjust memory quotas for a process
    - Impersonate a client after authentication
    - Log on as a service
    - Bypass traverse checking
    Hope this helps.
    Regards,
    Yan Li
    hi,
    i m having similiar error but with another APPID 
    i did what u said in 1st part but i couldnt get what u mean in additional settings ? i couldnt do that. 
    Error details :
    Log Name:      System
    Source:        Microsoft-Windows-DistributedCOM
    Date:          7/2/2013 4:03:20 PM
    Event ID:      10016
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          LOCAL SERVICE
    Computer:      THINK
    Description:
    The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID 
    {7160A13D-73DA-4CEA-95B9-37356478588A}
     and APPID 
    {7160A13D-73DA-4CEA-95B9-37356478588A}
     to the user NT AUTHORITY\LOCAL SERVICE SID (S-1-5-19) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
        <EventID Qualifiers="0">10016</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2013-02-07T14:03:20.356793400Z" />
        <EventRecordID>1465</EventRecordID>
        <Correlation />
        <Execution ProcessID="868" ThreadID="2832" />
        <Channel>System</Channel>
        <Computer>THINK</Computer>
        <Security UserID="S-1-5-19" />
      </System>
      <EventData>
        <Data Name="param1">machine-default</Data>
        <Data Name="param2">Local</Data>
        <Data Name="param3">Activation</Data>
        <Data Name="param4">{7160A13D-73DA-4CEA-95B9-37356478588A}</Data>
        <Data Name="param5">{7160A13D-73DA-4CEA-95B9-37356478588A}</Data>
        <Data Name="param6">NT AUTHORITY</Data>
        <Data Name="param7">LOCAL SERVICE</Data>
        <Data Name="param8">S-1-5-19</Data>
        <Data Name="param9">LocalHost (Using LRPC)</Data>
        <Data Name="param10">Unavailable</Data>
        <Data Name="param11">Unavailable</Data>
      </EventData>
    </Event>

  • How to build a package from sources

    hi all,
    Can someone please give some advices regarding making binaries from sources. I have found that a lot of programs on Snow Leopard can be also run in terminal and are in source form and need to be build. I have installed Xcode already and I have some programming skills as well such as using MinGW (GNU GCC) and VS EE on WinXP. I have never done anything in any UNIX-like system and I know sources need to be just compiled.
    Please, give me a link if you have any =)
    Regards.

    I think you have done something in a UNIX-like system. MinGW is designed to provide a UNIX-line build system with GCC for Windows. Now, however, you have the real thing.
    In most cases, all you need to do is extract the source tarbar into a directory (or checkout via CVS or SVN). Go into that directory with the Terminal and type "configure" and, if that goes well, "make", and if that looks good "sudo make install".

  • Close external window from source application

    I am trying to close the external browser window from the source application (wda). But it seems that I am unable to close from the source window, just by calling close method. This close method has a parameter '  control_to_focus_id' . I am not sure what exactly it needs to be filled with.
    But anyways these act like two separate sessions and can't communicate any longer.
    Is there a way for me to control the external window and close on some user action at source/
    Any inputs would be highly appreciated.
    Thanks

    Hi,
    External window is independent of source window, you cannot control it from source application. May I know what is your requirement!
    Regards,
    Kiran

  • Is it possible to build Java 1.5.0 from source?

    I have posted a similar question on the "New To Java" list, but have not received an answer. I think that what I am trying to do is far too advanced for the Newbie forum.
    I am attempting to build Java 1.5.0 from the source tarball I downloaded from java.sun.com - jdk-1_5_0-src.scsl.zip.
    Sun's own build instructions at http://java.sun.com/j2se/1.5.0/scsl/build-linux.html state: "A GNU gcc compiler version 3.2.2 is required or gcc 3.2.1-7 built with the latest binutils package, version 2.13."
    Since I have been completely unable to find gcc 3.2.1-7 anywhere on the internet, including at gnu.org, I used gcc 3.2.2.
    Unfortunately, when I run the make scsl comman, I receive an error saying that gcc 3.2.2 is not supported and that I have to use gcc 3.2.1-7. I don't have the exact error message in front of me but can get it if it matters.
    So it appears that Java 1.5.0 will not build with gcc 3.2.2. And I am not able to find gcc 3.2.1-7.
    Has anyone out there tried to build Java 1.5.0 from source? Does anyone know why gcc 3.2.2 does not work?
    And most importantly, does anyone know where I can find gcc 3.2.1-7?
    Thanks.

    Sun's own build instructions at
    http://java.sun.com/j2se/1.5.0/scsl/build-linux.html
    state: "A GNU gcc compiler version 3.2.2 isrequired
    or gcc 3.2.1-7 built with the latest binutils
    package, version 2.13."
    Since I have been completely unable to find gcc
    3.2.1-7 anywhere on the internet, including at
    gnu.org, Did you try extracting it from the online source
    control systems?No. I assumed that java.sun.com would be the definitive source for Java.
    >
    I used gcc 3.2.2.
    Unfortunately, when I run the make scsl comman, I
    receive an error saying that gcc 3.2.2 is not
    supported and that I have to use gcc 3.2.1-7. I
    don't have the exact error message in front of mebut
    can get it if it matters.
    So it appears that Java 1.5.0 will not build withgcc
    3.2.2. And I am not able to find gcc 3.2.1-7.
    I would suspect that 3.2.2 will work if you dig into
    the build tools.

  • Haguichi won't build from AUR, and won't build from source tarball.

    I managed to get Hamachi installed. Go me. But I like having a frontend for things like that, so I tried to build Haguichi from the AUR. Didn't work. I downloaded the source tarball, and running ./configure returned the same error as yaourt.
    redpill% ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for pkg-config... /usr/bin/pkg-config
    checking for dmcs... /usr/bin/dmcs
    checking pkg-config is at least version 0.9.0... yes
    checking for GTK_SHARP_20... yes
    checking for NOTIFY_SHARP... yes
    checking for GCONF_SHARP_20... yes
    checking for GLIB_SHARP_20... yes
    checking for DBUS_SHARP_10... no
    configure: error: Package requirements (dbus-sharp-1.0) were not met:
    No package 'dbus-sharp-1.0' found
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    Alternatively, you may set the environment variables DBUS_SHARP_10_CFLAGS
    and DBUS_SHARP_10_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    I made sure the dependencies were installed and updated to the latest versions, but it still won't build. What am I doing wrong?

    Scimmia wrote:Did you read the comments on the AUR page?
    Just did. I guess I'm still a bit noobish

  • [SOLVED] Building from source?

    I'm new - quite new to Linux, totally new to Arch - thus this newbie question.
    I can't seem to understand how to properly compile from source in Arch.
    And before you ask, I have read the Wiki. A lot.
    The way I understand it, normally one would use pacman and rely on it to find, download and install the package. I have not yet got a proper internet connection set up, and will therefore have to download the package(s) from my Win XP computer I'm sitting at.
    I want to download wvdial - for getting dialup up and running. wvdial seems to depend on ppp, wvstreams and xplc, so I have to download those as well.
    After searching, I found them all, but only the source code, as gzipped tarballs.
    I understood that one was then supposed to use makepkg to make a package from the source code, and then install the resulting package using pacman.
    Sounds OK, but it looks like I need a so-called PKGBUILD file for each package, a script used by makepkg to build the package correctly.
    Did those tarballs contain any PKBUILD files? No. There were makefiles, but no such thing as a PKGBUILD file.
    What am I supposed to do, then? Did I get the wrong tarballs?
    I got wvdial from this page: http://www.archlinux.org/packages/extra/i686/wvdial/ which took me here: http://alumnit.ca/wiki/index.php?page=WvDial which again lead me here: http://alumnit.ca/wiki/index.php?page=DownloadReleases
    This last page also included wvstreams.
    For ppp: http://www.archlinux.org/packages/core/i686/ppp/
    For xplc: http://www.archlinux.org/packages/extra/i686/xplc/
    Last edited by Mzg (2009-09-06 18:13:28)

    the binary package have to be downloaded from a mirror. here is a list with them: http://wiki.archlinux.org/index.php/Mirrors
    note: http://www.archlinux.org/packages/extra/i686/wvdial
    looking at the link you can find out where to look. is in extra repository, i686
    http://linkmirror/extra/os/i686/

Maybe you are looking for