swoole / yasd

Yet Another Swoole Debugger
https://huanghantao.github.io/yasd-wiki/
Apache License 2.0
357 stars 35 forks source link

Unable to build #78

Closed juber-nunes closed 3 years ago

juber-nunes commented 3 years ago

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provides a simple script and debug step to reproduce the problem.

Cloned the repo.

  1. What did you expect to see?

Makefile to build solution

  1. What did you see instead? N/A

  2. What is your machine environment used (show your uname -a & php -v & gcc -v) ?

I'm unable to follow steps for installation after clone the repo. There's no Makefile.

Any suggestions?

5.4.0-60-generic #67-Ubuntu SMP Tue Jan 5 18:31:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

php -v PHP 7.3.25 (cli) (built: Dec 17 2020 09:49:54) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.25, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.3.25, Copyright (c) 1999-2018, by Zend Technologies with Sdebug v2.9.3-dev, Copyright (c) 2002-2020, by Derick Rethans

sy-records commented 3 years ago

Did you execute phpize and . /configure yet?
https://github.com/swoole/yasd#how-to-use-it

juberjj commented 3 years ago

@sy-records I did, no issues on that but cannot "make" it

sy-records commented 3 years ago

Are there any error messages? You can send me the compilation log

huanghantao commented 3 years ago

can you provide the output of phpize and configure?

---Original--- From: "juberjj"<notifications@github.com> Date: Fri, Jan 15, 2021 17:00 PM To: "swoole/yasd"<yasd@noreply.github.com>; Cc: "Subscribed"<subscribed@noreply.github.com>; Subject: Re: [swoole/yasd] Unable to build (#78)

@sy-records I did, no issues on that but cannot "make" it

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

juberjj commented 3 years ago

image

image

sy-records commented 3 years ago

image

You'll need to install the Boost library first.

macOS:

brew install boost

Ubuntu:

apt-get install libboost-all-dev

CentOS:

yum install boost boost-devel
juberjj commented 3 years ago

I'm embarrased, missed that. All sorted now guys an that perspective. Let's see if that will work with swoole in my case.

juberjj commented 3 years ago

The installation is done

image

zend_extension=yasd yasd.debug_mode=remote yasd.remote_host=127.0.0.1 yasd.remote_port=9000

but not connecting on VsCode

image

juber-nunes commented 3 years ago

The issue facing on the title has been resolved, so I'm closing this but open a new one as I'm unable to connect to vscode.