Recompiling de distro

I've been recompiling my entire system with the ABS packages, and while almost all packages compiled well under gcc4.3, some packages had trouble with it.
So I've discovered the 'bugs' and made some patches. I would like to share them with the community. (I don't' know if this is the right place, but I guess it is)
Nautilus (2.22.5) had problems with one include:
--- libnautilus-private/nautilus-file.h 2008-06-30 06:26:39.000000000 -0700
+++ libnautilus-private/nautilus-file.h2 2008-09-28 14:03:13.000000000 -0700
@@ -27,6 +27,7 @@
#include <gtk/gtkobject.h>
#include <gio/gio.h>
+#include <sys/stat.h>
#include <libnautilus-private/nautilus-file-attributes.h>
#include <libnautilus-private/nautilus-icon-info.h>
So as libnl (1.1)
--- include/netlink-local.h 2008-01-14 07:48:45.000000000 -0800
+++ include/netlink-local.h2 2008-09-25 22:40:53.000000000 -0700
@@ -26,6 +26,7 @@
#include <sys/socket.h>
#include <inttypes.h>
#include <assert.h>
+#include <limits.h>
#include <arpa/inet.h>
#include <netdb.h>
And xgl (0.7.8):
--- xserver/configure.ac 2008-04-07 02:53:00.000000000 -0700
+++ xserver/configure.ac2 2008-09-28 02:00:26.000000000 -0700
@@ -1602,7 +1602,10 @@
DIX_CFLAGS="-DHAVE_DIX_CONFIG_H"
AC_SUBST([DIX_CFLAGS])
-AC_SUBST([libdir exec_prefix prefix])
+AC_SUBST([libdir])
+AC_SUBST([exec_prefix])
+AC_SUBST([prefix])
+
# Man page sections - used in config utils & generating man pages
XORG_MANPAGE_SECTIONS
I have other paches, but I couldn't find them. When I do, I'll post the rest
Last edited by thisab (2008-09-28 17:27:18)

I'm using the /var/abs PKGBUILD's and copying them to my home directory. Then I compile with makepkg.
It's a hard work, since I was doing it one by one, starting from the core packages and up.  Some of them are giving me some headaches, like Xgl. Xgl seems to miss headers from Xorg 7.0.2 (arch uses 7.0.3). With these problematic packages I had to search for a patch or a new version. With the Xgl I didnt find a solution yet. I wanted those compiz-fusion effects..
Also worth to note, some PKGBUILD files have options like --without-sse that may hinder speed.:/
Aswering your question, I could notice a considerable increase in speed. Some apps open quite faster. And I'm using conservative CFLAGS (-march=core2 -fomit-frame-pointer -O2).
obsrv wrote:How did you recompile whole system? is there a performance increase?

