Skip to content

Commit 12ecaaf

Browse files
author
Martin Köditz
authored
Update Readme
Added some information about the build process.
1 parent c9d81a6 commit 12ecaaf

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
### Build the driver on Linux
66
First of all, we have to meet some requirements. This means we need to install the `phpize` command. The `phpize` command is used to prepare the build environment for a PHP extension.
7-
Install the `phpize` command. This is usually done by installing the `php7-devel` package using the system's package manager.
8-
For OpenSuse use
7+
Install the `phpize` command. This is usually done by installing the `php7-devel` package using the system's package manager. Also install the fbclient library and developer packages.
8+
9+
For OpenSuse 15.1 use
910
```
10-
$ zypper in php7-devel
11+
$ zypper in php7-devel libfbclient2 libfbclient-devel
1112
```
1213

1314
Now make sure you provide the fbclient.so and the header files (ibase.h). These are needed to compile. You can specify the include path for the ibase.h file with CPPFLAGS as you can see in the following listing.
@@ -24,3 +25,6 @@ $ Build complete.
2425
$ Don't forget to run 'make test'.
2526
```
2627
You can find the `interbase.so` file in directory `php-firebird/modules`. Copy the file to your php extension dir and restart your webserver.
28+
29+
## Clean up your working directory
30+
After you've created the binary data, many temporary files will be created in your working directory. These can be removed with the command `phpize --clean`. Then you have a tidy directory again.

0 commit comments

Comments
 (0)