Compiling and installing LIRC

(I originally posted this in the Using Mac OS X Tiger section, but it was recommended I post here instead.)
I have read that LIRC can be successfully installed on OS X, but I have not found any good directions for how to do so. I would like to configure it with the streamzap driver, but the only way it will even attempt to compile is with no driver. When I try to compile it with no driver, I get the following errors:
lircd.c: In function 'add_client':
lircd.c:455: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
lircd.c: In function 'set_transmitters':
lircd.c:1254: warning: implicit declaration of function '_IOW'
lircd.c:1254: error: parse error before "__u32"
make[2]: * [lircd.o] Error 1
make[1]: * [all-recursive] Error 1
make: * [all] Error 2
Any help or suggestions? (Aside from getting a new remote, that is!)
17" iMac G5 rev. B; hp pavilion ze4240   Mac OS X (10.4.3)  

I downloaded the latest version from http://www.lirc.org

Similar Messages

  • Compiling and installing Tux On Ice, need a little help

    I have a desktop system and a netbook that I would like to have hibernating when they aren't being used.  The wiki outlined roughly how to accomplish this with this page:  https://wiki.archlinux.org/index.php/Tuxonice
    I downloaded from the AUR the kernel26-ice 2.6.38-4 to compile and install.  I managed to compile it (I think ... correctly I hope) but every time I try to get it installed with "mkinitcpio -p kernel26-ice.preset" the build fails with these errors:
    [root@blackyunzi ~]# mkinitcpio -p kernel26-ice
    /etc/mkinitcpio.d/kernel26-ice.preset: line 5: /etc/mkinitcpio.d/kernel26-ice.kver: No such file or directory
    ==> Building image from preset: 'default'
    ==> WARNING: No kernel version specified. Skipping image `default'
    ==> Building image from preset: 'fallback'
    ==> WARNING: No kernel version specified. Skipping image `fallback'
    [root@blackyunzi ~]# cd ~heather/aur_builds/kernel26-ice/kernel26-ice/
    I have tried to CD into the build directory just to make sure I was using the correct file but that has not helped.  I've never compiled my own kernel before today and I'm stymied as to what I'm doing wrong.  If it matters, I compiled it as a regular user in the folder where I downloaded it to.  The contents of my build directory:
    [heather@blackyunzi kernel26-ice]$ ls -al kernel26-ice
    total 117308
    drwxr-xr-x 2 heather heather 4096 Jul 27 19:52 .
    drwxr-xr-x 3 heather heather 4096 Jul 27 19:08 ..
    -rw-r--r-- 1 heather heather 236395 Apr 21 05:12 2.6.38.3-sched-bfs-401.patch
    -rw-r--r-- 1 heather heather 125982 May 20 18:27 config
    -rw-r--r-- 1 heather heather 120300 May 20 18:27 config.x86_64
    -rw-r--r-- 1 heather heather 40977284 Jul 27 19:47 kernel26-ice-2.6.38-4-x86_64.pkg.tar.xz
    -rw-r--r-- 1 heather heather 665 Jul 27 19:45 kernel26-ice.install
    -rw-r--r-- 1 heather heather 3111082 Jul 27 20:01 kernel26-ice.preset
    -rw-r--r-- 1 heather heather 74739098 Mar 14 19:40 linux-2.6.38.tar.bz2
    -rw-r--r-- 1 heather heather 186457 Jun 2 19:36 patch-2.6.38.8.bz2
    -rw-r--r-- 1 heather heather 12794 Jun 7 02:14 PKGBUILD
    -rw-r--r-- 1 heather heather 451933 Apr 3 15:36 reiser4-for-2.6.38.patch.bz2
    -rw-r--r-- 1 heather heather 129795 May 4 18:30 tuxonice-3.2-for-2.6.38.patch.bz2
    [heather@blackyunzi kernel26-ice]$
    The makepkg file shows that I only changed one setting, the "-j4" bit:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Exclusive: will only run on x86_64
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
    LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
    #-- Make Flags: change this for DistCC/SMP systems
    ## While using the kernel26-ice build CK recommends you ONLY compile this kernel
    ## with the same number as how many cpu's you have.
    ## quoting his example: IE you should ONLY do make -j4 on quad core, -j2 on dual core and so on.
    MAKEFLAGS="-j4"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    BUILDENV=(fakeroot !distcc color !ccache check)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    OPTIONS=(strip docs libtool emptydirs zipman purge)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Mkinitcpio shows, after stripping out the comments:
    MODULES=""
    FILES=""
    HOOKS="base udev autodetect usbinput pata scsi sata lvm2 filesystems consolefont"
    (no compression options)
    Finally, I put the kern26-ice.preset into the /etc/mkinitcpio folder and tried to install it from there but again I met failure.
    Apologies for the length but I'm getting frustrated with this issue.
    Last edited by MoonSwan (2011-07-28 02:40:58)

    MoonSwan wrote:I have a desktop system and a netbook that I would like to have hibernating when they aren't being used.  The wiki outlined roughly how to accomplish this with this page:  https://wiki.archlinux.org/index.php/Tuxonice
    I downloaded from the AUR the kernel26-ice 2.6.38-4 to compile and install.
    Hm... netbook.
    If you don't mind trying bfs and bfq too, then you could give the pf-kernel that is mentioned in the wiki too a try:
    http://aur.archlinux.org/packages.php?ID=50956
    It has a repository here:
    [pfkernel]
    Server = http://dl.dropbox.com/u/11734958/$arch
    and a thread: https://bbs.archlinux.org/viewtopic.php?id=103462
    I'm not quite sure how netbook performance is affected by BFS...
    It has the bonus to already be based on 3.0.
    Last edited by Cdh (2011-07-28 20:35:50)

  • How to compile and install driver?

    Hey there,
    I've got the source for a driver, but how do I compile and install it?
    Thanks.

    If you need more info check out this wiki:  http://wiki.archlinux.org/index.php/ABS … ild_System
    You don't have to build an arch package if you don't want but you will get more details here.

  • Compiling and Installing Compiled Kernel

    Hi everyone, today i followed the "Kernel Compilation From Source" (https://wiki.archlinux.org/index.php/Ke … rom_Source) ArchWiki to compile a kernel downloaded from kernel.org. And i use the second method to compile and install with makepkg.
    When the compilation is done, it can't be installed because the name of the file.
    I know i must specify a new name for the new linux image and the System.map to have two or more kernels installed. But "where" in the PKGBUILD i must change the name of the files???
    I'm using the PKGBUILD from the wiki:
    pkgname=kernel26-my
    basekernel=2.6.32.8
    pkgver=2.6.32.8
    pkgrel=1
    pkgdesc="The Linux Kernel and modules"
    arch=('i686' 'x86_64')
    license=('GPL')
    url="http://www.kernel.org"
    depends=('module-init-tools' 'mkinitcpio')
    provides=(kernel26)
    install=kernel26.install
    build() {
    LOCAL_VERSION="$(grep "CONFIG_LOCALVERSION=" $startdir/.config | sed 's/.*"\(.*\)"/\1/')"
    cd ..
    make || return 1
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    # There's no separation of firmware depending on kernel version -
    # comment this line if you intend on using the built kernel exclusively,
    # otherwise there'll be file conflicts with the existing kernel
    rm -rf $startdir/pkg/lib/firmware
    install -Dm644 "System.map" "$startdir/pkg/boot/System.map26$LOCAL_VERSION"
    install -Dm644 "arch/x86/boot/bzImage" "$startdir/pkg/boot/vmlinuz26$LOCAL_VERSION"
    # Change the version strings in kernel26.install
    sed -i \
    -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=\"$basekernel\"/" \
    -e "s/LOCAL_VERSION=.*/LOCAL_VERSION=\"$LOCAL_VERSION\"/" \
    $startdir/kernel26.install
    And also the kernel26.install
    KERNEL_VERSION="2.6.32.8"
    LOCAL_VERSION="-MINE"
    post_install () {
    echo ">>> Updating module dependencies..."
    /sbin/depmod -A -v ${KERNEL_VERSION}${LOCAL_VERSION}
    echo ">>> Creating initial ramdisk..."
    mkinitcpio -k "${KERNEL_VERSION}${LOCAL_VERSION}" -g "/boot/kernel26${LOCAL_VERSION}.img"
    post_upgrade() {
    echo ">>> Updating module dependencies..."
    /sbin/depmod -A -v ${KERNEL_VERSION}${LOCAL_VERSION}
    echo ">>> Creating initial ramdisk..."
    mkinitcpio -k "${KERNEL_VERSION}${LOCAL_VERSION}" -g "/boot/kernel26${LOCAL_VERSION}.img"
    Thanks in advance.
    Last edited by Hyugga (2010-11-11 02:48:14)

    When installing the kernel there is some problem when the "mkinitcpio" is running: sd_mod error.
    I can install and boot the kernel afterwards but when i get to kdm, the keyboard and the touchpad/mouse doesn't work.
    I double checked the .config file and i have enabled the keyboard and the mouse options.
    What can i do?
    Thanks...

  • Consistent annoying problem when compiling and installing Apache modules.

    Every time I build and install mod_jk for Apache (Since binaries are no longer available for Apache 1.3.x on Mac OS X, we have to build it ourselves.), everything goes smoothly until the final 'sudo make install,' and then it finishes with:
    Libraries have been installed in:
    /usr/libexec
    Which is nice, but they're supposed to be installed in /usr/libexec/httpd in Mac OS X. (I don't know if this is a problem for Mac OS X Server too, but I'm using regular old Mac OS X 10.4.10, so I'm posting this here.)
    I'm using this when I call configure:
    % ./configure --with-apxs=/usr/sbin/apxs
    and /usr/sbin/apxs says:
    my $CFG_LIBEXECDIR = q(/usr/libexec/httpd);
    but the resulting Makefile says:
    libexecdir=${APACHE_DIR}/libexec
    So it appears to be ignoring the definition from apxs. It also appears that the definition of libexecdir appears to be variable only up until libexec. It looks like you can't tell it to use a subdirectory.
    It's easy enough to just move the installed files into the httpd directory, with sudo mv /usr/libexec/mod_jk.* usr/libexec/httpd, but it's a little annoying to have to remember to do this every time I upgrade mod_jk.
    Has anybody else run into this with this or other modules? Is it a bug that should be reported to either Apple or Apache? Does anybody have a better solution than moving the files?

    MoonSwan wrote:I have a desktop system and a netbook that I would like to have hibernating when they aren't being used.  The wiki outlined roughly how to accomplish this with this page:  https://wiki.archlinux.org/index.php/Tuxonice
    I downloaded from the AUR the kernel26-ice 2.6.38-4 to compile and install.
    Hm... netbook.
    If you don't mind trying bfs and bfq too, then you could give the pf-kernel that is mentioned in the wiki too a try:
    http://aur.archlinux.org/packages.php?ID=50956
    It has a repository here:
    [pfkernel]
    Server = http://dl.dropbox.com/u/11734958/$arch
    and a thread: https://bbs.archlinux.org/viewtopic.php?id=103462
    I'm not quite sure how netbook performance is affected by BFS...
    It has the bonus to already be based on 3.0.
    Last edited by Cdh (2011-07-28 20:35:50)

  • Compiling and installing the AUR Blacs-mpi package

    I'm trying to install blacs-mpi (dependance for mumps) and have run into the following issue:
    make[1]: Leaving directory `/usr/local/src/blacs-mpi/src/BLACS/TESTING'
    libblacs.a(BI_BlacsErr.o): In function `BI_BlacsErr':
    BI_BlacsErr.c:(.text+0x138): undefined reference to `__stack_chk_fail_local'
    libblacs.a(BI_BlacsWarn.o): In function `BI_BlacsWarn':
    BI_BlacsWarn.c:(.text+0x128): undefined reference to `__stack_chk_fail_local'
    ==> ERROR: A failure occurred in build().
    Aborting...
    If my understanding is correct, this is a run-time stack overflow verification error and is possibly occurring because blacs-mpi is pointing to some non-existent library. However, I have no idea what library this could be (or if I'm right).
    Can anyone point me in the right direction?
    Thanks!
    Link to AUR package: https://aur.archlinux.org/packages/blacs-mpi/

    MoonSwan wrote:I have a desktop system and a netbook that I would like to have hibernating when they aren't being used.  The wiki outlined roughly how to accomplish this with this page:  https://wiki.archlinux.org/index.php/Tuxonice
    I downloaded from the AUR the kernel26-ice 2.6.38-4 to compile and install.
    Hm... netbook.
    If you don't mind trying bfs and bfq too, then you could give the pf-kernel that is mentioned in the wiki too a try:
    http://aur.archlinux.org/packages.php?ID=50956
    It has a repository here:
    [pfkernel]
    Server = http://dl.dropbox.com/u/11734958/$arch
    and a thread: https://bbs.archlinux.org/viewtopic.php?id=103462
    I'm not quite sure how netbook performance is affected by BFS...
    It has the bonus to already be based on 3.0.
    Last edited by Cdh (2011-07-28 20:35:50)

  • How to compile and install glib and gtk+?

    Hi,
    I am trying to "configure", a "make", and "sudo make install" on the package glib-2.26.0.
    I type ./configure which works fine but then when I type 'make' it gets to a certain point and then gives the following error message:
    *#error GNU libiconv not in use but included iconv.h is from libiconv*
    What does this mean? I've already installed iconv under /usr/bin so what exactly is going on here?
    Thanks in advance,
    Mark
    PS: I originally had Leopard on my machine, and now I have Snow Leopard; does that mean that I have to rebuild every package from scratch?? Could this be causing the problem?

    Actually this is not necessarily the wrong place to ask such a question (or was it moved to the unix forum? My head hurts). In my experience, gtk+2 and the associated software is not completely trivial to compile on OS X and to get working properly. I make fairly heavy daily use of it. I let fink do this for me.
    One immediate suggestion: Try not to put this stuff in /usr/bin. If you can put it in /usr/local, or using fink, put it in /sw, or macports (a fink alternative some prefer), in /opt/local, it has the advantage of (a) not clobbering anything distributed with OS X, and (b) won't get clobbered by OS X updates.
    I maintain precompiled versions of gtk+2 and all that other stuff, informally, to be installed via fink if you are interested.
    If so, start here: My pre-compiled packages
    Use the 64-bit version if you are able to.

  • After WLS is compiled and installed is JDK still required?

    We have installed WLS 10.3.5 and 10.3.6 on several RHEL5.6 servers. We were under the impression that JDK was required for WLS to run... not just compile. Is this true? or can we just set the JAVA_HOME to point at the corresponding JRE instead and thereby be able to remove the JDK?
    Thanks in advance

    No! Some applications require a constant recompile of some parts (for example JSFs), ie. after every WLS restart, OAM is such an application. JRE is only for run-times that do not require a Java compiler. WLS definitely does require the JDK and using the JRE is not certified.
    HTH,
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Compile and Install JK2 connector Solaris 9

    Hi
    I 'm trying to create a cluster server using Apache and two Tomcat's instance. My problem is when I have to use the JK2 connector (reference http://tomcat.apache.org/tomcat-4.1-doc/config/jk.html) because I need to compile some files, but I new in solaris and I don't know how to do it.
    I downloaded the file from this site http://archive.apache.org/dist/jakarta/tomcat-connectors/jk2/
    I'm using Apache 2.0.55, Tomcat 5.028 and Solaris 9
    Does someone help me?
    Regards

    also you would want to download the DCA floppy image from the sun website, and yes
    dont forget to change the bios setting for booting from cd. Hope this will help you.He was talking about the installation on a x86 system not SPARC !
    On a SPARC use
    setenv auto-boot? false
    which puts you at the OK-Prompt after switching on the system. Then you can enter the boot command, e.g. boot cdrom or boot disk.
    Michael

  • How to compile and install kaffe-1.0.6 on arm-linux??

    hi,all:
    Does anyone know the answer to my question?If you
    do,could you tell me the answer? Places where to find
    the answer is also wanted.
    Thank you ,all guys.
    hugh

    If you are cross-compiling kaffe then you can use this:
    CC=arm-linux-gnu-gcc \
    AR=arm-linux-gnu-ar \
    LD=arm-linux-gnu-ld \
    NM=arm-linux-gnu-nm \
    RANLIB=arm-linux-gnu-ranlib \
    KAFFEH=/home/fire/kaffeh \
    CFLAGS=-Os LDFLAGS=-s \
    ./configure \
    --host=arm-linux-gnu \
    --enable-shared \
    --disable-debug \
    --disable-xprofiling \
    --disable-xdebugging \
    --disable-feedback \
    --without-profiling \
    --without-libffi \
    --without-x \
    --without-stats \
    --disable-gcj \
    --prefix=/usr
    make
    make DESTDIR=~/distro install
    Btw this will not compile kaffe with AWT support.

  • Compiling and Installing Drivers

    Hi all,
    I'm setting up Arch on a PPC Powermac G5. I've overcome several yaboot issues and managed to get Arch to boot successfully (after 2 days trying!)
    Only problem now is that the fans run at 100% all the time, and the fans in the G5 are very noisy.
    I've found this which has a therm_pm72.c file and therm_pm72.h file for controlling G5 fans.
    If someone could explain how to compile this driver and insert it into my Arch installation I'd be appreciative as I'm relatively new to linux and keen to learn.
    Cheers!

    I think you might need to compile yourself a new kernel, however I am not an expert on the kernel and its modules.  However you might be able to gleen some information that will help from these sites.
    modules (external)
    help with kconfig
    forum post that might be of marginal assistance
    For more help than those provide you might want to read through (at least sections 2 and 5) of kernel.org docs
    Good luck!
    Last edited by pauline123 (2010-12-07 16:48:15)

  • Compilation and instalation problem!!!

    I'm trying to install xine libraries into my Solaris 10, when I type "./configure", it seems going well, but once I type "make" and "make install", it come out "make not found." Can anyone tell me how to solve the problems? Please and thank you. By the way, how to set PATH for long term uses regardless we turn off and on the computer. Please teach me, I'm a newbee. Thank you.
    Giauw

    Hi
    Put /usr/ccs/bin in your path, make sure you did a full install of Solaris.
    Paul

  • Script for downloading(svn) and install E17

    I've been working on a script that download for the svn repository e17, compiler and install. I've made this script more as a to lear more about bash script. You can do the same thing as my script with yaourt. I hope someone might need it.
    #!/bin/bash
    # Title: Arch E17 svn #
    # Auther: Kamil MIklaszewski ([email protected]) #
    # Date: 2008-12-19 19:10 #
    # Licence: GPL #
    # This program is free software; you can redistribute it and/or modify #
    # it under the terms of the GNU General Public License as published by #
    # the Free Software Foundation; either version 2 of the License, or #
    # (at your option) any later version. #
    # This program is distributed in the hope that it will be useful, #
    # but WITHOUT ANY WARRANTY; without even the implied warranty of #
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
    # GNU General Public License for more details. #
    # You should have received a copy of the GNU General Public License #
    # along with this program; if not, write to the Free Software #
    # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, #
    # MA 02110-1301, USA. #
    # Version: 1.0 #
    # Description: This script was writen for Archlinux. It will download e17 #
    # from the svn repository and it will do a full installation. #
    # This script also take care of the dependency for all of the #
    # programs that are installed with e17. #
    # TODO: For version 1.0 #
    # -have the scipt use dialog #
    # -make the script more autamatic #
    # Change Log: *2008-12-19 #
    # -creation of script #
    # Function name: prep
    # Function paramiter(s): none
    # Function description: This function prepers the envirement to run
    # the rest of the script
    prep()
    #make a temporery directory and go to it
    mkdir -p ~/arch_e17_svn
    cd ~/arch_e17_svn
    #export this path to compile succesfuly
    export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
    # Function name: message
    # Function paramiter(s): Word to be printed on the screen
    # Function description: This function print messages on the screen.
    message()
    #print a message to the screen
    echo -e "==>" $*
    # Function name: downloadPackage
    # Function paramiter(s): none
    # Function description: This function go to the user's home
    # directory and downloads e17 from svn repo.
    downloadPackage()
    message "Downloading " $1 " from E17 svn repository."
    #download the specifed package with less text
    svn co --quiet http://svn.enlightenment.org/svn/e/trunk/$1 $1-svn
    # Function name: generalDependencys
    # Function paramiter(s): none
    # Function description: This fuction install the general
    # dependencys.
    generalDependencys()
    message "Installing Dependencys..."
    #list of package needed to be installed
    generalDependencysList=(
    'svn'
    'm4'
    'autoconf'
    'automake'
    'libtool'
    'pkgconfig'
    'texinfo'
    'zlib'
    'libpng'
    'libjpeg'
    'freetype2'
    'xorg'
    'dbus'
    'hal'
    'pam'
    'librsvg'
    'libnotify'
    'curl'
    'openssl'
    'libungif'
    'libtiff'
    'gettext'
    'glibc'
    'glibmm'
    'doxygen'
    'giflib'
    'cairo'
    'libx11'
    'libxext'
    'libxrender'
    'fontconfig'
    'libxcb'
    'sdl'
    'mesa'
    'qt'
    'librsvg'
    'libtiff'
    'directfb'
    #install the dependencys in the list
    sudo pacman -Sq --needed ${generalDependencysList[@]}
    # Function name: installPackage
    # Function paramiter(s): The name of the package to install
    # Function description: This fuction need one paramiter that is
    # the package to configure and install.
    installPackage()
    #change directory to the program to configure and install
    cd ~/arch_e17_svn/$1-svn
    message "Configurating package " $1
    #run the autogen script that will configure and
    #make read to install this program
    ./autogen.sh
    message "Compiling package " $1
    #now compile the source file of the program
    make
    message "Installing package " $1
    #now install the program
    sudo make install
    cleanUp()
    rm -r ~/arch_e17_svn
    # MAIN #
    main()
    #preper the envirement
    prep
    #install the general dependecys using pacman
    generalDependencys
    #list of packages to download and install
    packagesList=(
    'eina'
    'eet'
    'evas'
    'ecore'
    'efreet'
    'embryo'
    'edje'
    'e_dbus'
    'e'
    #loop that gos through the list and downloads the packages
    for package in ${packagesList[@]}
    do
    downloadPackage $package
    message "Done\n"
    done
    #loop that gos through the list and installs the packages
    for package in ${packagesList[@]}
    do
    installPackage $package
    message "Done\n"
    done
    main

    pressh wrote:to not duplicate work I've already created a python script some time ago which you can use to build e17 pacman packages using the community PKGBUILDs: http://dev.archlinux.org/~ronald/e17.html
    I may extend its usage if someone sees any use for it. Either way, just thought I should drop it here.
    is that script any different from a full build through makepkg/yaourt using AUR's Pkgbuilds?
    I tried to use it but i get a list of errors similar to
    cp: impossibile creare il file normale `eina-build/eina/.svn/prop-base/NEWS.svn-
    base': Permission denied
    but if i can use yaourt, why not?
    Edit: sorry, i looked at the python source and realized that it actually just syncs abs and then runs makepkg and namcap for each package. so i guess i'll use yaourt instead (or try to understand why makepkg exits with that error)
    Last edited by pikiweb (2009-06-19 08:48:46)

  • Is there anyone at all here who has successfully compiled and deployed an SSRS custom report item in VS2012?

    Is there anyone at all here who has successfully compiled and deployed an SSRS custom report item in VS2012?  Is there a demo out there that actually works in VS2012?  Is there anyone who has actually been able to compile and deploy that
    apparently obsolete Polygons demo?  (Pardon my impatience but I'm running a bit short of time here.)
    After much hacking and googling I was able to get Polygons to compile but I still can't deploy it to the toolbox.  ('The custom report item type PolygonsDesigner is not installed').   I've modified the RSReportDesigner.config
    as instructed but I have no rssrvpolicy.config file on my local machine and
    as yet I have no idea if that is necessary for local development.
    In order to get it to compile I first added the reference  C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportingServices.ProcessingCore.dll to both projects.
    To the PolygonsDesigner Project I also added the references:
    C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportDesigner.Controls.dll
    C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies\Microsoft.ReportingServices.Designer.11.0.dll
    C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\Microsoft.ReportingServices.Interfaces.dll
    Are these the correct references?  
    Exactly what software do you need installed on your local machine in addition to VS2012 in order to create a custom control?
    (Designer.11.0 was added per the instructions in reference: https://connect.microsoft.com/VisualStudio/feedback/details/783391/unable-to-integrate-previously-working-ssrs-custom-report-item-to-vs-2012s-toolbox  
    After that I added the alias RSDesigner to it's properties and   extern alias RSDesigner; at the top of the PolygonsDesigner.cs file. )
    As of now, the top of the PolygonsDesigner.cs is as follows.  I don't recall making any other changes to the code.  As far as I can remember this is all I did in order to be able to compile the code in VS2012.
        extern alias RSDesigner;
        using System;
        using System.ComponentModel;
        using System.ComponentModel.Design;
        using System.Collections;
        using System.Collections.Generic;
        using System.Diagnostics;
        using System.Drawing;
        using System.Windows.Forms;
        using Microsoft.ReportDesigner;
        using Microsoft.ReportDesigner.Design;
        using Microsoft.ReportingServices.Interfaces;
        using Microsoft.ReportingServices.RdlObjectModel;
        using System.Xml;
        using System.Xml.Xsl;
        using System.Xml.XPath;
        [LocalizedName("Polygons")]
        [Editor(typeof(CustomEditor), typeof(ComponentEditor))]
        [ToolboxBitmap(typeof(PolygonsDesigner), "Polygons.ico")]      
        [CustomReportItem("Polygons")]
        [ToolboxItem(typeof(RSDesigner::Microsoft.ReportDesigner.Shell.CRIToolboxItem))] 
        [System.CLSCompliant(false)]
        public class PolygonsDesigner : CustomReportItemDesigner
        {   etc...

    Just fixed this myself.
    It appears the documentation online is wrong and the sample code is missing a reference to a reporting services dll and an attribute.
    What you need to do to get it working in VS2012 is add a reference to: Microsoft.ReportingServices.designer.11.0.dll to the PolygonsDesigner project and then add the following attribute to the PolygonsDesigner class: [ToolboxItem(typeof(Microsoft.ReportDesigner.Shell.CRIToolboxItem))]
    I also removed the [System.CLSCompliant(false)] attribute.
    You then recompile and place both dlls in C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\PrivateAssemblies directory and the PolygonsDesigner.dll into the C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\bin
    or what ever is you reporting services path.
    You also need to change the Microsoft example for the rereportserver.config file to:
        <ReportItemDesigner>
       <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
        </ReportItemDesigner>
        <ReportItems>
       <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCRI,PolygonsCRI"/>
        </ReportItems>
     Notice that I changed the namespaces and class to what is in the actual code so if you change it make sure you change it here.
    And here in the RSReportDesigner.config:
    <ReportItems>
          <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsCustomReportItem,PolygonsCRI" />
        </ReportItems>
        <ReportItemDesigner>
          <ReportItem Name="Polygons" Type="Microsoft.Samples.ReportingServices.PolygonsDesigner, PolygonsDesigner" />
        </ReportItemDesigner>
        <ReportItemConverter>
          <Converter Source="Chart" Target="Polygons" Type="PolygonsCRI.PolygonsConverter, PolygonsDesigner" />
        </ReportItemConverter>
    Notice I haven't changed the last part as I didn't know what the PolygonsCRI.PolygonsConverter was.
    And make sure the rssrvpolicy.config looks like this:
         <CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Description="This code group grants PolygonsCRI.dll FullTrust permission. ">
           <IMembershipCondition class="UrlMembershipCondition" version="1" Url="C:\Program Files\Microsoft SQL Server\MSRS10_50.SQLSERVER\Reporting Services\ReportServer\bin\PolygonsCRI.dll" />
        </CodeGroup>
    After a restart of ssrs and relaunch of VS2012 I opened a test project and added the PolygonsDesigner.dll to the toolbox and it works.
    Jamie

  • How to Compile and run Smart Card Application

    hi
    any one can help me reagrding Javacard API. i download the JavaCard Development Kit from sun and install on my machine but i didn't get all java files and class files of JavaCard API. where i obtain those files so my application get compile and run.
    pls help me i m new in this technology.
    Thanks in Advance.

    My program Test.java in F:\Tomcat5\webapps\Ambika\WEB-INF\Classes. I compiled in the format below. I got like this. What should I do for this? But yesterday I compiled like this only, It compiled and the folder com\cert\Test.class is created. Today again I compiled the pgm after deleting the already created folder 'com\cert', I got the error like this.
    I've given my pgm and the thing I've got when I compiled it.
    Test.java
    package com.cert;
    public class Test
         public void display()
              System.out.println("Hai");
    F:\Tomcat5\webapps\Ambika\WEB-INF\Classes>javac -d F:\Tomcat5\webapps\Ambika\WEB-INF\Classes\Test.java
    javac: no source files
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are u
    sed
    -classpath <path> Specify where to find user class files
    -cp <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -endorseddirs <dirs> Override location of endorsed standards path
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -source <release> Provide source compatibility with specified release
    -target <release> Generate class files for specific VM version
    -version Version information
    -help Print a synopsis of standard options
    -X Print a synopsis of nonstandard options
    -J<flag> Pass <flag> directly to the runtime system
    F:\Tomcat5\webapps\Ambika\WEB-INF\Classes>
    Plz help me.
    thanks in advance
    Ambika

Maybe you are looking for