Skip to content

Commit

Permalink
example of specifing PKG_CONFIG_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
takuya-isbs committed Jun 22, 2021
1 parent 4b9b720 commit 0019367
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,21 @@ $ globus-url-copy file gsiftp://HOSTNAME/dir/file
### ソースコードを使用する場合

```
$./configure --libdir=インストール先ライブラリパス
$ ./configure --libdir=インストール先ライブラリパス
$ make
$ sudo make install
```

Gfarm ライブラリが見つからない場合は、gfarm.pc がインストールされた
ディレクトリを PKG_CONFIG_PATH 環境変数に指定してから、
configure を実行します。

実行例

```
$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --libdir=...
```

### SRPM パッケージを使用する場合

```
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,21 @@ $ globus-url-copy file gsiftp://HOSTNAME/dir/file
### Using source code

```
$./configure --libdir=<Library path to install>
$ ./configure --libdir=<Library path to install>
$ make
$ sudo make install
```

If the Gfarm library is not found, please specify the directory where
gfarm.pc is installed to PKG_CONFIG_PATH environment variable, and
then run configure.

For example:

```
$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --libdir=<...>
```

### Using SRPM package

```
Expand Down

0 comments on commit 0019367

Please sign in to comment.