#542 Partially compilation problems, missing menus, sigsegv and

closed-works-for-me
nobody
None
1
2012-05-27
2012-05-22
Sworddragon
No

... memory errors.

I wanted to post this on this ticket: https://sourceforge.net/tracker/?func=detail&aid=3528191&group_id=156956&atid=801864
But I got every time an error about a missing group id. Here is the post:

I have now experimented a little about this. I could figure out that I needed to install libtool, intltool, libgtk2.0-dev, libmenu-cache1-dev, libfm-dev and the dependencies of these packages like automake and libglib2.0-dev.

After this the auto generating and configuring worked and I could successfull compile and install pcmanfm. I was able to reproduce one bug that should be fixed but I don't know if this is because of the libfm version of my distribution (0.1.17 from Ubuntu).

I have removed libfm-dev and tried to compile the newest trunk of libfm. I needed to install some extra packages (gtk-doc-tools and valac). After this I could successfull compile and install libfm too. But on a new autogen and configure of pcmanfm I'm getting a new error: "checking whether the C compiler works... no". This is curriously because I could compile pcmanfm a few minutes before and "gcc -v" is still working.

The trunk of pcmanfm with the libfm version of my distribution has some odd behavior. I can't open menus like "Preferences" and opening the context menu with a right click on a file or an empty place crashes pcmanfm with a segmentation fault. Valgrind is showing me some memory errors and more detailed information about the segmentation fault. If this is not a bug because of a wrong compilation I can open a new ticket (or post it in this one) if this is wanted.

Discussion

  • Lonely Stranger

    Lonely Stranger - 2012-05-22

    As you have Ubuntu, you can take debian/ directories for Git versions of libfm and pcmanfm here:

    http://gw-lcom.rep.kiev.ua/dnld/libfm_0.1.99-0ubuntu+git.debian.tar.gz
    http://gw-lcom.rep.kiev.ua/dnld/pcmanfm_0.9.10-0.1git1.debian.tar.gz

    It's what I'm using for succesful compilation and update for myself. Just unpack into source tree, run ./autogen.sh, then ./configure (or ./configure --enable-gtk-doc for libfm), then make dist clean, then rm *.tar.gz, then sudo mk-build-deps -i -r, then debuild. After compilation ends you'll get .deb packages which you can install. Yes, it's kinda complex but it's price for using Git tree, sorry.

     
  • Lonely Stranger

    Lonely Stranger - 2012-05-26
    • priority: 5 --> 1
     
  • Sworddragon

    Sworddragon - 2012-05-27

    I have cloned the newest trunk and tried a new compilation. Now I could successfull compile libfm and pcmanfm without the error that the compiler is not found and without the use of libfm-dev from Ubuntu. But the other bugs are still existing but I will open new tickets for them.

     
  • Sworddragon

    Sworddragon - 2012-05-27
    • status: open --> closed-works-for-me
     


Anonymous

Cancel  Add attachments