bugWeeChat - Bugs: bug #40313, sudo make install doesn't always...


bug #40313: sudo make install doesn't always create symlink in /usr/local/bin

Submitted by:  -X- <paulw2u>
Submitted on:  Sun 20 Oct 2013 01:12:05 PM UTC  
Category: compilationSeverity: 3 - Normal
Item Group: compile/installStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.4.3IRC nick: PaulW2U

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 24 Jan 2015 03:34:39 PM UTC, comment #3:

Finally fixed!

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Sun 20 Oct 2013 04:54:35 PM UTC, comment #2:

I'm using cmake to compile WeeChat. I think this problem only occurs about 1 in 5 times. That is what is strange. It might happen on one PC and not the other. Next time both might be ok or it might be the other one that suffers the problem. They're both kept up-to-date and are updated at the same time with the latest git changes.

I've been starting WeeChat from a tmux session with a pre-configured start-up programs so I'll just run "weechat". So the missing symlink won't affect me now. I must have missed the change.

-X- <paulw2u>
Sun 20 Oct 2013 04:34:01 PM UTC, comment #1:

In order to fix the problem, I would like if possible a way to reproduce the problem. Are you compiling with cmake or autotools?
And does the problem happen on every "sudo make install"?

By the way, starting from version 0.4.2, it is recommended to run "weechat" instead of "weechat-curses", which is now a symbolic link for compatiblity. If you upgrade from an older release, you can force the name of the binary (see /help upgrade and the release notes for 0.4.2: http://weechat.org/files/releasenotes/ReleaseNotes-0.4.2.html).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Sun 20 Oct 2013 01:12:05 PM UTC, original submission:

I have my development copy of WeeChat installed in /usr/local/bin/ and re-compile WeeChat from git sources regularly. I started to notice with 0.4.2 and now 0.4.3 that /upgrade would crash WeeChat.

I found that the symlink in /usr/local/bin would often be missing and I would have to 'sudo make install' again to create the symlink. All I would see in /usr/local/bin was the WeeChat binary along with a few other files that are not related to WeeChat.

I see this probblem regularly on two PCs, both running 64-bit Kubuntu. If there are several git updates during the day I might see this once or twice but interestingly I won't see the problem on both PCs at the same time or with the same update.

I no longer install WeeChat from either the Ubuntu repositories or from a PPA. The only version on either PC is the version that I compile from source.

-X- <paulw2u>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by flashcode (Posted a comment)
  • -unavailable- added by paulw2u (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 Jan 2015 08:03:27 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Sat 24 Jan 2015 03:34:39 PM UTCflashcodeStatusIn Progress=>Fixed
    Fri 23 Jan 2015 11:46:57 PM UTCflashcodeRelease1.1=>0.4.3
    Fri 23 Jan 2015 11:46:20 PM UTCflashcodeStatusNeed Info=>In Progress
    Sun 09 Feb 2014 09:35:59 AM UTCflashcodeRelease2.2-dev=>0.4.3
    Sun 20 Oct 2013 04:34:01 PM UTCflashcodeStatusNone=>Need Info
      Assigned toNone=>flashcode
    Sun 20 Oct 2013 01:12:35 PM UTCpaulw2uCarbon-CopyRemoved -unavailable-=>-
    Sun 20 Oct 2013 01:12:05 PM UTCpaulw2uCarbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1