Similar Messages

  • Labwindows recompiles files when I switch from the development environment to another application

    I am writing a labwindows driver, but having issues with the environment itself.  I am able to compile the .c file for the driver, and my panels are working.  I am having problems with labwindows recompiling the .c file even though nothing has changed.  It is a random problem that I have seen before, but never managed to get around.  The problem shows up in a variety of instances.
    I.E.  While in interactive execution, I can click on another application on the taskbar (internet explorer, email, etc.)  and labwindows displays a message that the c file is being recompiled.  Nothing in the file changed!  Why does it try and recompile when it is simply losing focus?  This is 'random'.  Just when I think I have found a way to reliably reproduce the issue, it quits recompiling when I switch applications.  I have tried playing with the build options, but haven't had any repeatable success.  I even tried to enable the -o option, but is still recompiles the file.  (maybe -o won't work on a driver since it won't build without a main?)  I have even had issues with calling printf in a function during interactive execution.  It recompiles the c file for no apparent reason right after the stdio window prints the message.  At this point, the stdio window closes, and labwindows pops up the compiling message again.  It kills my interactive session, and I have to redeclare all of my variables to continue checking out my driver.
    I see the same issue randomly when I go back to the project from another application. (Click on labwindows in the taskbar, and it immediately compiles the c file.)
    I have seen this in other projects, and it appears that the issue is limited to instrument drivers.  When labwindows pops up the message that it is compiling files it is almost always a driver that is loaded as an instrument.  I played with unloading the instrument but leaving the .fp in the project, but I don't think that worked. (It has been awhile since I tried to figure this out.)  When working on a driver, it would be difficult to unload the .fp or not load the instrument anyway.
    (I just clicked on labwindows in the taskbar to see if I left anything out.  Labwindows popped up the message that it was compiling the c file.  It appears that I can go back and forth between the labwindows icon in the taskbar and the cvi icon ~15-20 times and then labwindows will recompile the file.  I even walked away from my computer for a couple of minutes, and it compiled when I came back and clicked on the labwindows icon.) 
    I am running labwindows 9.1 (but have seen this on 8 also)
    The files are on a network drive.
    (Could it be mcaffee or some network security stuff confusing labwindows?)

    My pc is currently running Windows XP sp3.
    I first saw this issue when I went from LabWindows 7.1? to 8.1?   I am sure that I had the issue in 8.1 
    I was able to reproduce the issue in production on a pc running windows 2000.  (Which is what I had at my desk previously, and had seen the issue.)
    I asked another member of the test engineering group, and I am not the only one seeing the issue.
    One of the earlier replies mentioned the auto save feature.  When I went to production to see if I could reproduce the problem there, I opened CVI and explorer.  I wanted to check the time-date stamp on the .c file that keeps recompiling.  The time-date stamp was a day old, and did not change when the period of time for auto save was passed.  (It probably would if I made changes but didn't save the file?)  I was able to switch back and forth between the explorer window and cvi, and the file would recompile.  I played with turning off the auto save, enabling the build status window, making the -o option compatible with cvi 5.0, displaying the build status column, etc.  It appeared at one point that it had quit recompiling when switching between applications.  I went back to my desk, and tried to match the settings, but never reached the same conclusion.
    There is not anything special about the project I am working on.  It is a labwindows driver for a pxi module.  There are only three files in the project, the .c .h and .fp.  The .c file keeps getting recompiled at seemingly random times.  It is especially frustrating during interactive execution while testing my code/function panels.  If I switch to another application and back, I almost always have to start over because compiling the file closes the interactive execution.  I have to redeclare all of the variables, and re-run any of the setup panels that are required.  (I have to open the DRM, load the module fpga/dac, and then I can run the panel I am actually trying to test.)  I have similar problems when trying to troubleshoot with printf statements, as it seems to recompile when focus switches to the stdio window.  I have resorted to a test project, where I can add the function calls and skip having to do any work via interactive execution.
    I haven't been able to find anyone outside of where I work reporting the same issue.  Maybe it has something to do with IT/viruscan/etc.  It is definately a strange issue.
    (I have switched back to CVI several times while writing this, and the .c filed recompiled about 20% of the time.  At one point,  I had left the build options dialog open when switching back and forth.  I did not change any options, but the .c file recompiled when I closed the options window?)
    Occasionally, when I see what appears to be the recompile message flash up, my interactive execution does not halt.  I.E. I don't have to redeclare my variables.  It is sometimes hard to see what the message says, you just see a dialog box pop up and disapear really quickly. 

  • "How long does it take to do a dist-upgrade on your distro?"

    Yesterday there was a question in the USALUG.org "How long does it take to do a dist-upgrade on your distro?"
    This question was a good question, so I decide to make the ultimate test. I have a lot of computers standing here around, and remembered that on one of them was have already Archlinux installation. I was right, when I booted, the system check said me, that the system was 253 days not checked anymore. I got so excited that I forgot to check was it one of my 0.7.2 Gimmick or 0.8 Voodoo installations.
    The Computer
    Dell OptiPlex GX110
    [jada@arch-02 ~]$ cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 8
    model name : Pentium III (Coppermine)
    stepping : 6
    cpu MHz : 797.452
    cache size : 256 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat p se36 mmx fxsr sse up
    bogomips : 1596.45
    clflush size : 32
    [jada@arch-02 ~]$
    I used the following command for the update
    $ time pacman -Syu
    The Test
    first update pacman
    [root@arch-02 jada]# pacman -Syu
    warning: current locale is invalid; using default "C" locale
    :: Synchronizing package databases...
    core 23.8K 80.0K/s 00:00:00 [#####################] 100%
    extra 310.5K 292.3K/s 00:00:01 [#####################] 100%
    community 341.0K 295.8K/s 00:00:01 [#####################] 100%
    :: Starting full system upgrade...
    :: Replace mktemp with core/coreutils? [Y/n] y
    :: Replace mpg321 with extra/mpg123? [Y/n] y
    warning: bind: forcing upgrade to version 9.4.2-1
    warning: cpufrequtils: forcing upgrade to version 002-3
    warning: dnsutils: forcing upgrade to version 9.4.2-1
    warning: flex: forcing upgrade to version 2.5.33-4
    warning: opera: forcing upgrade to version 9.25-2
    :: pacman has detected a newer version of the "pacman" package.
    :: It is recommended that you allow pacman to upgrade itself
    :: first, then you can re-run the operation with the newer version.
    :: Upgrade pacman first? [Y/n] y
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: libarchive-2.4.11-1 libdownload-1.3-1 pacman-3.1.1-1
    Total Package Size: 1.19 MB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    libarchive 314.8K 253.4K/s 00:00:01 [#####################] 100%
    libdownload 49.4K 97.9K/s 00:00:01 [#####################] 100%
    pacman 855.2K 460.4K/s 00:00:02 [#####################] 100%
    checking package integrity... done.
    cleaning up... done.
    (3/3) checking for file conflicts [#####################] 100%
    (1/3) upgrading libarchive [#####################] 100%
    (2/3) upgrading libdownload [#####################] 100%
    (3/3) upgrading pacman [#####################] 100%
    >>> The makepkg.conf syntax has changed, please note the new format
    >>> when merging the pacnew file with your old configuration.
    >>>
    >>> The pacman.conf default file has changed. Please update your
    >>> config to use the single mirrorlist, and any additional files
    >>> in /etc/pacman.d/ (core, extra, etc.) can be deleted.
    >>>
    >>> The location of sync DBs has moved from /var/lib/pacman/ to
    >>> /var/lib/pacman/sync/ for several reasons. To delete older
    >>> DBs, please run pacman -Sc and follow the instructions.
    >>> You will also have to run pacman -Sy to refresh the sync DBs.
    >>>
    >>> abs is no longer included; please install the 'abs' package
    >>> to use abs. You may need to edit abs.conf to re-enable repos.
    [root@arch-02 jada]#
    restart pacman 3.1.1 and update the packages
    [root@arch-02 jada]# time pacman -Syu
    :: Synchronizing package databases...
    core 23.8K 80.3K/s 00:00:00 [#####################] 100%
    extra 310.5K 261.1K/s 00:00:01 [#####################] 100%
    community 341.0K 302.5K/s 00:00:01 [#####################] 100%
    :: Starting full system upgrade...
    :: Replace mktemp with core/coreutils? [Y/n] y
    :: Replace mpg321 with extra/mpg123? [Y/n] y
    warning: bind: forcing upgrade to version 9.4.2-1
    warning: cpufrequtils: forcing upgrade to version 002-3
    warning: dnsutils: forcing upgrade to version 9.4.2-1
    warning: flex: forcing upgrade to version 2.5.33-4
    warning: opera: forcing upgrade to version 9.25-2
    resolving dependencies...
    warning: dependency cycle detected:
    warning: bash will be installed before its glibc dependency
    warning: dependency cycle detected:
    warning: readline will be installed before its glibc dependency
    warning: dependency cycle detected:
    warning: ncurses will be installed before its glibc dependency
    warning: dependency cycle detected:
    warning: db will be installed before its coreutils dependency
    looking for inter-conflicts...
    Remove: mktemp mpg321
    Total Removed Size: 0.08 MB
    Targets: ncurses-5.6-6 readline-5.2-7 bash-3.2.033-2
    kernel-headers-2.6.23.1-2 tzdata-2007k-1 glibc-2.7-7 attr-2.4.39-2
    acl-2.2.45-2 cracklib-2.8.10-5 gcc-libs-4.2.3-3 db-4.6.21-2
    pam-0.99.9.0-2 shadow-4.0.18.2-2 coreutils-6.10-2 libtool-1.5.26-1
    mpg123-1.2.0-1 fontconfig-2.5.0-1 zlib-1.2.3-4 libpng-1.2.24-1
    cairo-1.4.14-1 libtasn1-1.3-1 lzo2-2.02-3 libgpg-error-1.6-1
    libgcrypt-1.4.0-1.1 opencdk-0.6.6-1 gnutls-2.0.4-1 libcups-1.3.5-1
    pcre-7.6-2 glib2-2.14.5-1 pango-1.18.4-1 gtk2-2.12.7-1
    binutils-2.18-5 gmp-4.2.2-2 mpfr-2.3.1-1 gcc-4.2.3-1
    glproto-1.4.9-1 libgl-7.0.3rc1-1 mesa-7.0.3rc1-1 acroread-8.1.2-1
    dialog-1.1_20071028-1 pciutils-2.2.8-3 alsa-utils-1.0.15-2
    e2fsprogs-1.40.4-1 apr-1.2.12-1 gdbm-1.8.3-5 apr-util-1.2.12-1
    openssl-0.9.8g-2 apache-2.2.8-1 jack-audio-connection-kit-0.109.0-1
    kde-common-3.5.8-3 libxmu-1.0.4-1 qt3-3.3.8-6.1 arts-1.5.8-2
    diffutils-2.8.1-5 gawk-3.1.6-2 m4-1.4.10-3 autoconf-2.61-3
    perl-5.8.8-9 automake-1.10.1-2 filesystem-2007.11-6 avahi-0.6.20-3
    bftpd-2.1-1 bin86-0.16.17-3 dnsutils-9.4.2-1 bind-9.4.2-1
    bison-2.3-4 bluez-libs-3.24-1 libusb-0.1.12-3 bluez-utils-3.24-2
    bridge-utils-1.2-2 bzip2-1.0.4-3 cairomm-1.4.6-1 cmake-2.4.8-1
    cpio-2.9-3 sysfsutils-2.1.0-4 cpufrequtils-002-3
    device-mapper-1.02.24-1 popt-1.10.6-3 cryptsetup-1.0.5-5
    csup-20060318-5 cups-1.3.5-1 curl-7.18.0-1 dbus-qt3-0.62-3
    dcron-3.2-3 dhcpcd-3.2.0-1 dmapi-2.2.8-3 libxml2-2.6.31-1
    docbook-xsl-1.73.2-1 dosfstools-2.11-2 dvd+rw-tools-7.0-4 ed-0.8-3
    enlightenment-0.16.8.11-1 gnome-desktop-2.20.3-1 eog-2.20.4-1
    libidl2-0.8.10-1 mozilla-common-1.1-2 xulrunner-1.8.1.11-1
    epiphany-2.20.3-1 eventlog-0.2.5-2 ghostscript-8.61-1
    gnome-keyring-2.20.3-1 libsasl-2.1.22-5 libldap-2.3.39-2
    smbclient-3.0.28A-1 gnome-vfs-2.20.1-1 libdjvu-3.5.20-1
    poppler-0.6.3-1 poppler-glib-0.6.3-1 evince-2.20.2-1 evms-2.5.5-5
    libsoup-2.2.104-1 evolution-data-server-1.12.3-1 exiv2-0.15-1
    faad2-2.6-1 grep-2.5.3-3 sed-4.1.5-3 fakeroot-1.9.2-1 fbset-2.1-2
    file-4.23-1 file-roller-2.20.3-1 findutils-4.2.32-1
    firefox-2.0.0.12-1 flashplugin-9.0.115.0-2 flex-2.5.33-4
    font-bitstream-speedo-1.0.0-4 font-misc-ethiopic-1.0.0-4
    font-misc-meltho-1.0.0-4 freeglut-2.4.0-3 freetype1-1.3.1-4
    glib-1.2.10-7 gtk-1.2.10-8 imlib-1.9.15-4 libstroke-0.5.1-2
    fvwm-2.4.20-2 gail-1.20.2-1 gc-7.0-2 gdb-6.7.1-1
    gtksourceview2-2.0.2-1 libgnomecups-0.2.3-1 libgnomeprint-2.18.3-1
    libgnomeprintui-2.18.2-1 python-2.5.1-5 pygobject-2.14.1-1
    pygtk-2.12.1-1 gedit-2.20.4-1 gen-init-cpio-2.6.17-3
    gettext-0.17-1 librsvg-2.20.0-1 gimp-2.4.4-1 gkrellm-2.3.1-2
    glibmm-2.14.2-1 gmime-2.2.16-1 gnokii-0.6.22-3
    gnome-menus-2.20.3-1 libwnck-2.20.3-1 gnome-panel-2.20.3-1
    gstreamer0.10-0.10.15-1 gstreamer0.10-base-0.10.15-1
    gstreamer0.10-alsa-0.10.15-1 gucharmap-1.10.2-1 libgtop-2.20.1-1
    gnome-applets-2.20.1-1 metacity-2.20.2-1 libbeagle-0.3.0-3
    nautilus-2.20.0-4 gnome-control-center-2.20.3-1
    gnome-python-2.20.1-1 gnome-python-desktop-2.20.0-3 guile-1.8.3-1
    gnome-games-2.20.3-1 gnome-power-manager-2.20.2-1
    tcp_wrappers-7.6-8 gnome-session-2.20.3-1 gtkmm-2.12.3-1
    gnome-system-monitor-2.20.2-1 vte-0.16.12-1 gnome-terminal-2.18.4-1
    gnome-utils-2.20.0.1-2 gnupg-1.4.8-1 libassuan-1.0.4-1
    gnupg2-2.0.8-1 gpgme-1.1.6-1 gpm-1.20.1-7 groff-1.19.2-4
    grub-0.97-9 gstreamer0.10-cdparanoia-0.10.15-1
    gstreamer0.10-gnomevfs-0.10.15-1 gstreamer0.10-ogg-0.10.15-1
    gstreamer0.10-vorbis-0.10.15-1 gtkhtml-3.16.3-1 gutenprint-5.0.2-1
    vi-7.1.228-1 vim-7.1.228-1 gvim-7.1.228-1 gzip-1.3.12-4
    hal-info-0.20071212-1 hdparm-7.7-3 usbutils-0.73-5 wget-1.11-1
    hwd-5.3.2-1 hwdetect-0.9-1 icewm-1.2.35-1 ifenslave-1.1.0-3
    imagemagick-6.3.8.0-1 intltool-0.37.0-1 iproute-070710-3
    iptables-1.3.8-2 iputils-20070202-4 isdn4k-utils-3.2p1-3
    jfsutils-1.1.12-2 jre-6u3-2 kbd-1.12.20070827-2 kdelibs-3.5.8-4
    lm_sensors-3.0.1-1 xorg-xauth-1.0.2-1 kdebase-3.5.8-3
    qscintilla-qt3-1.7.1-2 kdebindings-3.5.8-2 libgphoto2-2.4.0-4
    poppler-qt3-0.6.3-1 kdegraphics-3.5.8-3 sqlite3-3.5.6-1
    libopensync-0.34-1 kdepim-3.5.8-2 klibc-1.5-3 klibc-extras-2.3-1
    klibc-udev-116-2 klibc-module-init-tools-3.2.2-1
    mkinitcpio-0.5.17-2 module-init-tools-3.2.2-5 kernel26-2.6.24.1-2
    less-418-1 lftp-3.6.3-1 libao-0.8.8-2 orbit2-2.14.12-1
    libbonobo-2.20.3-1 libcdio-0.79-1 libelf-0.8.10-3 libevent-1.3d-2
    libgdiplus-1.2.6-1 libmikmod-3.1.12-1 libmysqlclient-5.0.51-2
    libpcap-0.9.8-2 libsamplerate-0.1.2-4 libtar-1.2.11-3
    libxfont-1.3.1-2 licenses-2.3-1 lilo-22.8-2 links-2.1pre33-1
    logrotate-3.7.5-1 lua-5.1.3-1 lvm2-2.02.33-1 mailx-8.1.1-5
    make-3.81-3 man-1.6f-2 man-pages-2.77-1 mdadm-2.6.4-1
    mono-1.2.6-1 mutt-1.5.17-4 mysql-clients-5.0.51-3 mysql-5.0.51-3
    nano-2.0.7-1 net-tools-1.60-13 netkit-ftp-0.17-4
    netkit-telnet-0.17-7 nfsidmap-0.20-2 portmap-6.0-2
    nfs-utils-1.1.0-3 ngrep-1.45-4 nmap-4.53-1 ntp-4.2.4p4-4
    openssh-4.7p1-6 openvpn-2.0.9-3 opera-9.25-2 orca-2.20.3-1
    patch-2.5.4-4 pcmciautils-014-3 php-5.2.5-3 pilot-link-0.12.3-1
    pine-4.64-4 pkgconfig-0.22-3 procps-3.2.7-4 libx86-0.99-1
    vbetool-1.0-2 pm-utils-0.99.4-1 qt-4.3.3-4 poppler-qt-0.6.3-1
    postgresql-libs-8.2.6-1 postgresql-8.2.6-1 ppp-2.4.4-6
    procinfo-19-2 psmisc-22.6-1 qca-2.0.0.svn744387-1.1 qca-qt3-1.0-1
    qca-tls-1.0-5 qscintilla-2.1-3 reiserfsprogs-3.6.20-3
    rp-pppoe-3.8-2 rsync-2.6.9-4 samba-3.0.28A-1 screen-4.0.3-5
    seahorse-2.20.3-1 shared-mime-info-0.23-1 sudo-1.6.9p12-1
    sysklogd-1.5-1 syslog-ng-2.0.6-1 util-linux-ng-2.13.0.1-2
    sysvinit-2.86-4 taglib-1.4.0.svn744384-1 tar-1.19-2 tcl-8.5.1-1
    tcpdump-3.9.8-1 tcsh-6.15.01-1 thunderbird-2.0.0.9-2 tk-8.5.1-1
    totem-plparser-2.21.91-1 totem-2.20.1-3 ttf-dejavu-2.23-1
    udev-116-3 unichrome-dri-7.0.3rc1-1 unzip-5.52-3
    vorbis-tools-1.1.1-7 which-2.19-2 whois-4.7.24-1
    wireless_tools-29-2 wireshark-0.99.7-1 wpa_supplicant-0.5.9-1
    xaw3d-1.5-4 xchat-2.8.4-2 xf86-input-evdev-1.2.0-1
    xf86-input-joystick-1.3.1-1 xf86-video-ati-6.7.197-2
    xf86-video-mga-1.9.100-2 xf86-video-nv-2.1.7-1
    xf86-video-s3virge-1.9.1-9 xf86-video-savage-2.1.3-2
    xf86-video-sis-0.9.4-2 xfsprogs-2.9.4-2 xfsdump-2.2.46-3
    wavpack-4.41.0-3 xine-lib-1.1.10-1 xinetd-2.3.14-3
    xkeyboard-config-1.1-1 xmms-1.2.11-1 xorg-server-1.4.0.90-6
    xorg-xinit-1.0.7-3 xscreensaver-5.04-2 yelp-2.20.0-3
    zenity-2.20.1-1
    Total Download Size: 743.90 MB
    Total Installed Size: 748.87 MB
    Proceed with installation? [Y/n]
    Proceed with installation? [Y/n] y
    :: Retrieving packages from core...
    ncurses-5.6-6-i686 1738.2K 518.0K/s 00:00:03 [#####################] 100%
    readline-5.2-7-i686 271.5K 228.3K/s 00:00:01 [#####################] 100%
    bash-3.2.033-2-i686 407.1K 299.1K/s 00:00:01 [#####################] 100%
    kernel-headers-2.6.2... 621.6K 376.8K/s 00:00:02 [#####################] 100%
    tzdata-2007k-1-i686 610.7K 329.0K/s 00:00:02 [#####################] 100%
    xorg-server-1.4.0.90... 7.4M 659.0K/s 00:00:11 [#####################] 100%
    xorg-xinit-1.0.7-3-i686 14.4K 56.9K/s 00:00:00 [#####################] 100%
    xscreensaver-5.04-2-... 8.0M 655.2K/s 00:00:13 [#####################] 100%
    yelp-2.20.0-3-i686 603.4K 356.7K/s 00:00:02 [#####################] 100%
    zenity-2.20.1-1-i686 1896.3K 546.6K/s 00:00:03 [#####################] 100%
    :: Retrieving packages from community...
    freetype1-1.3.1-4 119.9K 129.5K/s 00:00:01 [#####################] 100%
    gkrellm-2.3.1-2 724.3K 411.1K/s 00:00:02 [#####################] 100%
    xmms-1.2.11-1 1945.1K 557.0K/s 00:00:03 [#####################] 100%
    checking package integrity...
    (349/349) checking for file conflicts [#####################] 100%
    ( 1/349) upgrading ncurses [#####################] 100%
    ( 2/349) upgrading readline [#####################] 100%
    ( 3/349) upgrading bash [#####################] 100%
    ( 4/349) upgrading kernel-headers [#####################] 100%
    ( 5/349) upgrading tzdata [#####################] 100%
    ( 6/349) upgrading glibc [#####################] 100%
    (340/349) installing wavpack [#####################] 100%
    (341/349) upgrading xine-lib [#####################] 100%
    (342/349) upgrading xinetd [#####################] 100%
    (343/349) upgrading xkeyboard-config [#####################] 100%
    (344/349) upgrading xmms [#####################] 100%
    (345/349) upgrading xorg-server [#####################] 100%
    :: Could not detect nvidia-utils on system
    :: Will attempt to use built-in libwfb
    (346/349) upgrading xorg-xinit [#####################] 100%
    (347/349) upgrading xscreensaver [#####################] 100%
    (348/349) upgrading yelp [#####################] 100%
    (349/349) upgrading zenity [#####################] 100%
    real 56m46.062s
    user 4m25.013s
    sys 1m46.520s
    [root@arch-02 jada]#
    And for your tread question.
    How long does it take to do a dist-upgrade on your distro?
    one hour
    real    56m46.062s
    user    4m25.013s
    sys     1m46.520s
    After reboot the system loads all new applications with out any problem. Later I replaced the intel-video driver "xf86-video-i810 1.7.4-6" with the driver xf86-video-intel 2.2.0-2. No problems at all.
    Archlinux rocks

    JaDa wrote:Archlinux rocks
    definitely. By contrast, here's a regular upgrade on my debian box -- out of the blue it's having some problem with one of the packages, and it's turning into a regular recursive nightmare.
    root@moe:~ # apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies.
    E: Unmet dependencies. Try using -f.
    root@moe:~ # apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies...Done
    The following extra packages will be installed:
    exim4-base exim4-daemon-light
    Suggested packages:
    exim4-doc-html exim4-doc-info eximon4 libmail-spf-query-perl
    The following packages will be upgraded:
    exim4-base exim4-daemon-light
    2 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.
    1 not fully installed or removed.
    Need to get 0B/1391kB of archives.
    After unpacking 8192B of additional disk space will be used.
    Do you want to continue [Y/n]?
    Preconfiguring packages ...
    dpkg: exim4-daemon-light: dependency problems, but removing anyway as you request:
    exim4 depends on exim4-daemon-light | exim4-daemon-heavy | exim4-daemon-custom; however:
    Package exim4-daemon-light is to be removed.
    Package exim4-daemon-heavy is not installed.
    Package exim4-daemon-custom is not installed.
    dpkg: error processing exim4-daemon-light (--remove):
    Package is in a very bad inconsistent state - you should
    reinstall it before attempting a removal.
    Errors were encountered while processing:
    exim4-daemon-light
    [ Rootkit Hunter version 1.3.0 ]
    File updated: searched for 152 files, found 131
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    root@moe:~ # apt-get install exim4-daemon-light
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies.
    exim4-daemon-light: Depends: exim4-base (>= 4.69) but 4.68-2 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    root@moe:~ #
    It's so "delicate" and temperamental compared to the no-nonsense, straightforward approach of Arch. If one little thing is off, the entire system has a hissy-fit and won't do anything until you hunt the internet high and low searching for a solution, encountering all the debian hawks along the way who are ready to rip your head off at the first suggestion that debian isn't directly from god and could have a problem. Imo, Arch is the best linx distro hands down. Nothing else even comes close.

  • Is Arch the best distro for a friend with a "computer curse?"

    Hey, guys!  I need some advise.  I have a friend who has a "computer curse."  It runs in his family as well.  Computers break down FAST in his house.  He was running Windows initially, but he switched to Linux because he kept getting NASTY viruses.  Viruses so nasty, I would often have to use Windows Repair Install.  Linux, obviously, eliminated that problem.  It created a new problem, though.  Linux constantly BREAKS on him!  To be more specific, he's been using Debian-based distros.  Ubuntu, Linux Mint, etc.  All of them have been breaking on him.  It's incredibly frustrating.
    I've used Arch many times before.  I absolutely love it, and I'm beginning to wonder if it would work for him (after I set it up for him, of course).  I'm worried, though, about two things directly related - package management, and the system breaking.  He ALWAYS finds a way to break the system.  ALWAYS.  I can lock down package management, but if I do that, he will go months and months without an update; increasing his chances of a breakage if a major security update is needed.  Is there a way to balance this out?

    I agree, debian stable is the winner choice for him. That's unbreakable without root perms. And I think anyone who uses linux for more then  a year, finishes at arch, debian or gentoo (and some insists on slackware). Reason is: full customizability, no company background (mp3 in fedora/suse add repos issue) basic configs didn't variated, gentoo+arch:stable rolling release (innovations 5 years later even with this install, imagine you installed an xp in 2001 and now that install is a win7), debian: stable till die (but out of date)
    I killed my first 2 ubuntus one and a half a year ago, and I made panicing kernel half a year ago in gentoo, which even paniced other linux installers if that hard drive was plugged in
    If the guy loves innovations, you can set him up arch (or maybe the chakra project) but I basically say, the perfect solution is debian lenny with stable kde3. Old but more stable then anything I've ever seen, and fast (even on an 800Mhz 128 mb ram laptop)
    And another advise: don't install him sudo. He may know google too well to use it
    Last edited by Vegita (2010-01-02 19:47:03)

  • How to recompile a single JSP in WLS10.3 running in production mode

    In OAS there was a parameter...something like ?precompile=true which would force recompile of a JSP. Does anyone know any equivalent setting in WLS? We are running in production mode, but there are cases where we need to make a JSP change to fix an issue. And I dont want to have to run the server in development mode.
    Thanks

    Just an update...It cannot be done. Even if you compile the class manually and put it in place of the old class, it will not take effect. The WLS must cache the classes in production mode, which makes perfect sense. Just a pain.

  • To find out files to be recompiled

    Hi All,
    Suppose I have hundreds of source files in a number of packages. Suppose some file in a package has changed. How do I find out which of the classes in the whole project have to be recompiled ?
    I do not want to do an entire rebuild.
    * Is there any tool which does this ?. I found that ANT tool will NOT do this, because it looks only at the timestamp and will not go inside code and look for dependency information.
    Thanks
    Ratheesh

    I'm not an Ant expert, but I'm pretty sure that you have to describe the dependencies yourself. Just like Make, which is another option. There are a lot of build tools in this world. I've yet to hear of one which doesn't require you to specify the dependencies, but maybe I'm just living in a fog.

  • Is there a way to open a LV 7.0 file in LV 6.0 so I can 'recompile' it in 6.0 ?

    I have some mathematical code I got from a colleague at work. He writes in LabView 7.0 and I write in Labview 6.0. I would like to somehow open this file and 'recompile' it in LabView 6.0 so I can re-use the code without having to re-enter it all in LabView 6.0.
    Is there any way to do this?

    With the Save with Options selection from the file menu, you can do a save to the previous version. 7.0 can save to 6.1 and 6.1 can save to 6.0. If your colleague doesn't have 6.1, post you code here and I'm sure someone will do the conversion for you as long as there's nothing in the 7.0 code that would prevent it. There's always the possiblity that the 7.0 program uses some featrue that isn't present in 6.0.

  • LD_ASSUME_KERNEL does not work in recent distros. How to avoid?

    LD_ASSUME_KERNEL=2.4.XX does not work in all recent distros.
    $ export LD_ASSUME_KERNEL=2.4.20
    $ ls
    ls: error while loading shared libraries: librt.so.1: cannot open shared object
    EBS contains very old cmponents like MWA wich not compiled without this setting. How to avoid errors?

    You can unset LD_ASSUME_KERNEL and EBS 11i (11.5.9 and 11.5.10) will work fine on 2.6.16 kernels (SLES-10 and RH 5.0).
    The following instructions should get you going:
    1) Setup the environment as you would for running Applications on RH 4 or SLES9
    I.E. follow Oracle Applications Installation Update Notes, Release 11i (11.5.10.2)
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=316806.1
    2) Remove any LD_ASSUME_KERNEL references in O/S /etc/profile.d files
    3) Comment out LD_ASSUME_KERNEL entries in $ORACLE_HOME/appsutil/bin/adgetlnxver.sh and $AD_TOP/bin/adgetlnxver.sh
    if [ ${setflag}x = "x" -a $os = "Suse" ]; then
    # LD_ASSUME_KERNEL="2.4.21"
    # export LD_ASSUME_KERNEL
         os="Suse"
    fi
    if [ ${setflag}x = "x" -a $os = "RH" ]; then
    # LD_ASSUME_KERNEL="2.4.19"
    # export LD_ASSUME_KERNEL
         os = "RH"
    fi
    If doing a rapid install, the database startup will fail and rapidwiz will prompt to ignore or retry. At this point, edit $ORACLE_HOME/appsutil/bin/adgetlnxver.sh as shown above and click on retry. It will then run to the autoconfig step at the end and error out. Just hit cancel, edit $AD_TOP/bin/adgetlnxver.sh and run autoconfig.
    On Suse, one needs compat-gdbm for libgdbm.so.2
    rpm -Uhv compat-gdbm-1.8.0-7.i586.rpm
    Preparing... ########################################### [100%]
    1:compat-gdbm ########################################### [100%]
    Also in /usr/lib run ln -s libdb.so.2 libdb.so.3
    Ref:
    Note:300807.1 for Suse
    create symbolic link called libdb.so.2 pointing to libdb.so.3, as follows:
    $ cd /usr/lib
    $ ln -s libdb.so.3 libdb.so.2 (or install db1-1.85-85.1 which does the same)
    Note:294043.1 for Red Hat
    As per an internal Bug 4045349, this is an issue with O/S side installation of compat-db rpm.
    libdb.so.3 gets installed when compat-db rpm is installed.
    - The O/S installation CD would contain compat-db
    e.g compat-db-4.1.25-6.i386.rpm ( may change as per your version ).
    - Manually install the compat-db rpm
    e..g "rpm -ivh compat-db-4.1.25-6.i386.rpm"
    OR
    Note:345172.1
    A library is missing: libdb.so.2 is from gnome-libs-1.4.1.2.90-34.1.i386.
    This error also occurs in SLES9, same cause, slightly different resolution. SLES9 comes with libdb.so.3 and libdb.so.4 but not libdb.so.2 - need to install db1-1.85-85.1 to get libdb.so.2.
    4) In order to relink cplex library executables (MSC, MSO, MSR, MST, WIP, etc), edit $AD_TOP/bin/adrelinknew.sh and add the following LD option (-Wl,--noinhibit-exec) in the LINUX section:
    LINUX)
    LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -ldl'
    DEBUG_LDFLAGS='-g -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -ldl'
    exe_line='ELF .*executable'
    SHRLIB_LD='gcc'
    LD='gcc'
    SHRLIB_LDFLAGS='-L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -shared'
    if test -f "/etc/redhat-release"; then
         CPP_LIBS='/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so'
    elif test -f "/etc/SuSE-release"; then
         CPP_LIBS='/usr/lib/libstdc++.so.2.9'
    else
    CPP_LIBS=''
    fi
    CPP='g++'
    CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs
    set CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs
    to CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -Wl,--noinhibit-exec'
    After this chance, you can apply any MRP, ASCP patch and all executables will relink correctly. You can also use adadmin to relink all executables and it completes without error.
    5) Discoverer 4.1.38.08 Follow Metalink Note 280598.1 Discoverer 4i On Linux: Required Patch and Configuration for Discoverer Server Stability to use JDK 1.3.1 and oadj. I updated the autoconfig template files with this change after applying 3895177. Discoverer viewer and plus standard BIS reports all open correctly on SLES-10

  • EJB Stateless Session Bean how to recompile with "-deprecation" 10.1.2.0.2

    I have a EJB SLSB and I can deploy it to OC4J 10.1.2.0.2. However upon deployment OC4J is telling me:
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for detailsCan somebody tell me how I can make OC4J recompile EJBs with -deprecation set to true?

    I suppose you'd be the first to start screaming at
    them for all the bugs in the 10.1.3 production
    release, if the Oracle guys concentrated more on
    getting something out quickly rather than providing a
    reliable product.C'mon, the only reason I'm pushing this is the fact that from the (OTN) website it looks like 10.1.3 has been around for years, whereas the truth is that the actual production date is unknown. What I am experiencing around me is Oracle loosing credibility regarding Java/J2EE with their direct competitors already having J2EE 1.4 support. The project I'm currently involved in was forced to use 10.1.2.0.2 since it is the last production release of the Oracle Application Server. This is J2EE 1.3 technology which is fairly old stuff.
    And... yes I'm amongst other things a developer and well aware of the challenges that come with creating software. Although in our projects we like to keep a relatively clear scope and not cramp as much features as possible in a version, just to satisfy the checklists :-)

  • BUG: OC4J recompiled JSPs can not be debugged in JDev 10.1.3.2

    We are having problems on JSP which are modified while running on OC4J within JDev 10.1.3.2. The modified JSP are not correctly recompiled.
    A similar thread discussing this problem is here:
    Oracle JDeveloper 10.1.3.1's Internal OC4J JSP Recompile
    We consider this to be a problem that may be related more to OC4J than to JDev and therefore I am asking for suggestions in this forum.
    To explain what we observe:
    In JDev 10.1.3.1 we found that big/complex JSP would not recompile after changes were made while OC4J was running. The compiled JSP files under \.jsps\_web_2d_inf\... changed from myfile.class and myfile.java to myfile.class, myfile.java and (a new file) myfile.jpa.
    After installing JDev 10.1.3.2 we now observe that for any JSP that gets changed (also the small/simple ones) the constellation of three files (with the additional .jpa) gets created. Small files are compiled and can be used after changed in real time but code insight and variable inspection and modification needed for debugging no longer work. (Note that they worked on the unchanged file, and would work again if we stop and recompile the whole project).
    I could certainly appreciate if someone has found a solution to this problem as migrating back to a JDev version previous to 10.1.3.1 is not wanted.
    Thanks in advance!
    Gonzalo

    I have openned a SR with this issue.
    Does nobody else has this problem?
    To reproduce it try:
    Run any application in JDeveloper which contains a JSP file where a scriptlet declares
    and use some variables.
    Run the application and set a breakpoint after some of the variables. Call the JSP from the browser to start its execution and after stopping at the breakpoint inspect the variables content. It works, you can see the variable contents.
    Now make a change in the JSP (anything) and call it again from the browser without restarting OC4J.
    After stopping at the breakpoint you will see that the variables can no longer be inspected, their content is no longer available.
    Thanks for any suggestions,
    Gonzalo

  • Apache 2.2.3 recompilation problem with updated openssl

    I am trying to recompile an apache 2.2.3 with an updated openssl and stumble on httpd-2.2.3 make. I did compile this setup in the last year successfully, only difference is updated openssl.
    First, I installed openssl-0.9.6m from source. Test install:
    /usr/local/ssl/bin/openssl version
    OpenSSL 0.9.6m 17 Mar 2004
    Using following gcc version:
    gcc -v
    Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
    Configured with: ../configure with-as=/usr/ccs/bin/as with-ld=/usr/ccs/bin/ld enable-shared enable-languages=c,c++,f77
    Thread model: posix
    gcc version 3.4.6
    PATH output:
    echo $PATH
    /usr/sbin:/usr/bin:/usr/local:/usr/local/bin:/usr/ccs/bin:/usr/openwin/bin:/usr /dt/bin:/usr/platform/SUNW,Sun-Fire-V240/sbin:/opt/sun/bin:/opt/SUNWvts/bin
    This is my apache config options:
    ./configure enable-so enable-ssl enable-rewrite enable-proxy enable-proxy-balancer with-ssl=/usr/local/ssl
    make output:
    Making all in srclib
    Making all in pcre
    Making all in os
    Making all in unix
    Making all in server
    Making all in mpm
    Making all in prefork
    Making all in modules
    Making all in aaa
    Making all in filters
    Making all in loggers
    Making all in metadata
    Making all in proxy
    Making all in ssl
    In file included from /usr/local/ssl/include/openssl/ecdh.h:79,
    from /usr/local/ssl/include/openssl/engine.h:85,
    from ssl_toolkit_compat.h:45,
    from ssl_private.h:59,
    from mod_ssl.c:27:
    /usr/local/ssl/include/openssl/ossl_typ.h:79: error: redefinition of typedef 'ASN1_INTEGER'
    /usr/local/ssl/include/openssl/asn1.h:241: error: previous declaration of 'ASN1_INTEGER' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:80: error: redefinition of typedef 'ASN1_ENUMERATED'
    /usr/local/ssl/include/openssl/asn1.h:242: error: previous declaration of 'ASN1_ENUMERATED' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:81: error: redefinition of typedef 'ASN1_BIT_STRING'
    /usr/local/ssl/include/openssl/asn1.h:243: error: previous declaration of 'ASN1_BIT_STRING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:82: error: redefinition of typedef 'ASN1_OCTET_STRING'
    /usr/local/ssl/include/openssl/asn1.h:244: error: previous declaration of 'ASN1_OCTET_STRING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:83: error: redefinition of typedef 'ASN1_PRINTABLESTRING'
    /usr/local/ssl/include/openssl/asn1.h:245: error: previous declaration of 'ASN1_PRINTABLESTRING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:84: error: redefinition of typedef 'ASN1_T61STRING'
    /usr/local/ssl/include/openssl/asn1.h:246: error: previous declaration of 'ASN1_T61STRING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:85: error: redefinition of typedef 'ASN1_IA5STRING'
    /usr/local/ssl/include/openssl/asn1.h:247: error: previous declaration of 'ASN1_IA5STRING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:86: error: redefinition of typedef 'ASN1_GENERALSTRING'
    /usr/local/ssl/include/openssl/asn1.h:248: error: previous declaration of 'ASN1_GENERALSTRING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:87: error: redefinition of typedef 'ASN1_UNIVERSALSTRING'
    /usr/local/ssl/include/openssl/asn1.h:249: error: previous declaration of 'ASN1_UNIVERSALSTRING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:88: error: redefinition of typedef 'ASN1_BMPSTRING'
    /usr/local/ssl/include/openssl/asn1.h:250: error: previous declaration of 'ASN1_BMPSTRING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:89: error: redefinition of typedef 'ASN1_UTCTIME'
    /usr/local/ssl/include/openssl/asn1.h:251: error: previous declaration of 'ASN1_UTCTIME' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:90: error: redefinition of typedef 'ASN1_TIME'
    /usr/local/ssl/include/openssl/asn1.h:252: error: previous declaration of 'ASN1_TIME' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:91: error: redefinition of typedef 'ASN1_GENERALIZEDTIME'
    /usr/local/ssl/include/openssl/asn1.h:253: error: previous declaration of 'ASN1_GENERALIZEDTIME' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:92: error: redefinition of typedef 'ASN1_VISIBLESTRING'
    /usr/local/ssl/include/openssl/asn1.h:254: error: previous declaration of 'ASN1_VISIBLESTRING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:93: error: redefinition of typedef 'ASN1_UTF8STRING'
    /usr/local/ssl/include/openssl/asn1.h:255: error: previous declaration of 'ASN1_UTF8STRING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:94: error: redefinition of typedef 'ASN1_BOOLEAN'
    /usr/local/ssl/include/openssl/asn1.h:256: error: previous declaration of 'ASN1_BOOLEAN' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:95: error: redefinition of typedef 'ASN1_NULL'
    /usr/local/ssl/include/openssl/asn1.h:259: error: previous declaration of 'ASN1_NULL' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:107: error: redefinition of typedef 'BIGNUM'
    /usr/local/ssl/include/openssl/bn.h:241: error: previous declaration of 'BIGNUM' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:108: error: redefinition of typedef 'BN_CTX'
    /usr/local/ssl/include/openssl/bn.h:254: error: previous declaration of 'BN_CTX' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:109: error: redefinition of typedef 'BN_BLINDING'
    /usr/local/ssl/include/openssl/bn.h:264: error: previous declaration of 'BN_BLINDING' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:110: error: redefinition of typedef 'BN_MONT_CTX'
    /usr/local/ssl/include/openssl/bn.h:276: error: previous declaration of 'BN_MONT_CTX' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:111: error: redefinition of typedef 'BN_RECP_CTX'
    /usr/local/ssl/include/openssl/bn.h:288: error: previous declaration of 'BN_RECP_CTX' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:114: error: redefinition of typedef 'BUF_MEM'
    /usr/local/ssl/include/openssl/buffer.h:71: error: previous declaration of 'BUF_MEM' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:116: error: redefinition of typedef 'EVP_CIPHER'
    /usr/local/ssl/include/openssl/evp.h:330: error: previous declaration of 'EVP_CIPHER' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:117: error: redefinition of typedef 'EVP_CIPHER_CTX'
    /usr/local/ssl/include/openssl/evp.h:331: error: previous declaration of 'EVP_CIPHER_CTX' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:118: error: redefinition of typedef 'EVP_MD'
    /usr/local/ssl/include/openssl/evp.h:276: error: previous declaration of 'EVP_MD' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:119: error: redefinition of typedef 'EVP_MD_CTX'
    /usr/local/ssl/include/openssl/evp.h:328: error: previous declaration of 'EVP_MD_CTX' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:120: error: redefinition of typedef 'EVP_PKEY'
    /usr/local/ssl/include/openssl/evp.h:186: error: previous declaration of 'EVP_PKEY' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:122: error: redefinition of typedef 'DH'
    /usr/local/ssl/include/openssl/dh.h:78: error: previous declaration of 'DH' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:123: error: redefinition of typedef 'DH_METHOD'
    /usr/local/ssl/include/openssl/dh.h:93: error: previous declaration of 'DH_METHOD' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:125: error: redefinition of typedef 'DSA'
    /usr/local/ssl/include/openssl/dsa.h:87: error: previous declaration of 'DSA' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:126: error: redefinition of typedef 'DSA_METHOD'
    /usr/local/ssl/include/openssl/dsa.h:112: error: previous declaration of 'DSA_METHOD' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:128: error: redefinition of typedef 'RSA'
    /usr/local/ssl/include/openssl/rsa.h:76: error: previous declaration of 'RSA' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:129: error: redefinition of typedef 'RSA_METHOD'
    /usr/local/ssl/include/openssl/rsa.h:114: error: previous declaration of 'RSA_METHOD' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:131: error: redefinition of typedef 'RAND_METHOD'
    /usr/local/ssl/include/openssl/rand.h:76: error: previous declaration of 'RAND_METHOD' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:136: error: redefinition of typedef 'X509'
    /usr/local/ssl/include/openssl/x509.h:280: error: previous declaration of 'X509' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:137: error: redefinition of typedef 'X509_ALGOR'
    /usr/local/ssl/include/openssl/x509.h:130: error: previous declaration of 'X509_ALGOR' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:138: error: redefinition of typedef 'X509_CRL'
    /usr/local/ssl/include/openssl/x509.h:407: error: previous declaration of 'X509_CRL' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:139: error: redefinition of typedef 'X509_NAME'
    /usr/local/ssl/include/openssl/x509.h:176: error: previous declaration of 'X509_NAME' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:140: error: redefinition of typedef 'X509_STORE'
    /usr/local/ssl/include/openssl/x509_vfy.h:176: error: previous declaration of 'X509_STORE' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:141: error: redefinition of typedef 'X509_STORE_CTX'
    /usr/local/ssl/include/openssl/x509_vfy.h:157: error: previous declaration of 'X509_STORE_CTX' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:143: error: redefinition of typedef 'X509V3_CTX'
    /usr/local/ssl/include/openssl/x509v3.h:132: error: previous declaration of 'X509V3_CTX' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:144: error: redefinition of typedef 'CONF'
    /usr/local/ssl/include/openssl/conf.h:81: error: previous declaration of 'CONF' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:165: error: redefinition of typedef 'CRYPTO_EX_DATA'
    /usr/local/ssl/include/openssl/crypto.h:194: error: previous declaration of 'CRYPTO_EX_DATA' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:168: error: redefinition of typedef 'CRYPTO_EX_new'
    /usr/local/ssl/include/openssl/crypto.h:198: error: previous declaration of 'CRYPTO_EX_new' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:170: error: redefinition of typedef 'CRYPTO_EX_free'
    /usr/local/ssl/include/openssl/crypto.h:201: error: previous declaration of 'CRYPTO_EX_free' was here
    /usr/local/ssl/include/openssl/ossl_typ.h:172: error: redefinition of typedef 'CRYPTO_EX_dup'
    /usr/local/ssl/include/openssl/crypto.h:204: error: previous declaration of 'CRYPTO_EX_dup' was here
    In file included from /usr/local/ssl/include/openssl/engine.h:91,
    from ssl_toolkit_compat.h:45,
    from ssl_private.h:59,
    from mod_ssl.c:27:
    /usr/local/ssl/include/openssl/store.h:230: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:232: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:234: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:237: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:239: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:241: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:246: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:248: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:251: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:252: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:255: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:257: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:259: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:264: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:266: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:268: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:271: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:273: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:275: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:280: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:282: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:284: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:286: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:289: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:291: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:296: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:298: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:301: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:303: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:305: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:307: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:310: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:312: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:323: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:324: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:325: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:328: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:329: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:330: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:331: error: syntax error before "OPENSSL_ITEM"
    /usr/local/ssl/include/openssl/store.h:377: error: syntax error before '*' token
    In file included from ssl_toolkit_compat.h:45,
    from ssl_private.h:59,
    from mod_ssl.c:27:
    /usr/local/ssl/include/openssl/engine.h:624: warning: no semicolon at end of struct or union
    /usr/local/ssl/include/openssl/engine.h:624: error: syntax error before '*' token
    /usr/local/ssl/include/openssl/engine.h:627: error: syntax error before '}' token
    /usr/local/ssl/include/openssl/engine.h:627: warning: data definition has no type or storage class
    /usr/local/ssl/include/openssl/engine.h:660: error: syntax error before '*' token
    *** Error code 1
    The following command caused the error:
    /usr/local/apache2/build/libtool silent mode=compile gcc -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOU
    RCE -I/tmp/httpd-2.2.3/srclib/pcre -I. -I/tmp/httpd-2.2.3/os/unix -I/tmp/httpd-2.2.3/server/mpm/prefork -I/tmp/httpd-2.2.3/modules/http -I/t
    mp/httpd-2.2.3/modules/filters -I/tmp/httpd-2.2.3/modules/proxy -I/tmp/httpd-2.2.3/include -I/tmp/httpd-2.2.3/modules/generators -I/tmp/httpd-2
    .2.3/modules/mappers -I/tmp/httpd-2.2.3/modules/database -I/usr/local/apache2/include -I/tmp/httpd-2.2.3/modules/proxy/../generators -I/usr/loc
    al/ssl/include -I/usr/sfw/include -I/tmp/httpd-2.2.3/modules/ssl -I/tmp/httpd-2.2.3/modules/dav/main -prefer-non-pic -static -c mod_ssl.c && to
    uch mod_ssl.lo
    make: Fatal error: Command failed for target `mod_ssl.lo'
    Current working directory /tmp/httpd-2.2.3/modules/ssl
    *** Error code 1
    The following command caused the error:
    otarget=`echo all-recursive|sed s/-recursive//`; \
    list=' '; \
    for i in $list; do \
    if test -d "$i"; then \
    target="$otarget"; \
    echo "Making $target in $i"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-$target"; \
    fi; \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test "$otarget" = "all" && test -z 'libmod_ssl.la'; then \
    made_local=yes; \
    fi; \
    if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
    fi
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /tmp/httpd-2.2.3/modules/ssl
    *** Error code 1
    The following command caused the error:
    otarget=`echo all-recursive|sed s/-recursive//`; \
    list=' aaa filters loggers metadata proxy ssl http generators mappers'; \
    for i in $list; do \
    if test -d "$i"; then \
    target="$otarget"; \
    echo "Making $target in $i"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-$target"; \
    fi; \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test "$otarget" = "all" && test -z ''; then \
    made_local=yes; \
    fi; \
    if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
    fi
    make: Fatal error: Command failed for target `all-recursive'
    Current working directory /tmp/httpd-2.2.3/modules
    *** Error code 1
    The following command caused the error:
    otarget=`echo all-recursive|sed s/-recursive//`; \
    list=' srclib os server modules support'; \
    for i in $list; do \
    if test -d "$i"; then \
    target="$otarget"; \
    echo "Making $target in $i"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-$target"; \
    fi; \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test "$otarget" = "all" && test -z 'httpd '; then \
    made_local=yes; \
    fi; \
    if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
    fi
    make: Fatal error: Command failed for target `all-recursive'
    Any help appreciated

    I'm experiencing the same problem with the current DirecTV remote not being able to learn more than the first button prompted to enter (arrow-down). The error message "appletv has already learned this button" appears when attempting to enter the second button prompted (arrow-up). Furthermore, I have attempted configuration on two separate DirecTV HR21 remotes in both AV1 and AV2 modes.
    Come on Apple -- don't tease us! Testing wasn't done to make sure AppleTV can learn to respond to a current DirecTV remote? Yikes. I wonder what 3rd-party remotes were tested and confirmed to work.

  • Recompiling xf86-video-intel 2.9.0 against xorg-server 1.6.5

    When xf86-video-intel 2.9.0 will come into [extra], it will have been compiled against xorg-server 1.7.0 or later. I'll stay with 1.6.5 for the time being, and I want to know if I need to recompile xf86-video-intel. The sources (intel 2.9.0 and server 1.6.5) are compatible. Will the binaries be if video-intel was compiled against a different version of xorg-server?

    I have replaced xf86-video-intel by xf86-video-intel-legacy

  • New FaunOS Live Arch-Based DVD/USB Distro Now Available

    Hello fellow archers,
    We have just released the latest version of FaunOS. Since this version of FaunOS is the answer to the most important question in the universe, we have named it "fortytwo."
    FaunOS-fortytwo contains many improvements over previous releases and more packages (575 total). Improvements, in no particular order, include:
    - Improved wireless support, both wlassistant and knetworkmanager are now included.
    - Improved automatic X configuration with 3D acceleration.
    - Better boot splash support. We have moved to fbsplash which seems to work pretty consistently and has lead to a faster boot time.
    - A new boot option for quickly booting into a console-based system with no X windows.
    - A new boot option for machines that hang when booting from DVDs using piix modules.
    - Ability to save FaunOS session back to a multi-session DVD-+R or DVD-+RW.
    - Permanent Arch Linux Installer using archin.
    - Permanent FaunOS Installer for creating additional FaunOS USB drives from within FaunOS and for performing a "frugal" install to hard drive. Frugal install (not to be confused with Frugal Linux) installs the compressed FaunOS files to a hard drive permanently leading to an "unbreakable desktop" meaning the end user can totally ruin everything at runtime. To revert back to the starting point all the user has to do is reboot the machine and everything goes back to normal since all changes happen in ram, unless the FaunOS session is saved at boot time.
    - FaunOS is probably the only live distro that can perform two kinds of installations.
    - New added packages include: wlassitant, madwifi, firmware packages for ipw2100 and ipw2200, ndiswrapper, lynx for text-based web browsing, and kmobiletools accessing phone books and other information on mobile phones.
    - All packages have been upgraded to the latest from the Arch repos as of today, 8/27/2007.
    - And, most importantly, a new logo.
    We have also decided to stay away from the evil 2.6.22 kernel which seems to have created more bugs and headaches than introducing new features, no flame war intended. The latest 2.6.21-faunos kernel is based on the stock arch kernel with the addition of the fbsplash patch from genpatches.
    There are those people that may think FaunOS is bloated, but we like to think that it is a muscular and strong live Linux distribution, thanks to Arch. Of course keeping with Arch's KISS principal, we have tried to make FaunOS simple and easy enough for anyone to use.
    You can get the latest version at:
    http://www.faunos.com/downloads/faunos-fortytwo
    A new wiki has been created at http://wiki.faunos.com. Feel free to contribute and change the wiki as you wish.
    Our support and discussion forums can still be found at http://forum.faunos.com
    We can definitely use some mirrors for our downloads. We will also be creating a torrent shortly and can use some seeders. Please let us know either here or in the FaunOS forums if you can help in any way.
    We'll see ya at the FaunOS forums!
    So long and thanks for all the fish,
    Raymano

    We have simply used larch but with some additions and changes:
    - FaunOS uses a slightly modified version of larch with the added ability to build a live system from a preinstalled partition on the harddrive.
    - Added fbsplash capabilities to the initial initrd images and kernel.
    - Applications on FaunOS are preconfigured and integrated to work out of the box.
    - Some kernel specific modules/packages have been compiled for the FaunOS kernel, e.g. ndiswrapper.
    - All services are pre-configured to execute out of the box.
    - All available codecs are included.
    - 3D desktop using beryl is preconfigured to run on intel based graphics cards and some ATI cards with a click of a button.
    - Network management is simplified with use of knetworkmanager and wlassistant.
    - Storage are is included on the FaunOS device to share files with other platforms.
    - R/W access Windows parititions by clicking on an icon in KDE.
    - Common grub booting on USB and DVD. With multiple boot options for graphical and non-graphical system.
    - FaunOS's own mkxorgconf utility was added (using hwd) for better automatic configuration of graphics cards. This includes setting up AIGLX.
    - Easily performs frugal install of the live FaunOS system to hard drive, including saved overlays. This was not part of the original larch scripts.
    - Use of sudo to allow the user to perform certain system wide configuration tasks.
    - Integrated flash java and mplayer plugins for Firefox.
    - Ability to put a computer running FaunOS into sleep (suspend-to-ram), remove the FaunOS media, boot and work on other computers with the FaunOS device, return to the original computer, insert the FaunOS device, turn on the computer and continue working where you left off. This in not possible with latest Arch Linux because of the kernel.
    - And we believe, most importantly, you can hand a FaunOS DVD to a user with no knowledge of Linux and say go try this out.
    Last edited by raymano (2007-10-09 17:38:40)

  • Template recompilation issue in Sun C++ 5.8 Patch 121017-02 2006/04/19

    I am having problems with recompiling programs that use templates for the above version. The problem manifests itself in the following case.
    Suppose f1.cpp contains the implementation of template class t1. t1 is instantiated in f1.cpp as well as other files. I change f1.cpp and recompile. Only file f1.cpp is recompiled and the program is relinked. When I run the new program the code in f1.cpp still refers to the old implementation of t1. It's as if an old expansion of the template, present in some other .o is being used instead of the newly created implementation. If this is a 'design feature' of my compiler then how should I change my makefile to correct the dependencies?
    Much obliged,
    Adam

    Your makefile must reflect the actual file dependencies. If more than one file depends on the file containing the definition of t1, you need to express each dependency on that file.
    But your symptoms sound like you have violated the C++ One-Defintiion Rule. If different modules in a program see a different definition of what is supposed to be the same template instance, the results are undefined. No makefile change can fix that problem.
    Example:
    t1.h
    template<class T> class t1 { ... };
    f1.cpp
    #include " t1.h"
    template<> class t1<int> { ... }; // explicit specialization
    f2.cpp
    #include "t1.h"
    t1<int> t; // implicit specialization
    In this example, file f1 creates an explicit specialization t1<int> with its own definition. File f2 uses an implicit specialization based on the primvary template, because the explicit specialiation is not declared. The two modules have different ideas about what t1<int> means. To satisy the One-Definition Rule, the explicit specializaiton t1<int> must be declared or defined identically in every module that uses it. Usually you put at least the declaration in the header associated with t1.
    Versions of Sun C++ since Sun Studio 8 (C++ 5.5) use the "comdat" model of template instantiation. Every module that needs to create a template instance does so. At link time, all but one instance is discarded. Since the One-Definition Rule requires that all instances be identical, it does not matter which instance is retained.
    In your case, it sounds like you modified the definition of an instance in one file without affecting the definition of that instance in other files. Apparently the modified instance was discarded.

  • User defined function in PI 7.1 compilation error "Recompile with -Xlint"

    Hi All,
    I have a user defined function in PI 7.1 .,which is throwing the following error.
    Do i need to add any import statements like "import java.lang.String" in the beginning.
    It is unable to recognize the String methods used in the user defined function.
    E:\usr\sap\PID\DVEBMGS30\j2ee\cluster\server0\.\temp\classpath_resolver\Map02580a102a0911deb2b20019990eddfd\source\com\sap\xi\tf\_MM_C_to_Goods_.java:276:
    cannot find symbol
    symbol : method trim()
    location: class java.lang.Object
    if(container.getParameter("AdjustmentQuantity").trim().startsWith("-")){ ^
    Note: E:\usr\sap\PID\DVEBMGS30\j2ee\cluster\server0\.\temp\classpath_resolver\Map02580a102a0911deb2b20019990eddfd\source\com\sap\xi\tf\_MM_C_to_Goods_.java
    uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: E:\usr\sap\PID\DVEBMGS30\j2ee\cluster\server0\.\temp\classpath_resolver\Map02580a102a0911deb2b20019990eddfd\source\com\sap\xi\tf\_MM_C_to_Goods_.java
    uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    Any Help greatly appreciated..
    Collins

    container.getParameter() returns Object, not String.
    try following:
    String aq = (String) container.getParameter("AdjustmentQuantity");
    if(aq.trim().startsWith("-"))
    Regards
    Stefan

Maybe you are looking for

  • Aspect Ratio Change in FCPX?

    Hi. I'd like to change the native aspect ratio in a 6sec clip from 16x9 to 2.35:1 in FCPX so the bars appear at the beginning of the clip and slowly close in, reaching 2.35:1 at the end of the clip. Anyone know how this is done? Thanks

  • BT Yahoo Toolbar

    I am running Windows 7 and Internet Explorer 9 64 bit version but can't use the BT Yahoo Toolbar. Toolbar downloads and runs OK with the 32 bit version of IE9. Any ideas?

  • Bt on demand

    I keep on recieving the error message v04 when trying to watch bt on demand , at the moment following test i have just done the signal seems ok.

  • Join Open Directory from Windows xp

    Hello, I made Open Directory on Mac OS X Server and Mac users successfully joined my domain, no I need to configure my windows xp users to join the domain too, can anybody provide me how to do this.

  • Audio with buttons

    Hi, I am making a DVD up for some blind people and would like them to be able to navigate it themselves. I would like the buttons to play audio when they are in an activated state. I am no mean an expert in DVD studio pro and only have basic knowledg