threads / discuss / 50458

Am a newby and I cannot compile git

Subject: Am a newby and I cannot compile git

## tl;dr

8 messages between Feb 10, 2019 and Feb 23, 2019.

replies: 7people: 2as markdown or json

Fabio Aiuto· Feb 10, 2019, 21:56 UTC · lore

Hello again my problem is that I cannot compile git. The error message says:

	Type'z_stream' could not be resolved

I don't know why, because I installed the package zlib1g-dev and in the header file zlib.h this structure is declared. Help me!!! Fabio.

Santiago Torres· Feb 10, 2019, 22:48 UTC · re: Fabio Aiuto · lore

Re: Am a newby and I cannot compile git

It'd be difficult to debug without more context:

Do you mind sharing your build log and more informationa about your setup? (e.g., what OS are you running, what packages are installed, how did you get the git sources, etc.)

Thanks, -Santiago.

On Sun, Feb 10, 2019 at 10:56:54PM +0100, Fabio Aiuto wrote:
Show 8 quoted lines
> Hello again my problem is that I cannot compile git.
> The error message says:
> 
> 	Type'z_stream' could not be resolved
> 
> I don't know why, because I installed the package zlib1g-dev and in the
> header file zlib.h this structure is declared. Help me!!!
> Fabio.
Fabio Aiuto· Feb 11, 2019, 19:08 UTC · re: Santiago Torres · lore

Re: Am a newby and I cannot compile git

Hello Santiago, I'm running debian Stretch on my machine, and using Eclipse. I'm new in linux world so I don't know how could I let you know all packages I've installed in a single screenshot. However I got the git sources with the following command:

$ git clone git://git.kernel.org/pub/scm/git/git.git

then I've opened the project inside Eclipse by importing a makefile project from existing code. I tried to build several time beacuse of some compilation errors that I fixed by installing the following packages:

$ sudo apt-get install zlib1g-dev $ sudo apt-get install libcurl-dev $ sudo apt-get install libcurl4-openssl-dev $ sudo apt-get install libexpat1-dev

At last no building errors detected but when I try to run adebug
session, the IDE says tat 'Program file does not exist'. And there are
more errors spread over the project wich are not detected.When i do the
rebuild by clicking the 'hammer' icon, the message in the console
window says:
20:04:07 **** Incremental Build of configuration Default for project
git ****
make all 
    SUBDIR git-gui
    SUBDIR gitk-git
    SUBDIR templates
20:04:08 Build Finished (took 866ms)

Please ask me for more informations!!!! Thank you Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha scritto:

Show 20 quoted lines
> It'd be difficult to debug without more context:
> 
> Do you mind sharing your build log and more informationa about your
> setup? (e.g., what OS are you running, what packages are installed,
> how
> did you get the git sources, etc.)
> 
> Thanks,
> -Santiago.
> 
> On Sun, Feb 10, 2019 at 10:56:54PM +0100, Fabio Aiuto wrote:
> > Hello again my problem is that I cannot compile git.
> > The error message says:
> > 
> > 	Type'z_stream' could not be resolved
> > 
> > I don't know why, because I installed the package zlib1g-dev and in
> > the
> > header file zlib.h this structure is declared. Help me!!!
> > Fabio.
Fabio Aiuto· Feb 12, 2019, 21:43 UTC · re: Fabio Aiuto · lore

Re: Am a newby and I cannot compile git

Ok I typed make install from the terminal, then I attached the the project to the executable generated in the local bin directory. So I can happily trace in the code. Thank you, hope I will be able to fix things in git very soon!!! Fabio. Il giorno lun, 11/02/2019 alle 20.08 +0100, Fabio Aiuto ha scritto:

Show 61 quoted lines
> Hello Santiago,
> I'm running debian Stretch on my machine, and using Eclipse. I'm new
> in
> linux world so I don't know how could I let you know all packages
> I've
> installed in a single screenshot.
> However I got the git sources with the following command:
> 
> $ git clone git://git.kernel.org/pub/scm/git/git.git
> 
> then I've opened the project inside Eclipse by importing a makefile
> project from existing code. I tried to build several time beacuse of
> some compilation errors that I fixed by installing the following
> packages:
> 
> $ sudo apt-get install zlib1g-dev
> $ sudo apt-get install libcurl-dev
> $ sudo apt-get install libcurl4-openssl-dev
> $ sudo apt-get install libexpat1-dev
> 
> At last no building errors detected but when I try to run adebug
> session, the IDE says tat 'Program file does not exist'. And there
> are
> more errors spread over the project wich are not detected.When i do
> the
> rebuild by clicking the 'hammer' icon, the message in the console
> window says:
> 20:04:07 **** Incremental Build of configuration Default for project
> git ****
> make all 
>     SUBDIR git-gui
>     SUBDIR gitk-git
>     SUBDIR templates
> 
> 20:04:08 Build Finished (took 866ms)
> 
> Please ask me for more informations!!!!
> Thank you
> Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha
> scritto:
> > It'd be difficult to debug without more context:
> > 
> > Do you mind sharing your build log and more informationa about your
> > setup? (e.g., what OS are you running, what packages are installed,
> > how
> > did you get the git sources, etc.)
> > 
> > Thanks,
> > -Santiago.
> > 
> > On Sun, Feb 10, 2019 at 10:56:54PM +0100, Fabio Aiuto wrote:
> > > Hello again my problem is that I cannot compile git.
> > > The error message says:
> > > 
> > > 	Type'z_stream' could not be resolved
> > > 
> > > I don't know why, because I installed the package zlib1g-dev and
> > > in
> > > the
> > > header file zlib.h this structure is declared. Help me!!!
> > > Fabio.
Santiago Torres· Feb 12, 2019, 21:54 UTC · re: Fabio Aiuto · lore

Re: Am a newby and I cannot compile git

Awesome,

Do consider reading the files under Documentation (as other people suggested) to make it easier to contribute. There's CodingGuidelines and SubmittingPatches that are super useful :)

Good luck! -Santiago.

On Tue, Feb 12, 2019 at 10:43:13PM +0100, Fabio Aiuto wrote:
Show 67 quoted lines
> Ok I typed make install from the terminal, then I attached the the
> project to the executable generated in the local bin directory. So I
> can happily trace in the code. Thank you, hope I will be able to fix
> things in git very soon!!!
> Fabio.
> Il giorno lun, 11/02/2019 alle 20.08 +0100, Fabio Aiuto ha scritto:
> > Hello Santiago,
> > I'm running debian Stretch on my machine, and using Eclipse. I'm new
> > in
> > linux world so I don't know how could I let you know all packages
> > I've
> > installed in a single screenshot.
> > However I got the git sources with the following command:
> > 
> > $ git clone git://git.kernel.org/pub/scm/git/git.git
> > 
> > then I've opened the project inside Eclipse by importing a makefile
> > project from existing code. I tried to build several time beacuse of
> > some compilation errors that I fixed by installing the following
> > packages:
> > 
> > $ sudo apt-get install zlib1g-dev
> > $ sudo apt-get install libcurl-dev
> > $ sudo apt-get install libcurl4-openssl-dev
> > $ sudo apt-get install libexpat1-dev
> > 
> > At last no building errors detected but when I try to run adebug
> > session, the IDE says tat 'Program file does not exist'. And there
> > are
> > more errors spread over the project wich are not detected.When i do
> > the
> > rebuild by clicking the 'hammer' icon, the message in the console
> > window says:
> > 20:04:07 **** Incremental Build of configuration Default for project
> > git ****
> > make all 
> >     SUBDIR git-gui
> >     SUBDIR gitk-git
> >     SUBDIR templates
> > 
> > 20:04:08 Build Finished (took 866ms)
> > 
> > Please ask me for more informations!!!!
> > Thank you
> > Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha
> > scritto:
> > > It'd be difficult to debug without more context:
> > > 
> > > Do you mind sharing your build log and more informationa about your
> > > setup? (e.g., what OS are you running, what packages are installed,
> > > how
> > > did you get the git sources, etc.)
> > > 
> > > Thanks,
> > > -Santiago.
> > > 
> > > On Sun, Feb 10, 2019 at 10:56:54PM +0100, Fabio Aiuto wrote:
> > > > Hello again my problem is that I cannot compile git.
> > > > The error message says:
> > > > 
> > > > 	Type'z_stream' could not be resolved
> > > > 
> > > > I don't know why, because I installed the package zlib1g-dev and
> > > > in
> > > > the
> > > > header file zlib.h this structure is declared. Help me!!!
> > > > Fabio.
Fabio Aiuto· Feb 15, 2019, 19:13 UTC · re: Santiago Torres · lore

