Cp: cannot stat /usr/share/lxde/pcmanfm/pcmanfm.conf No such file

Hello, I have installed LXDE with pcmanfm. After installation, I ran:
exec ck-launch-session startlxde
but i got
cp: cannot stat /usr/share/lxde/pcmanfm/pcmanfm.conf No such file or directory
How can I resolve this problem?

zertyz wrote:
The reported "bug" still persists to date -- when following the LXDE Wiki article.
I "solved" by installing the package 'pcmanfm' and running the following commands:
mkdir -p /usr/share/lxde/pcmanfm
cp -a /etc/xdg/pcmanfm/default/pcmanfm.conf /usr/share/lxde/pcmanfm/pcmanfm.conf
[]s
Luiz.
I had to create a symbollic link to get my wallpaper to show up.
ln -s ~/.config/pcmanfm/defaut/pcmanfm.conf ~/.config/pcmanfm/pcmanfm.conf
Since both of the problems seem to me to be confined to archlinux (neither of the problems occur in a gentoo installation,) I would think that the bug should be reported to archlinux and not upstream.
Last edited by andrewthomas (2011-05-25 00:01:56)

Similar Messages

  • [SOLVED] ENOENT /usr/share/locale/en_AU.UTF-8/LC_MESSAGES/sudo.mo

    When running my ansible-playbooks, ansible is hanging. A strace shows it's trying to locate a "sudo.mo" file but is unsuccessul:
    ~ $ sudo strace -fp 2111
    Process 2111 attached
    select(18, [15 17], [], [15 17], {0, 643768}) = 0 (Timeout)
    stat("/usr/share/locale/en_AU.UTF-8/LC_MESSAGES/sudo.mo", 0x7fff6f9338f0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/locale/en_AU/LC_MESSAGES/sudo.mo", 0x7fff6f9338f0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/locale/en.UTF-8/LC_MESSAGES/sudo.mo", 0x7fff6f9338f0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/locale/en/LC_MESSAGES/sudo.mo", 0x7fff6f9338f0) = -1 ENOENT (No such file or directory)
    wait4(2298, 0x7fff6f933cfc, WNOHANG, NULL) = 0
    select(18, [15 17], [], [15 17], {1, 0}) = 0 (Timeout)
    stat("/usr/share/locale/en_AU.UTF-8/LC_MESSAGES/sudo.mo", 0x7fff6f9338f0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/locale/en_AU/LC_MESSAGES/sudo.mo", 0x7fff6f9338f0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/locale/en.UTF-8/LC_MESSAGES/sudo.mo", 0x7fff6f9338f0) = -1 ENOENT (No such file or directory)
    stat("/usr/share/locale/en/LC_MESSAGES/sudo.mo", 0x7fff6f9338f0) = -1 ENOENT (No such file or directory)
    wait4(2298, 0x7fff6f933cfc, WNOHANG, NULL) = 0
    Did this file go missing in a recent sudo package or something?
    Last edited by fukawi2 (2014-04-18 14:27:31)

    I've downgraded ansible to the previous version I had, and no change -- it hangs after the Gathering Facts stage.
    Further digging, it appears to be related to one host that is running SSH on a non-standard port. It accidentally ended up in my inventory file multiple times, some with and some without the port specification. Fixing that has resolved the issue -- not sure why strace showed it looping over the sudo file, or why it hasn't been a problem before
    Thanks for your input

  • Acroread 9.1.0 reads the full directory tree /usr/share/fonts

    Hi,
    I was wondering why the startup time of acroread is that high on my system (Debian 5.0). I have found out using strace that acroread reads the full content of the /usr/share/fonts/ directory tree (more than 4000 files) during startup in a quite inefficient way.
    First question: why does it read /usr/share/fonts during startup at all and is there a way to disable that behaviour?
    Second question follows: the ext3 requires that an application reading the full content of a directory should sort the file list numerically by inode number before opening the files. It is explained in http://bugzilla.kernel.org/show_bug.cgi?id=417 why the application should be fixed and not the kernel. Can acroread be changed to qsort() the file list between the calls of readdir() and open()?
    Cheers,
    Torsten

    Hello Torsten,
    Thanks for reporting the issue. Could you please let us know if you are opening acroread with a file(either by double clicking on it or giving it as a parameter to acroread). If yes, could you please see if launch time is still high when you do not open a file(launch acroread by clicking on the Desktop icon or launch it from console). Also, it would be helpful if you can mail the strace output to sanika at adobe dot com.
    As for reading the location, it is one of the standard font locations mentioned in /etc/fonts/fonts.conf. If you do not want acroread to use these fonts, you can set ACRO_DISABLE_FONT_CONFIG to 1 on console.
    If you do not want to set this variable every time you launch reader, you can search for "ACRO_DISABLE_FONT_CONFIG" in the launch script, uncomment the relevant section and save the script.
    However, I should warn you that Reader would not be able to use these fonts to display PDFs(substitute fonts would be used instead).
    Sincerely,
    Sanika

  • Libreoffice upgrade error: /usr/share/icons/locolor/... already exists

    In trying to upgrate libreoffice today, I get a bunch of errors about files in /usr/share/icons already existing. I checked a bunch and they weren't owned, so I started removing them using `updatedb` followed by `locate libreoffice` to track down those various icon folders and remove them. Unfortunately, the upgrade still fails with complaints about files already existing in /usr/share/icons/locolor/16x16 and ../32x32.
    The problem is that /usr/share/icons/locolor is completely empty. `sudo ls -la /usr/share/icons/locolor` returns nothing, and `locate libreoffice` doesn't get any hits at that location.
    Is there somewhere else pacman stores a cache or tmp file of what it thinks exists in the filesystem? I already did `pacman -Rsc libreoffice-common` and `pacman -Scc` to remove cached packages. No I'm simply trying to install fresh and I get the same errors.
    This is on a computer that I haven't used in quite some time... could a skip of some intermediate version of libreoffice have caused some issues in the various icon locations or package contents? I'm stumped as to why it would think something exists that doesn't
    Any suggestions?

    @Roken: re-read my post to see what the problem is. I have deleted any instances of libreoffice-* inside /usr/share/icons.
    The problem is that pacman is complaining about /usr/share/icons/locolor/.../libreoffice-* files that do not exist. /usr/share/icons/locolor empty and yet pacman thinks there's files in it!
    Per the rest of your comment, appreciated. I practice the same -- for libreoffice, I figure without it installed, I can delete anything to do with libreoffice (I had no custom setups, templates, etc.). I wouldn't dream of it with various libraries, as you mention, without checking the Arch website of forums first.
    So... how to figure out why pacman is seeing "ghost files"?

  • Files on XFS - cannot access, No such File or directory

    I've got a HTPC with 3 partitions formatted to XFS. The pc has MythTV as the backend and XBMC as the frontend, and really doesn't get used for much else. Lately I have been seeing faults with the XFS partitions, which are spread over two different HDDs. Everything else is ext4.
    $ sudo lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 55.9G 0 disk
    ├─sda1 8:1 0 94.1M 0 part /boot/grub
    ├─sda2 8:2 0 1.9G 0 part
    ├─sda3 8:3 0 1K 0 part
    ├─sda5 8:5 0 18G 0 part /
    ├─sda6 8:6 0 18G 0 part /mnt/ssdRootClone
    └─sda7 8:7 0 17.9G 0 part /mnt/archRootCinnamon
    sdc 8:32 0 1.4T 0 disk
    ├─sdc1 8:33 0 1K 0 part
    ├─sdc5 8:37 0 537.1G 0 part /home/david/Movies <----XFS
    ├─sdc6 8:38 0 634.8G 0 part /home/david/TVseries <---XFS
    └─sdc7 8:39 0 225.4G 0 part /home/david/Music
    sdb 8:16 0 698.7G 0 disk
    ├─sdb1 8:17 0 1K 0 part
    ├─sdb5 8:21 0 50G 0 part /mnt/archRootCinnamon/home
    ├─sdb6 8:22 0 598.6G 0 part /MythTV <---XFS
    ├─sdb7 8:23 0 30.2G 0 part /home
    └─sdb8 8:24 0 19.8G 0 part /home/david/Photos
    sr0 11:0 1 1024M 0 rom
    The kind of problem is (I've removed most of the output, but should be obvious what the problem is)
    $ ls -la /MythTV/Recordings
    ls: cannot access /MythTV/Recordings/Gandhi_02.02.2013.mkv: No such file or directory
    total 333404488
    drwxrwxr-x 2 mythtv users 28672 Jul 17 18:22 .
    drwxrwxr-x 14 mythtv users 4096 Apr 7 13:50 ..
    -rw-r--r-- 1 mythtv users 2087234697 Aug 9 2012 FrostNixon_08.07.2012.mkv
    -rw-rw-rw- 1 mythtv users 64744 Jan 16 14:39 FrostNixon_08.07.2012.mkv.png
    ?????????? ? ? ? ? ? Gandhi_02.02.2013.mkv
    -rw-rw-rw- 1 mythtv users 51156 Feb 3 18:22 Gandhi_02.02.2013.mkv.png
    I have unmounted these partitions, and ran
    sudo xfs_repair -v /dev/sdb6
    which seems to do the job, but it reappears again. I'm not sure how to reproduce the error as its happening on both disks. First time I noticed it was while using Thunar bulk rename tool. It refused to rename some files from lower case to uppercase first letter, then I saw the "???????". It may also happen after I delete a recording through XBMC, but not certain.
    So I installed smartmontools and did the short + conveyance test,
    $ sudo smartctl -H /dev/sdb
    [sudo] password for david:
    smartctl 6.1 2013-03-16 r3800 [x86_64-linux-3.0.85-1-lts-custom] (local build)
    Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    and
    $ sudo smartctl -l selftest /dev/sdb
    smartctl 6.1 2013-03-16 r3800 [x86_64-linux-3.0.85-1-lts-custom] (local build)
    Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
    === START OF READ SMART DATA SECTION ===
    SMART Self-test log structure revision number 0
    Warning: ATA Specification requires self-test log structure revision number = 1
    Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
    # 1 Short offline Completed without error 00% 11770 -
    # 2 Conveyance offline Completed without error 00% 11770 -
    Looking for help here!

    If you suspect drive issues, run the long test. The short and conveyance tests are hit and miss. Also check for SMART errors (smartctl -l error <dev>). A drive can pass tests and be in a 'PASSED' state for 'SMART overall-health' even if errors occur regularly.
    Also, I seem to recall something like this happening on an XFS lv months ago, but I'm not sure. More recently, the drive containing that lv would occasionally fail to be seen on the bus. I swapped the cable and moved it to another port and haven't had any problems since. Assuming I'm not hallucinating about the former, the two issues may have been related.

  • Cannot load ttf banglaplain font from /usr/share/fonts & there is no 'res' folder where to place this ttf as I used to do in earlier version of ff. How to load this bangla font?

    Hi,
    I see the www.guruchandali.com website a lot, which use a ttf bengali font (not a unicode). In earlier version, I used to place the banglaplain.ttf in .mozilla/res folder, but in this ff 5.0 there is no 'res' folder. Also, the banglaplain.ttf is not accessed from the /usr/share/fonts. Now, how I can see the bangla fonts in ff 5?

    The usual location for installing that font would be in the ~/.fonts/b folder. That location work in Firefox 3 and 4 for me. That font doesn't seem to be compatible with Firefox 5 (Aurora) and the Nightly build. Both do not use the font even if I select it directly as the default font. I have another font BanglaFontNormal.ttf that still works in Firefox 5 and 7 if I select it. I don't know if that has the same mapping because I can't read that script.

  • Pcmanfm doesn't recognize iso files

    Hi. I use 64 bits archlinux with lxde. I've noticed that pcmanfm doesn't recognize .iso files, right-clic on them only show the 'Open with' option. Clicking on the properties of an iso file shows it as an unknown file
    The problems seems to be related with pcmanfm, because everything is OK with nautilus: file properties mark .iso files as (application/x-cd-image) and right-clic shows the options in /usr/share/applications/mimeinfo.cache
    application/x-cd-image=gnome-disk-image-writer.desktop;gnome-disk-image-mounter.desktop;org.gnome.FileRoller.desktop;
    I've reinstalled pcmanfm, fuseiso, gvfs, udisks and udisks2, but the problem remains

    emeres wrote:Does the same happen with spacefm?
    No, I've installed spacefm and it recognizes iso files. It seems that only pcmanfm suffers the problem

  • Eschalon_book2 package install: cp: cannot stat error?

    Hi All,
    Trying to install an eschalon2 pkgbuild from the AUR. I already edited the PKGBUILD for the correct source URL and regenerated the correct MD5's, I'm stuck at the below error though, some help would be much appreciated! Please see my terminal output below:
    [user@USER eschalon2]$ yaourt -S eschalon2
    ==> Downloading eschalon2 PKGBUILD from AUR...
    x eschalon2.launcher
    x eschalon2.install
    x EschalonBook2.png
    x PKGBUILD
    x eschalon2.desktop
    Comment by: Thalic on Thu, 28 Oct 2010 14:19:28 +0000
    Fixed
    Comment by: hasufell on Sat, 12 Mar 2011 17:11:41 +0000
    http://pastebin.com/raw.php?i=TkGf9R0S
    Comment by: Abdunur on Wed, 08 Jun 2011 03:35:17 +0000
    Available download link
    http://pastebin.com/raw.php?i=D4xQw2yM
    Comment by: schuay on Sat, 30 Jul 2011 09:59:06 +0000
    Disowned due to out of date flag since Feb 21 with no maintainer action. Feel free to adopt and update.
    Comment by: Anntoin on Tue, 06 Dec 2011 04:32:01 +0000
    The download location has changed to http://www.basiliskgames.com/dl_content/eb2_105_release/eschalon_book_2.tar.gz
    Comment by: schuay on Tue, 06 Dec 2011 05:43:09 +0000
    Updated, thanks
    First Submitted: Wed, 26 May 2010 16:11:38 +0000
    eschalon2 1.05-1
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> y
    Please add $EDITOR to your environment variables
    for example:
    export EDITOR="vim" (in ~/.bashrc)
    (replace vim with your favorite editor)
    ==> Edit PKGBUILD with: nano
    ==> eschalon2 dependencies:
    - lib32-freetype2 (already installed)
    - lib32-libxxf86vm (already installed)
    - lib32-mesa (already installed)
    - lib32-gcc-libs (already installed)
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> Edit eschalon2.install ? [Y/n] ("A" to abort)
    ==> ---------------------------------------------
    ==> n
    ==> Continue building eschalon2 ? [Y/n]
    ==> -----------------------------------
    ==>
    ==> Building and installing package
    ==> Making package: eschalon2 1.05-1 (Sun Jul 15 12:13:24 PDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading eschalon_book_2.tar.gz...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 41358 0 41358 0 0 11707 0 --:--:-- 0:00:03 --:--:-- 107k
    -> Found EschalonBook2.png
    -> Found eschalon2.desktop
    -> Found eschalon2.launcher
    ==> Validating source files with md5sums...
    eschalon_book_2.tar.gz ... FAILED
    EschalonBook2.png ... Passed
    eschalon2.desktop ... Passed
    eschalon2.launcher ... Passed
    ==> ERROR: One or more files did not pass the validity check!
    ==> ERROR: Makepkg was unable to build eschalon2.
    ==> Restart building eschalon2 ? [y/N]
    ==> ----------------------------------
    ==>
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> y
    ==> eschalon2 dependencies:
    - lib32-freetype2 (already installed)
    - lib32-libxxf86vm (already installed)
    - lib32-mesa (already installed)
    - lib32-gcc-libs (already installed)
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> Edit eschalon2.install ? [Y/n] ("A" to abort)
    ==> ---------------------------------------------
    ==> n
    ==> Continue building eschalon2 ? [Y/n]
    ==> -----------------------------------
    ==>
    ==> Building and installing package
    ==> Making package: eschalon2 1.05-1 (Sun Jul 15 12:14:52 PDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Found eschalon_book_2.tar.gz
    -> Found EschalonBook2.png
    -> Found eschalon2.desktop
    -> Found eschalon2.launcher
    ==> Validating source files with md5sums...
    eschalon_book_2.tar.gz ... Passed
    EschalonBook2.png ... Passed
    eschalon2.desktop ... Passed
    eschalon2.launcher ... Passed
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    cp: cannot stat '/tmp/yaourt-tmp-USER/aur-eschalon2/src/eschalon_book_2/*': No such file or directory
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build eschalon2.
    The revised PKGBUILD is as follows:
    # Maintainer: REMOVED
    # Contributor: REMOVED
    pkgname=eschalon2
    pkgver=1.05
    pkgrel=1
    pkgdesc="Turn-based RPG. Eschalon: Book II is the sequel to 2007’s award winning RPG Eschalon: Book I, although no previous experience is needed to play and enjoy Book II."
    arch=('i686' 'x86_64')
    url='http://basiliskgames.com/eschalon-book-ii'
    license=('custom: "commercial"')
    install=eschalon2.install
    if [ "$CARCH" = "x86_64" ]; then
    depends=('lib32-freetype2' 'lib32-libxxf86vm' 'lib32-mesa' 'lib32-gcc-libs')
    else
    depends=('freetype2' 'libxxf86vm' 'mesa' 'gcc-libs')
    fi
    install=eschalon2.install
    source=("http://www.gamefront.com/files/20844362/eschalon_book_2.tar.gz"
    'EschalonBook2.png'
    'eschalon2.desktop'
    'eschalon2.launcher')
    md5sums=('90bcd453ad20a00686d81d8873e7def3'
    '536ccc508dfc14e89cb87c6d6e35a675'
    '5f10d62310119e64659c24bc01aa16b9'
    '23cbeb1f0c444a48dc5c4a0bf639b21b')
    build() {
    cd $srcdir
    # Create Destination Directory
    install -d $pkgdir/opt/Eschalon2
    # Install the data
    cp -r $srcdir/eschalon_book_2/* $pkgdir/opt/Eschalon2
    # Install Icon
    install -D -m 644 $srcdir/EschalonBook2.png \
    $pkgdir/usr/share/pixmaps/EschalonBook2.png
    # Install Launcher
    install -D -m 644 $srcdir/eschalon2.desktop \
    $pkgdir/usr/share/applications/eschalon2.desktop
    # Install Game Launcher
    install -D -m 755 $srcdir/eschalon2.launcher \
    $pkgdir/usr/bin/eschalon2
    # Install License
    install -D -m 644 $srcdir/eschalon_book_2/license.txt \
    $pkgdir/usr/share/licenses/$pkgname/license.txt
    # Set groupship to :games
    chown -R :games $pkgdir/opt/Eschalon2
    chmod -R g+rwX $pkgdir/opt/Eschalon2
    Best,
    C

    The url is wrong.  That is not a tarball, it is an html file.
    Edit: unless you have a better link, it looks like the source needs to be downloaded manually from the site.
    Edit2: after manually downloading the tarball, it "built" fine.  I did run into an issue of running out of space on my /tmp partition while compressing it though.  The pkg is over 1GB.
    Removing the no longer needed tarballs and running `makepkg -ef` fixed that issue.
    Also note, that this PKGBUILD should be modified.  All the work here should be moved to the "install" function rather than the "build" function as there is nothing to build.
    WARNING: after futzing with that I thought I'd install it to see what the game was.  It is a "trial version only" of a program that, at least in my case, failed miserably, but only after changing my video mode.  Egh, that goes right in the bit bucket.
    Last edited by Trilby (2012-07-15 22:08:02)

  • Cannot stat file & other weird issues

    I don't really know where to start with this issue, and may cross-post it on a couple of other forums if the need arises, but I thought I'd start off by asking the ArchLinux gurus for any insight.
    I'm having some strange issues with the setup I'm using at work, but it's fairly complex and specific so I'm not sure where to start looking for the solution. I'm running an ArchLinux 32-bit guest via VirtualBox on a Windows 7 64-bit host. The ArchLinux guest is a vanilla install + maybe sudo, rsync, and the virtualbox additions packages. I'm sync'd to my company's ginormous Dropbox folder using the standard Windows client, and I share the entire Dropbox folder to the Arch guest using a persistent auto-mounted vboxsf share defined in /etc/fstab. The guest is running a pretty standard (basically straight out of the Arch Wiki LAMP article) setup of Apache, MySQL, PHP, and phpmyadmin. Because their websites are all backed up to Dropbox, I frequently use mount --bind to mount a local site over /srv/http on my Arch Linux guest for development.
    With this in mind, my Apache server is frequently serving up old pages. I know it is the Apache server because clearing my browser's cache completely doesn't change the outcome, and if I open up the page for editing (in Windows or sometimes in Linux... see below) I see the latest version. Some of the time this issue appears to be the Linux Guest's fault (perhaps something Virtualbox is doing wrong?) because if I ls the directory where the file in question resides, among the error output I will get "cannot stat" for that particular file, and it won't be colorized. Other times, I haven't been able to isolate any strange symptoms (other than getting an outdated page in my browser). In any case, I have tried several things while troubleshooting -- clear browser cache, remount the bind, restart Apache/MySQL -- and the only thing that seems to work is rebooting the VM.
    My question, in short, is where do I start looking for debugging this? Has anyone experienced anything similar? Anyone have an educated guess where I might look for issues? TIA.

    The other thing of note. The MacBook is connected via 802.11g. The iMac and MacBook Pro are connected via 802.11n.

  • Common problem (tar: *: Cannot stat)

    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    ==> Compressing package...
    tar: *: Cannot stat: No such file or directory
    tar: Error exit delayed from previous errors
    I sometimes end up with this error. This is supposed to say to me, that I can't find files to tar.
    here is my PKGBUILD:
    pkgname=premake
    pkgver=1.8
    pkgrel=1
    pkgdesc="Premake is a build script generator"
    depends=(gcc lua)
    md5sums=('ea41420a9c77bdfe48ad21cb6a53c60a')
    source=(http://heanet.dl.sourceforge.net/sourceforge/premake/premake-src-1.8.zip
    url="http://premake.sf.net"
    build() {
    cd $startdir/src/Premake-$pkgver
    make || return 1
    /bin/install -o root -g users -m 755 premake /usr/bin
    plz help me understand this. I'm trying to make a pkg for premake, and then I will try to make a pkg for wxNET

    makepkg tries to tar the content of the directory $startdir/pkg:
    But, your PKGBUILD doesn't install any destination file in this  directory.
    Try with that:
    < /bin/install -o root -g users -m 755 premake /usr/bin
    > install -o root -g users -m 755 premake $startdir/pkg/usr/bin

  • [SOLVED] updating aur package "install: cannot stat ...: No such file"

    This is my first attempt at creating a new package so I decided to update the orphaned crtmpserver package and I'm getting an error where makepkg cannot locate a file...
    I'm test building the package in /var/abs/local/rtmpd directory which contains two files PKGBUILD and rtmpd.service.
    PKGBUILD:
    pkgname=rtmpd-svn
    pkgver=811
    pkgrel=1.1
    pkgdesc="High performance rtmp streaming server"
    arch=('i686' 'x86_64')
    url="http://www.rtmpd.com"
    license=('GPL')
    depends=('openssl')
    makedepends=('subversion' 'cmake' 'lua')
    provides=('crtmpserver')
    conflicts=('crtmpserver')
    _svntrunk='https://svn.rtmpd.com/crtmpserver/trunk'
    _svnmod='crtmpserver'
    _svnbuild='crtmpserver/crtmpserver'
    source=('rtmpd.service')
    md5sums=('SKIP')
    build() {
    msg "Starting SVN checkout"
    svn co --non-interactive --no-auth-cache --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/trunk crtmpserver
    cd $_svnmod/builders/cmake
    sh cleanup.sh
    cmake -DCRTMPSERVER_INSTALL_PREFIX=/usr
    make
    package(){
    cd $_svnmod/builders/cmake
    make DESTDIR="$pkgdir" install
    install -dm644 "$pkgdir/etc/crtmpserver"
    mv "$pkgdir/usr/etc/crtmpserver.lua.sample" "$pkgdir/etc/crtmpserver"
    rm -rf "$pkgdir/usr/etc"
    install -D -m644 "rtmpd.service" "$pkgdir/usr/lib/systemd/system/rtmpd.service"
    Here's the output from running makepkg
    [ourhome@server rtmpd]$ makepkg > log
    ==> Making package: rtmpd-svn 811-1.1 (Sun Feb 8 14:42:27 PST 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found rtmpd.service
    ==> Validating source files with md5sums...
    rtmpd.service ... Skipped
    ==> Extracting sources...
    ==> Starting build()...
    ==> Starting SVN checkout
    A crtmpserver/3rdparty
    A crtmpserver/3rdparty/lua-dev
    A crtmpserver/3rdparty/lua-dev/lundump.h
    A crtmpserver/3rdparty/lua-dev/lapi.h
    A crtmpserver/sources/androidapplestreaming/src/variantconnection.cpp
    A crtmpserver/sources/androidapplestreaming/src/jniwrapper.cpp
    Checked out revision 811.
    -- The C compiler identification is GNU 4.9.2
    -- The CXX compiler identification is GNU 4.9.2
    -- Check for working C compiler: /usr/bin/cc
    ==> Entering fakeroot environment...
    ==> Starting package()...
    Install the project...
    -- Install configuration: "Debug"
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/libtinyxml.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/libcommon.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/libthelib.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/flvplayback/libflvplayback.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/appselector/libappselector.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/samplefactory/libsamplefactory.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/vptests/libvptests.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/admin/libadmin.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/proxypublish/libproxypublish.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/lib/crtmpserver/applications/stresstest/libstresstest.so
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/sbin/crtmpserver
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/etc/crtmpserver.lua.sample
    -- Installing: /var/abs/local/rtmpd/pkg/rtmpd-svn/usr/man/man1/crtmpserver.1
    install: cannot stat ‘rtmpd.service’: No such file or directory
    ==> ERROR: A failure occurred in package().
    Aborting...
    and that's the mystery to me.  Makepkg finds rtmpd.service when it starts but cannot find it when it's time to package.
    Where's it looking ?
    Last edited by gillecaluim (2015-02-08 23:36:50)

    The service file is in $srcdir, not $_svnmod/builders/cmake.
    You're using an outdated PKGBUILD template too. The svn source should be included in the source array and not checked out manually during the build process.
    EDIT: since this repository requires authentication, perhaps the correct format won't work.
    Last edited by WorMzy (2015-02-08 23:07:59)

  • /usr/share/haskell/ and ghc-pkg list --user

    Here goes :  was bored and thought of Space Invaders , hadn't played that in a while so offs I go to find , (AUR) , found it and thought alright , coupla games and call it a night. Well I'm strictly Newbie and sure enough haskell , ghc, haskell-hgl ? , flashed up and I naively thought upgrade ? , why not - Space Invaders right ?
    Well this showed ;
    All cabalized and yaourt-installed packages need to be reinstalled now.
    ==> See /usr/share/haskell/ and ghc-pkg list --user for a tentative list of affected packages.
    I thought , ok , I can deal with this . So off to find above mentioned found it but couldn't run it ? , . O K looked for aforementioned pkg list - no go . tried to downgrade and got this ;
    yaourt -Su --downgrade haskell-cabel
    ==> Downgrading packages
    No package to downgrade
      So offs I go to var /packman/pkg , thats were I found ghc-6.10.4-1-x86_64.pkg.tar.gz and haskell-x11-1.4.5-2-x86_64.pkg.tar.gz  and looked for older ones , no go . Found older ones but i couldn't fix it , not much on Google and found 1 post here  , but didn't make a lot of since to me .   Affected pkg.'s, ( so far ) , claws won't open and no icon for pidgin when running , no mail at all .   
    Excuse the infrequent postings , hey I 'm running Arch and most always can find an answer by searching but must admit I's hit a wall and dread the thought of losing Claws and the E-Mail that is in it . This is probably a simple fix so I Thank You all in advance .
    sudo pacman -U ghc-6.10.4-1-x86_64.pkg.tar.gz-ghc-6.8.2-2x86_64.pkg.tar.gz
    Password:
    loading package data...
    error: 'ghc-6.10.4-1-x86_64.pkg.tar.gz-ghc-6.8.2-2x86_64.pkg.tar.gz': cannot open package file
    wesley ~ $ sudo pacman -U ghc-6.10.4-1-x86_64.pkg.tar.gz -ghc-6.8.2-2x86_64.pkg.tar.gz
    pacman: invalid option -- '-'
    wesley ~ $ sudo pacman -U ghc-6.10.4-1-x86_64.pkg.tar.gz - ghc-6.8.2-2x86_64.pkg.tar.gz
    loading package data...
    error: 'ghc-6.10.4-1-x86_64.pkg.tar.gz': cannot open package file
    wesley ~ $ sudo pacman -U ghc-6.10.4-1-x86_64.pkg.-ghc-6.8.2-2x86_64.pkg.tar.gz
    loading package data...
    error: 'ghc-6.10.4-1-x86_64.pkg.-ghc-6.8.2-2x86_64.pkg.tar.gz': cannot open package file
    wesley ~ $ pacman -U ghc-6.10.4-1-x86_64.pkg.-ghc-6.8.2-2x86_64.pkg.tar.gzWed Sep 16 15:05:42 CDT 2009
    error: you cannot perform this operation unless you are root.
    wesley ~ $
    Thanks
    Did a little more research and not to sure if it had anything to do with the "game and/or Haskell " , don't know .But reread the Wiki Downgrade and came up with this . 
    http://wiki.archlinux.org/index.php/Downgrade_packages
    The package ,libldap-2.3.43-3-x86_64.pkg.tar.gz ,  is sitting on desktop and the one I've installed is  2.4.18-1 so now acording to the wiki would  ; pacman -U pkgname-olderpkgver.pkg.tar.gz.  , be
    wrote as such -
       pacman -U libldap-2.418-1-libldap-2.3.43-3-x86_64.pkg.tar.gz
        or does the package have to be some where else ?  Still learning here and downgrading seems like a good deal ! Also would it resurrect Claws without loss of E-Mail ?
    There was this filed/reported , on Google : http://tinyurl.com/qwjbtq
    which led me to here :
    http://bugs.archlinux.org/task/16217
    and
    Found package here :
    http://www.schlunix.org/archlinux/current/os/x86_64/
    Last edited by wesley_of_course (2009-09-16 23:23:30)

    Mr.Elendig wrote:1. you are not typing the package name correctly, please use tab completion
    2. just reinstall any cabalized haskell packages that you might have installed.
    Thank You Mr.Elendig for your response ! 
    wesley ~ $ yaourt -Q claws-mail
    Error: PACMANBIN: /usr/bin/pacman-color is incorrect
    /usr/bin/pacman-color no recognized in config file
    ==> List all installed packages
    testing/claws-mail 3.7.2-3
    wesley ~ $ ghc-pkg list --user
    /home/wesley/.ghc/x86_64-linux-6.10.4/package.conf:
    wesley ~ $ gedit usr/share/haskell/
    /usr/lib/gedit-2/plugins/auto_completion.py:51: Warning: gsignal.c:2387: instance `0x1d86000' has no handler with id `1745'
    view.disconnect(handler_id)
    wesley ~ $ ghc-pkg list --user wesley
    /home/wesley/.ghc/x86_64-linux-6.10.4/package.conf:
    wesley ~ $ yaourt -Q libldap
    Error: PACMANBIN: /usr/bin/pacman-color is incorrect
    /usr/bin/pacman-color no recognized in config file
    ==> List all installed packages
    core/libldap 2.4.18-1
    Claws is updated , but can't find the list , ( ghc-pkg list --user ) , I think Haskell probably needs to be configured and don't have a clue .
                     Shaman icon , when running ,  isn't visible  nor Pidgin ! Use System Monitor to kill it but Pidgin shuts down when window is closed , whats in common with the two and not others , is it still related to the
    Haskell install ? Now the spam icon in Claws is greyed out too .
                      Thanks again for helping out . edit ; forgot to mention running
    locate ghc-pkg list wesley
    and it came back with a slew of apps., !? can't believe they all need re-installed , maybe base packages for them will reinstall what it wants to set it straight ????
    Last edited by wesley_of_course (2009-09-28 02:47:07)

  • / /System/Library/CoreServices/ReportCrash /usr/lib/libgenkit.dylib /usr/share/icu/icudt51l.dat /private/var/folders/_p/d1ckn47x4wsghc2vb1rk82vm0000gn/C/com.apple.LaunchServic es-044501.csstore /usr/lib/dyld /private/var/db/dyld/dyld_shared_cache_x86_64 /

    Ever since I upgrade to Maverick I keep getting this error. Any have an idea.  Its really messing up my computer.

    Hi,
    Your doing what and when this appears would be useful.
    It also looks like it has extra spaces dotted about in this copy of the info.
    There appear to be several spaces before some of the forward slashes that are not expected.
    On the other hand it could be several different lines of a report as when I look ReportCrash is an Executable item and cannot be opened further.
    / /System/Library/CoreServices/ReportCrash
    /usr/lib/libgenkit.dylib /usr/share/icu/icudt51l.dat
    /private/var/folders/_p/d1ckn47x4wsghc2vb1rk82vm0000/C/com.apple.LaunchServic es-044501.csstore
    /usr/lib/dyld /private/var/db/dyld/dyld_shared_cache_x86_64 /d
    Did it read like the above originally ?
    It would appear that Report Crash is triggered and it might have something do do with something in Launch Services but then again they might not be related other than an app reporting it is using those two things .
    8:40 pm      Saturday; May 3, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Unable to open desktop file /usr/share/applications/redhat-email.desktop for panel launcher: No such file or directory

    Dear Experts,
    Please note that I am facing a chllenge while confiuguring the VNCServer on the local test Server. The Local Test Sver OS Version is Redhat Enterprise Linux Server 
    Release 5.5 32-bit. Please review the following error message and advise me on how to fix the vncserver issue.
    [root@test .vnc]#  cat xstartup
    #!/bin/sh
    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc
    gnome-session &
    [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
    [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
    xsetroot -solid grey
    vncconfig -iconic &
    #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    twm &
    [root@test .vnc]#  cat /etc/sysconfig/vncservers
    # The VNCSERVERS variable is a list of display:user pairs.
    # Uncomment the lines below to start a VNC server on display :2
    # as my 'myusername' (adjust this to your own).  You will also
    # need to set a VNC password; run 'man vncpasswd' to see how
    # to do that.
    # DO NOT RUN THIS SERVICE if your local area network is
    # untrusted!  For a secure way of using VNC, see
    # <URL:http://www.uk.research.att.com/archive/vnc/sshvnc.html>.
    # Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
    # Use "-nohttpd" to prevent web-based VNC clients connecting.
    # Use "-localhost" to prevent remote VNC clients connecting except when
    # doing so through a secure tunnel.  See the "-via" option in the
    # `man vncviewer' manual page.
    # VNCSERVERS="2:myusername"
    # VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"
    VNCSERVERS="1:oracle"
    [root@test .vnc]# ls
    passwd test.oracle.co.zm:1.pid  test.oracle.co.zm:3.log  test.oracle.co.zm:5.pid  test.oracle.co.zm:6.pid
    test.oracle.co.zm:1.log test.oracle.co.zm:2.log  test.oracle.co.zm:5.log  test.oracle.co.zm:6.log  xstartup
    [root@test .vnc]# more test.oracle.co.zm:1.log
    Xvnc Free Edition 4.1.2
    Copyright (C) 2002-2005 RealVNC Ltd.
    See http://www.realvnc.com for information on VNC.
    Underlying X server release 70101000, The X.Org Foundation
    Tue Mar 11 11:18:37 2014
    vncext:      VNC extension running!
    vncext:      Listening for VNC connections on port 5901
    vncext:      Listening for HTTP connections on port 5801
    vncext:      created VNC server for screen 0
    Could not init font path element unix/:7100, removing from list!
    localuser:root being added to access control list
    No profile for user 'root' found
    SESSION_MANAGER=local/test.oracle.co.zm:/tmp/.ICE-unix/13603
    Window manager warning: Log level 32: could not find XKB extension.
    ** (eggcups:13671): WARNING **: IPP request failed with status 1030
    ** (eggcups:13671): WARNING **: IPP request failed with status 1030
    ** (nm-applet:13697): WARNING **: No connections defined
    Initializing nautilus-open-terminal extension
    Unable to open desktop file /usr/share/applications/redhat-email.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-writer.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-impress.desktop for panel launcher: No such file or directory
    Unable to open desktop file /usr/share/applications/openoffice.org-1.9-calc.desktop for panel launcher: No such file or directory
    [root@test .vnc]#
    Regards
    Mohammed Abdul Muqeet

    Hi,
    Try these 3 solutions
    1. Did you start vncserver services as:
    service vncserver start
    2.Check that port 5901 has not been blocked by a firewall:
    # nc -vz localhost 5901
    You should get a connection and a termination. If you get an error, fix the firewall.
    3. service iptables stop
    Hope This Helps
    Regards,
    -DK

  • Glibc - /usr/share/info/dir is already in the filesystem

    Hello,
    I just build glibc from abs with debugging support and when trying to install it via pacman I get conflicting files error:  "/usr/share/info/dir is already in the filesystem". Any ideas?

    /usr/share/info/dir makes part of the info documentation system. Packages must add entries to this file and not overwrite it, so your package need to be fixed. You can delete the dir file from the package (do not overwrite the system file or you will destroy the info system); you just won't have a title entry in the info page (the menu displayed when you type info will not have the entry corresponding to your package). You can also fix it properly with the install-info command (but I do not know this package, so I do not know exactly what you have to install).
    I suggest you to report the problem it in a comment in the AUR.
    Last edited by olive (2013-01-29 07:10:50)

Maybe you are looking for