'port install' can't find variable declared in variant

Bjarne D Mathiesen macintosh at mathiesen.info
Fri May 4 18:28:05 PDT 2012


Ryan Schmidt wrote:
> 
> On May 4, 2012, at 19:53, Bjarne D Mathiesen wrote:
> 
>> Error: Target org.macports.destroot returned: can't read "mysqlver": no
>> such variable
>> Log for php5-mysql is at:
>> /macports/var/macports/logs/_Volumes_Bjarne_WebServer_MacPorts_newPorts_php_php5-mysql/php5-mysql/main.log
>> Error: Status 1 encountered during processing.
>> To report a bug, see <http://guide.macports.org/#project.tickets>
>>
>> Now, can anyone tell me what I'm doing wrong ???
> 
> Somewhere in the global part of the portfile, declare that variable by setting it to a dummy value.
> 
> set mysqlver ""

OK - that did it !

thanks :-D
-- 
Bjarne D Mathiesen
København N ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et totalt M$-frit miljø
MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3


More information about the macports-dev mailing list