Re: Am a newby and I cannot compile git

Thank you so much Santiago!!! Sorry for late, lot of work these days!!! See you soon. Fabio. Il giorno mar, 12/02/2019 alle 16.54 -0500, Santiago Torres ha scritto:

Show 88 quoted lines
> Awesome,
> 
> Do consider reading the files under Documentation (as other people
> suggested) to make it easier to contribute. There's CodingGuidelines
> and SubmittingPatches that are super useful :)
> 
> Good luck!
> -Santiago.
> 
> On Tue, Feb 12, 2019 at 10:43:13PM +0100, Fabio Aiuto wrote:
> > Ok I typed make install from the terminal, then I attached the the
> > project to the executable generated in the local bin directory. So
> > I
> > can happily trace in the code. Thank you, hope I will be able to
> > fix
> > things in git very soon!!!
> > Fabio.
> > Il giorno lun, 11/02/2019 alle 20.08 +0100, Fabio Aiuto ha scritto:
> > > Hello Santiago,
> > > I'm running debian Stretch on my machine, and using Eclipse. I'm
> > > new
> > > in
> > > linux world so I don't know how could I let you know all packages
> > > I've
> > > installed in a single screenshot.
> > > However I got the git sources with the following command:
> > > 
> > > $ git clone git://git.kernel.org/pub/scm/git/git.git
> > > 
> > > then I've opened the project inside Eclipse by importing a
> > > makefile
> > > project from existing code. I tried to build several time beacuse
> > > of
> > > some compilation errors that I fixed by installing the following
> > > packages:
> > > 
> > > $ sudo apt-get install zlib1g-dev
> > > $ sudo apt-get install libcurl-dev
> > > $ sudo apt-get install libcurl4-openssl-dev
> > > $ sudo apt-get install libexpat1-dev
> > > 
> > > At last no building errors detected but when I try to run adebug
> > > session, the IDE says tat 'Program file does not exist'. And
> > > there
> > > are
> > > more errors spread over the project wich are not detected.When i
> > > do
> > > the
> > > rebuild by clicking the 'hammer' icon, the message in the console
> > > window says:
> > > 20:04:07 **** Incremental Build of configuration Default for
> > > project
> > > git ****
> > > make all 
> > >     SUBDIR git-gui
> > >     SUBDIR gitk-git
> > >     SUBDIR templates
> > > 
> > > 20:04:08 Build Finished (took 866ms)
> > > 
> > > Please ask me for more informations!!!!
> > > Thank you
> > > Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha
> > > scritto:
> > > > It'd be difficult to debug without more context:
> > > > 
> > > > Do you mind sharing your build log and more informationa about
> > > > your
> > > > setup? (e.g., what OS are you running, what packages are
> > > > installed,
> > > > how
> > > > did you get the git sources, etc.)
> > > > 
> > > > Thanks,
> > > > -Santiago.
> > > > 
> > > > On Sun, Feb 10, 2019 at 10:56:54PM +0100, Fabio Aiuto wrote:
> > > > > Hello again my problem is that I cannot compile git.
> > > > > The error message says:
> > > > > 
> > > > > 	Type'z_stream' could not be resolved
> > > > > 
> > > > > I don't know why, because I installed the package zlib1g-dev
> > > > > and
> > > > > in
> > > > > the
> > > > > header file zlib.h this structure is declared. Help me!!!
> > > > > Fabio.
Fabio Aiuto· Feb 23, 2019, 09:45 UTC · re: Fabio Aiuto · lore

Re: Am a newby and I cannot compile git

Hello Santiago, how could I get a first task? A simple one please, I'd like being introduced to git developing as a participant in order to get used to submitting patches, and all the tools I need. Thank you in advance. Fabio.

