I’ve been crawling the internet for HOURS looking for a solution for this, but maybe someone here can help. Basically I want to install WeeChat on my windows computer, and doing so requires me to use CygWin. I downloaded the most recent and stable version of WeeChat, and also downloaded CygWin. To install CygWin I added all of the necessary dependencies for running WeeChat,the only problem is I have no idea where to continue from here. I’m not too knowledgable about programing and compiling, and only got this far by reading the few helpful things I came across online. Could anyone give me a (preferably) detailed step by step walkthrough on how to proceed from here?
bump
Did you try opening a cygwin terminal window and typing weechat?
It works on my system. weechat is installed by default by the cygwin installer.
If it isn’t installed try this:
https://distanthought.wordpress.com/2011/01/23/enjoy-weechat-on-windows/
Hi Tatterdemalion, I tried inputting weechat into the terminal directly and it gave me the output “-bash: WeeChat: command not found” On the subject of your link, I actually was originally following those instructions, but at the " ./configure --prefix=/path/to/directory" input I used two different inputs. The first was the input of the folder in which the WeeChat files were (my downloads folder) and was the command " ./configure --prefix= C:\Users\Wyatt\Downloads" which gave me the output “-bash: ./configure: No such file or directory” The second input was to the ACTUAL WeeChat files which had the command “$ ./configure --prefix=C:\Users\Wyatt\Downloads\weechat-1.2” likewise this input gave me the same output as before which was “-bash: ./configure: No such file or directory”. I’m not too sure on where to go from there, as it seems I have been halted at the very first step of the instructions :smack:
When you downloaded the weechat source, did you untar the download file?
tar -zxvf weechat-1.2.tar.gz
then cd to the weechat-1.2 directory
then do:
$ ./configure --prefix=/usr/local/bin --disable-gnutls --disable-tcl
make make install
You can also just omit the --prefix option.
When I tried to do the “tar -zxvf weechat-1.2.tar.gz” command I got:
tar (child): weechat-1.2.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
As the output. From there I couldn’t move on to do any of the other inputs and commands
You downloaded the weechat source file correct?
Open a cygwin terminal window.
cd to where you downloaded the file to
type: ls
Do you see the weechat-1.2.tar.gz file?
un tar it with the tar -zxvf <filename> command
cd to the source directory
then do the ./configure, make, install commands
Firstly I want to say THANK YOU SO MUCH Tatterdemalion!! I’m all the way at the step for the ./ configure, but am still having an issue. By now my command input is stuck in the directory “Wyatt@Laptop /cygdrive/c/Users/Wyatt/Downloads” I ran the command “$ ./configure --prefix=/cygdrive/c/Users/Wyatt/Downloads/weechat-1.2” and received the output “-bash: ./configure: No such file or directory” I tried tweaking the input directory to various things but still received the same “-bash: ./configure: No such file or directory” output. I feel certain we are on the right track, and this is just a matter of inputting the correct path, but I dont know for sure what that is exactly. Again thank you so much for all of your help!
I also found a weechat-1.2.tar folder, that is seperate from the weechat-1.2.tar.gz , was that created from one of the command inputs? And if so is there any specific purpose that it serves that the .tar.gz folder does not?
You need to cd into that directory. The tar.gz file is a compressed file with the weechat source code.
The configure script is in that directory. cd to that directory and run the configure, make and install commands from the instructions. If you have all the proper dependencies installed it should compile without error.
I input " cd /cygdrive/c/Users/Wyatt/Downloads/weechat-1.2.tar" and got the output “-bash: cd: /cygdrive/c/Users/Wyatt/Downloads/weechat-1.2.tar: Not a directory” I’m not too sure what I’m doing wrong
It seems the furthest I can cd is to “$ cd /cygdrive/c/Users/Wyatt/Downloads”, anything higher than that always gives the output that it isint a directory. I’m sure I have all the correct dependencies installed, because I have yet to receive an error when the correct input command goes through
The .tar is a file not a directory you need to untar that.
If you ran the tar -zxvf command there is probably a directory named weechat-1.2 where you ran the command.
I ran the -zxvf command successfully only on the .tar.gz file and ended up receiving a large text output (which I wont post here because it would take up far too much space), I thought that I had ran the cd to the right directory which was “$ cd /cygdrive/c/Users/Wyatt/Downloads” since that was where both the .tar and .tar.gz files were located. I tried to run the cd command into a more specific location but alway got the output that the location was not a directory. I just re-ran the -zxf command on the .tar.gz folder which would put me at the step now of having to cd to the correct source directory
Update: I opened another terminal and put the initial cd command input as “$ cd C:/Users/Wyatt/Downloads/weechat-1.2” this is neither the .tar or .tar.gz file, but just a regular folder holding the weechat files. I ran the ls command on it and got
AUTHORS.asciidoc Contributing.asciidoc ReleaseNotes.asciidoc
autogen.sh COPYING scripts
ChangeLog.asciidoc doc src
cmake makedist.sh tests
CMakeLists.txt Makefile.am weechat.cygport.in
config.h.cmake po weechat.pc.in
configure.ac README.asciidoc weechat.png
Do I need to do anything to one of these files perhaps?
Good. You’re getting closer.
Now run the configure.ac script with the ./configure <options> command.
Then
make
make install.
For the ./configure <options> command what goes in the <options> section? The configure.ac script?