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)

Similar Messages

  • 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

  • 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 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

  • 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

  • Cannot build gettext from ABS (gets undeclared here)

    Greetings,
    I am trying to build the gettext package from ABS and receive a compiler error "'gets' undeclared here". Also, I'm building for atom on an x86_64 machine
    pkgver is 0.18.1.1
    My command is : makepkg -Af --nocheck
    Here is the output at the build break:
    gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -march=atom -mtune=atom -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c -o malloca.o malloca.c
    In file included from fwriteerror.h:40:0,
    from fwriteerror.c:21:
    ./stdio.h:456:20: error: ‘gets’ undeclared here (not in a function)
    make[5]: *** [fwriteerror.o] Error 1
    make[5]: *** Waiting for unfinished jobs....
    In file included from closeout.c:22:0:
    ./stdio.h:456:20: error: ‘gets’ undeclared here (not in a function)
    make[5]: *** [closeout.o] Error 1
    In file included from localcharset.c:28:0:
    ./stdio.h:456:20: error: ‘gets’ undeclared here (not in a function)
    make[5]: *** [localcharset.o] Error 1
    make[5]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime/gnulib-lib'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime/gnulib-lib'
    make[3]: *** [all] Error 2
    make[3]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime/gnulib-lib'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime'
    make: *** [all-recursive] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    I have seen various reports of this same problem with other packages, such as grub, but couldn't apply the solution that was given there. Any ideas?
    Thanks,
    Brian Smith

    WorMzy wrote:
    bsmith_ati wrote:I have seen various reports of this same problem with other packages, such as grub, but couldn't apply the solution that was given there.
    Why?
    Because the solution for grub is specific to gnu-lib code contained in the grub source package.
    http://lists.gnu.org/archive/html/grub- … iHYUrM.txt
    I have looked at the stdio.h and stdio.in.h files that are shipped with gettext, and do not see directives similar to what are specified in the patch for grub.
    Last edited by bsmith_ati (2012-09-29 21:38:55)

  • [SOLVED] Cannot build openswan from AUR

    Hello everybody,
    I have an error when I try to upgrade openswan with yaourt/AUR (2.6.24-2 => 2.6.25-1) on a i686 arch install
    This is the error :
    make[3]: Entering directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs/addconn'
    cc -c -fno-strict-aliasing -g -Werror -DKLIPS -DSCANDIR_HAS_CONST -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/pluto -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/ -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25 -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -DKLIPS -DNAT_TRAVERSAL -DNAT_TRAVERSAL -DKERNEL_ALG -DIKE_ALG -DFINALCONFDIR=\"/etc\" -DFINALCONFDDIR=\"/etc/ipsec.d\" -DFINALCONFFILE=\"/etc/ipsec.conf\" -DFINALVARDIR=\"/var\" -Werror /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/addconn.c
    cc1: warnings being treated as errors
    In file included from /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/addconn.c:51:0:
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:37:19: error: comparison between 'enum keyword_string_config_field' and 'enum keyword_string_conn_field'
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:38:19: error: comparison between 'enum keyword_numeric_config_field' and 'enum keyword_numeric_conn_field'
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:39:34: error: comparison between 'enum keyword_string_config_field' and 'enum keyword_string_conn_field'
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:40:34: error: comparison between 'enum keyword_numeric_config_field' and 'enum keyword_numeric_conn_field'
    make[3]: *** [addconn.o] Error 1
    make[3]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs/addconn'
    make[2]: *** [programs] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs'
    make[1]: *** [programs] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386'
    make: *** [programs] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build openswan package.
    Error: unable to update openswan
    Following packages have not been installed:
    openswan
    Is a bug with the AUR package or is a problème on my install ?
    Thx for the help.
    Olive
    Last edited by nolive (2010-05-05 06:58:38)

    ok, that's build when I comment this in /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/Makefile.program
    # die if there are any warnings
    ifndef WERROR
    #WERROR:= -Werror
    endif
    And run the compile directly (not with yaourt or pkgbuild) with
    sudo make programs install
    in /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25
    But my ipsec VPN don't work :
    sudo ipsec auto --up toto
    003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in main_outI1. Errno 22: Invalid argument
    104 "toto" #1: STATE_MAIN_I1: initiate
    010 "toto" #1: STATE_MAIN_I1: retransmission; will wait 20s for response
    003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in EVENT_RETRANSMIT. Errno 22: Invalid argument
    010 "toto" #1: STATE_MAIN_I1: retransmission; will wait 40s for response
    003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in EVENT_RETRANSMIT. Errno 22: Invalid argument
    Thank's for your help. I haven't the skills for checking the code.

  • 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)

  • Cannot build awn from AUR ==SOLVED==

    lo there all, seem to be having a bit o trouble installing the avant-window-navigator-bzr from AUR,
    here is what i am getting
    Checking for required M4 macros...
    libtool.m4 not found
    glib-gettext.m4 not found
    intltool.m4 not found
    pkg.m4 not found
    ***Error***: some autoconf macros required to build avant-panel-menu
    were not found in your aclocal path, or some forbidden
    macros were found. Perhaps you need to adjust your
    ACLOCAL_FLAGS?
    PKGBUILD: line 41: make: command not found
    ==> ERROR: Build Failed. Aborting...
    i think i have all dependencies
    [root@bitsbam nephish]
    # pacman -S libtool glib2 intltool pkgconfig
    :: libtool-1.5.24-2: local version is up to date. Upgrade anyway? [Y/n] n
    warning: libtool-1.5.24-2 is up to date -- skipping
    :: glib2-2.14.2-2: local version is up to date. Upgrade anyway? [Y/n] n
    warning: glib2-2.14.2-2 is up to date -- skipping
    :: intltool-0.36.2-1: local version is up to date. Upgrade anyway? [Y/n] n
    warning: intltool-0.36.2-1 is up to date -- skipping
    :: pkgconfig-0.22-2: local version is up to date. Upgrade anyway? [Y/n] n
    warning: pkgconfig-0.22-2 is up to date -- skipping
    local database is up to date
    any tips would be much appreciated. thanks
    Last edited by nephish99 (2007-11-18 09:52:00)

    byte, perfect, fixed, thanks !

  • 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?

  • 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

  • UPDATE : Toshiba Recovery Wizard 'cannot read from source file or disk' error (satellite L500)

    UPDATE 2: Phoned Toshiba tech support again, guided by techie to begin the recovery again. Just before phoning I was able to go into recovery options and view the drive setup and all the files that couldn't be read are on the CD so I've no idea why the error kept occuring, and neither did the techie. Fingers crossed it works this time but I'm not overly hopefully given that we've just done exactly the same as I did before.  UPDATE 1: I got into the BIOS and reset everything back to defaults and yay, my toshiba recovery wizard now starts! :-D  On the down side, when trying to do a factory default software / out of the box recovery I continually get error messages with regards to copying the files, for example 
    cannot read from source file or disk
    7z.dll
    Type application extension
    size 585kb
    date modified 7/14/2009 10.26pm
    other read / copy errors include PREINST6.SWM, BOOT_32, BOOTPRIORITY, CHECKMAXPTSIZE, CHGBOOT, CPU, CPUCHECK, CREATEPARTITION, CTRLDRVINFO, DISKWIPE, DMI, DPINST32, EBLIB.DLL, ERRORDIALOG, EW3BOOTSEQ, FWLINK, FWLINK.SYS, GETHDDINFO, GETKEYSTATE, IMAGEX, INFILED, INITRECAREA, KRAIADAPI.DLL ..... at which point I decided to 'skip all' :-/
    Any explanations as to what's going on and how I might be able to fix it would be very much appreciated! :-)  Thank you!
    I have a two and half year old satellite L500 with an Intel i-3 and 4 gigs of RAM, on which I was running Windows 7.
    Admittedly it’s had rather a hard life (I ran some very demanding CAD / graphics software on it) but it had always performed well until just recently, when after suffering several BSOD (which had never happened before), the hard drive failed.
    I partitioned and formatted a brand new hard drive (which is perfectly fine and functions normally when hooked up to another laptop with a SATA to USB cable) and obtained system recovery discs from Toshiba.  Unfortunately, when I try and run the first disc, windows starts to load files but then generates an error screen with the message Error F3-F100-0003 and a request to turn the computer off.  
    When I use the windows Memory Diagnostic to get into the Windows Boot Manager Screen I get the following;
    Windows failed to start.  A recent hardware / software change might be the case.
    To fix the problem
    Insert your windows installation disc and restart your computer
    Choose your language settings and click ‘next’
    Click ‘repair your computer’
    File: \boot\memtest.exe
    Status: 0xc000000f
    Info: the selected entry could not be loaded because the application is missing or corrupt.
    I can also use F8 on startup to get into the advanced boot options but selecting any of them simply results in the F3-F100-0003 error message.  I’ve run a memory test using the UBCD, which tells me the memory is fine, and tried another hard drive (which also works perfectly well in another laptop) but no joy.  On phoning Toshiba support the techie said my hard drive had failed, but as I say, both hard drives are perfectly fine / usable when hooked up to another laptop.  I’m now completely stuck as to what the problem is and how I might resolve it – any advice / suggestions would be most gratefully received! Thank you in advance :-)

    Satellite L655-S5096
    Downloads here.
    the second disc gives me the the "cannot read from source file or disk PREINST8.SWM"
    My best guess is that the disc is not readable. Try copying it to another. Sometimes that works.
    Otherwise, order new discs from Toshiba.
    -Jerry

  • I cannot download photos from my digital camera to Iphoto (version '09). I have been able to successfully do this up to 4 days ago but not yesterday. My camera/device is recognized in the Source List but photos won't download for me to import to library.

    I cannot download photos from my digital camera (via a cable) to Iphoto (version '09). I have been able to do this successfully up til 4 days ago but not yesterday (Dec. 25th). My camera/device is recognized in the Source List, but when it tries to download the photos, all I get are the words "Loading Photos" in the area where the thumbnail pictures usually display. The little "gear" symbol next to the words but it just goes round and round. Nothing ever downloads, and instead of showing me how many pictures there are to import it just says "No photos". So therefore I cannot import the photos to my library since they won't even download.
    I was getting an error message a few days ago that my Iphoto library was getting full, so I emptied my trash in both Iphoto and on my computer. I had this same problem back in October and emptying the trash and getting rid of some photos did help (can I really be using that much storage space for the pictures?). But it didn't help this time.
    Any suggestions as to what to do to solve the problem? I would try taking the SD card out and inserting that into the slot on the computer to see if I could load pictures that way; but the last time I did that, they wouldn't load. Not sure if I lost pics from the disc or not.
    Thank you,
    Novice50

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

Maybe you are looking for

  • Setup outdoor wireless

    I work at a garden. We have many activities in the summer. I setup outdoor wireless using Cisco 1310 wireless bridges, one is root bridge and other is non-root bridge. I find if the non-root bridge behind a tree, the signal reduce from excellent to l

  • What product is Apple part number MF366ll/a

    Found a part number and can not seem to find out which product it is.  Any ideas as to where to find products listed by part number?

  • Having a gui in one class use a gui in another?

    Hi everyone, I have created two separate classes for an employee program. My first class consists of a frame that adds a new employee to the program and my second class is the Main Program that is supposed to allow the user to choose what information

  • Smart Albums Don't Update

    I've been having an issue with smart albums. It seems that in iPhoto 11, they won't update automatically. I can force them to update by getting info on the album's settings and then choosing "ok" without changing anything. This, however, is a royal p

  • JDBC receiver: Values with quotes

    Dear all, I created an insert statement for JDBC receiver. I used logSQLStatement in advanced adapter mode to see the SQL statement He does it like insert into xyz(col1,col2) values(abc,def) but I need it like insert into xyz(col1,col2) values('abc',