Il giorno ven, 15/02/2019 alle 20.13 +0100, Fabio Aiuto ha scritto:
Show 107 quoted lines
> Thank you so much Santiago!!! Sorry for late, lot of work these
> days!!!
> See you soon.
> Fabio.
> Il giorno mar, 12/02/2019 alle 16.54 -0500, Santiago Torres ha
> scritto:
> > Awesome,
> > 
> > Do consider reading the files under Documentation (as other people
> > suggested) to make it easier to contribute. There's
> > CodingGuidelines
> > and SubmittingPatches that are super useful :)
> > 
> > Good luck!
> > -Santiago.
> > 
> > On Tue, Feb 12, 2019 at 10:43:13PM +0100, Fabio Aiuto wrote:
> > > Ok I typed make install from the terminal, then I attached the
> > > the
> > > project to the executable generated in the local bin directory.
> > > So
> > > I
> > > can happily trace in the code. Thank you, hope I will be able to
> > > fix
> > > things in git very soon!!!
> > > Fabio.
> > > Il giorno lun, 11/02/2019 alle 20.08 +0100, Fabio Aiuto ha
> > > scritto:
> > > > Hello Santiago,
> > > > I'm running debian Stretch on my machine, and using Eclipse.
> > > > I'm
> > > > new
> > > > in
> > > > linux world so I don't know how could I let you know all
> > > > packages
> > > > I've
> > > > installed in a single screenshot.
> > > > However I got the git sources with the following command:
> > > > 
> > > > $ git clone git://git.kernel.org/pub/scm/git/git.git
> > > > 
> > > > then I've opened the project inside Eclipse by importing a
> > > > makefile
> > > > project from existing code. I tried to build several time
> > > > beacuse
> > > > of
> > > > some compilation errors that I fixed by installing the
> > > > following
> > > > packages:
> > > > 
> > > > $ sudo apt-get install zlib1g-dev
> > > > $ sudo apt-get install libcurl-dev
> > > > $ sudo apt-get install libcurl4-openssl-dev
> > > > $ sudo apt-get install libexpat1-dev
> > > > 
> > > > At last no building errors detected but when I try to run
> > > > adebug
> > > > session, the IDE says tat 'Program file does not exist'. And
> > > > there
> > > > are
> > > > more errors spread over the project wich are not detected.When
> > > > i
> > > > do
> > > > the
> > > > rebuild by clicking the 'hammer' icon, the message in the
> > > > console
> > > > window says:
> > > > 20:04:07 **** Incremental Build of configuration Default for
> > > > project
> > > > git ****
> > > > make all 
> > > >     SUBDIR git-gui
> > > >     SUBDIR gitk-git
> > > >     SUBDIR templates
> > > > 
> > > > 20:04:08 Build Finished (took 866ms)
> > > > 
> > > > Please ask me for more informations!!!!
> > > > Thank you
> > > > Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha
> > > > scritto:
> > > > > It'd be difficult to debug without more context:
> > > > > 
> > > > > Do you mind sharing your build log and more informationa
> > > > > about
> > > > > your
> > > > > setup? (e.g., what OS are you running, what packages are
> > > > > installed,
> > > > > how
> > > > > did you get the git sources, etc.)
> > > > > 
> > > > > Thanks,
> > > > > -Santiago.
> > > > > 
> > > > > On Sun, Feb 10, 2019 at 10:56:54PM +0100, Fabio Aiuto wrote:
> > > > > > Hello again my problem is that I cannot compile git.
> > > > > > The error message says:
> > > > > > 
> > > > > > 	Type'z_stream' could not be resolved
> > > > > > 
> > > > > > I don't know why, because I installed the package zlib1g-
> > > > > > dev
> > > > > > and
> > > > > > in
> > > > > > the
> > > > > > header file zlib.h this structure is declared. Help me!!!
> > > > > > Fabio.
Fabio Aiuto· Feb 23, 2019, 09:38 UTC · re: Santiago Torres · lore

Re: Am a newby and I cannot compile git

Hello Santiago, how could I get a first task? A simple one please, I'd like being introduced to git developing as a participant in order to get used to submitting patches, and all the tools I need. Thank you in advance. Fabio.

Il giorno dom, 10/02/2019 alle 17.48 -0500, Santiago Torres ha scritto:
Show 20 quoted lines
> It'd be difficult to debug without more context:
> 
> Do you mind sharing your build log and more informationa about your
> setup? (e.g., what OS are you running, what packages are installed,
> how
> did you get the git sources, etc.)
> 
> Thanks,
> -Santiago.
> 
> On Sun, Feb 10, 2019 at 10:56:54PM +0100, Fabio Aiuto wrote:
> > Hello again my problem is that I cannot compile git.
> > The error message says:
> > 
> > 	Type'z_stream' could not be resolved
> > 
> > I don't know why, because I installed the package zlib1g-dev and in
> > the
> > header file zlib.h this structure is declared. Help me!!!
> > Fabio.

← back to recent threads