<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css">
<title>
Gambas Documentation - Cannot load component (#27)
</title>
</head>
<body>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../help%3Fen"><img class="flag" alt="Home" border="0" src="../../img/lang/en.png" align="center"></a>&nbsp;&nbsp;
<a href="../error%3Fen">Up</a>&nbsp;&nbsp;
<a href="iobject%3Fen">Previous</a>&nbsp;&nbsp;
<a href="lock%3Fen">Next</a>&nbsp;&nbsp;
</td></tr></table>
<div class="notab">
<h1>
Cannot load component (#27)
</h1>
The interpreter failed to load the specified component.
<hr>
You can get this message if you didn't compile a component because of a non-installed development package.
<p>
<div class="gray"><font color="white" size="-2"><b>Example</b></font></div><div class="example">
Let's suppose that you use Debian 3.1, and that you get this message:
<p>
<pre class="example">ERROR: #27: Cannot load component 'gb.pcre': cannot find library file
</pre><p><p>
With debian3.1 , libpcre.dev has not been installed, when <a href="../def/gambas%3Fen">Gambas</a> (the source) has been configured and made. Note that <tt>./configure</tt> reported a missing component.
<p>
To solve this problem, install the missing packet (in this case libpcre.dev) and compile the source again (<tt>./configure ; make ; make install</tt>)
<p>
See also: <a href="http://gambas.sourceforge.net/compilation.html">http://gambas.sourceforge.net/compilation.html</a> - Compilation guide
</div>

</div>
<hr>
</body>
</html>

