Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 14 guests | Time: 12:27
gambas
paldo Support Forum    Upkg    Package Specifications
Reply Reply   Subscribe Topic Subscribe Topic
2 posts found.
 gambas
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
I wanted to create a Repos on my local machine. I readed the package-create-howto. I did the needed files but I get only errors:

[amsoft@gawab:~/PaldoRepo]$ upkg-build gambas
Generating script...
ERROR: Package 'gambas' not found.
Could not generate script!
[amsoft@gawab:~/PaldoRepo]$ upkg
upkg: a tool to compile Upkg XML specs into bash scripts.
Usage: upkg [options] [package] <output file>

Options:
--install Install the specified package.
--remove Remove the specified package.
--bootstrap Build the specified package in a separate root dir.
--disable-source Only install packages available as binaries.
--disable-binary Do not use binary packages. Compile them instead.
--disable-caching Do not cache XML specs.
--stdout Do not write to output file. Use standard output.
--repos=<repo>,... Use specified repositories.
--tag=<name> Use tag '<name>' within [package].
--branch=<name> The branch which will be used.
--test Performs a dry-run. Doesn't write anything.
--help Print this text.

ATTENTION: <output file> will allways be relative to your upkg cache directory!
[amsoft@gawab:~/PaldoRepo]$ su
Password:
[root@gawab:/home/amsoft/PaldoRepo]# upkg-build --repos=/home/amsoft/PaldoRepo/ gambas
Generating script...

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at Upkg.Application.Main (System.String[] args) [0x00000]
Could not generate script!


You can download the Repos. Also I added 3 txt-files including the sucessfull build of gambas on Paldo.

<?xml version="1.0"?>
<package name="gambas">
<description>IDE for coding basic-like apps</description>
<releases>
<release version="1.0.17" revision="1" branch="stable">
<build>
<script>
<archive name="gambas-$VERSION">
<cmd>
./configure
</cmd>
<cmd>make</cmd>
<cmd>make install</cmd>
</archive>
</script>
</build>
</release>
</releases>
</package>
Profile   Private Message   E-Mail
Created: 2006-11-24 15:11
Highlight selected Text   Edit   Delete   Quote Reply
 solved
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
here is the fixed xml. save it as gambas.xml into the spec-folder

Code[In neuem Fenster öffnen]
<?xml version="1.0"?>
<package name="gambas">
<description>IDE for coding basic-like apps</description>
<releases>
<release version="1.0.17" revision="1" branch="stable">
<build>
<script>
<archive name="gambas-$VERSION">
<cmd>./configure</cmd>
<cmd>make</cmd>
<cmd>make install</cmd>
</archive>
</script>
</build>
</release>
</releases>
</package>
Profile   Private Message   E-Mail
Created: 2006-11-24 16:12 | Modified: 2006-11-24 16:15 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a