Re: [Fink-devel] Adding a new package for the first time
Sean's comments make a lot of sense. The manual should start with a simple example with full instructions, e.g. 1. put the following content into a file called hello.c 2. put the following content into a file called Makefile 3. type "tar -chofz hello.tgz hello.c Makefile.c" 4. move hello.tgz to (DIRECTORY) 5. put the following content into a file called hello.info 6. move hello.info to (DIRECTORY) 7. type (FINK COMMAND) to build a local copy 8.If step 7 worked, type (FINK COMMAND) to install the built copy in the above, you'll note that I have some items in caps. I read the manual in some detail, but I only realized these essential things after folks on this list helped me. Q: is the package manual available in WIKI form? If so, then folks like Sean (and me) could make a stab at adding content to help other newbies. Alternatively, is the package manual avail in CVS, and is there a patch facility to coordinate contributions? On 23-Jun-04, at 1:04 AM, brlcad wrote: Hello, After having gone through the process of getting a new project added to fink for the first time, I figured I might as well share some of my thoughts and insights with others. Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] libtoolize and missing symbols in shared libraries
Peter, this works very well, thanks. I've got the package to build. Next I'll try some tests, but the upshot is that I won't need to bother folks on this list again on this issue. I really appreciate the help! On 14-Jun-04, at 11:06 AM, Peter O'Gorman wrote: Hi, I had a look too. It needs a little work, but not too much. First, I replaced the "-no-undefined" flag in the modules Makefile.am with "-module", then I removed that flag from the src Makefile.am and ran all the autotools. During build I discovered that both src/utils.c and src/event.c needed an #include . It finished building, not so sure that it works properly though... Peter David R. Morrison wrote: Hi. I had a look at this, and the underlying cause is the line AM_LDFLAGS = -no-undefined -version-info 0:0:0 -export-dynamic which appears in modules/Makefile.in (and also modules/Makefile.am). I kind of understand what the developers are trying to do with this, but they are going about it the wrong way. However, if I replace that with AM_LDFLAGS = I get somewhat farther, but it still doesn't compile. There are also some disturbing warnings along the way. It seems that this is going to take some work before it's ready for OS X. -- Dave P.S. The correct web address for the project is gfs.sourceforge.net . -- Peter O'Gorman - http://www.pogma.com Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] libtoolize and missing symbols in shared libraries
I hope it's OK for me to ask a question that indicates I'm a bit out of my depth. I'm trying to compile an opensource fluid-dynamics simulator (gerris.sourceforge.net) on my osx box. The build fails because of (as I understand it) a problem in building shared libraries. Since I'm sure many FINK projects use shared libraries, and since my goal [if I can get this to compile] is to fink-ize the project, may I ask somebody to throw me a lifeline? Is there a doc that would tell me how to port an app that uses shared libraries to fink? I've done quite a lot of searching on the web and haven't really uncovered anything, so I'm hoping somebody will say something like "install fink package X" and it will work ok. The error I get is as follows my siginfo. (I am aware that posting the error in isolation of any code isn't too much help, but it is difficult for me to pare this complex code down well, and I'm not familiar enough with libtool to create a simpler analogue.) Thanks, in advance, for any pointers. This Gerris software is pretty nice, by the way, and so fluid-mechanics folks who use fink might like to use it, if I can ever get it packaged. Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html $ make make all-recursive Making all in modules make all-am /bin/sh ../libtool --silent --mode=link gcc -DFTT_2D -g -O2 -Wall -Werror-implicit-function-declaration -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -pipe -no-undefined -version-info 0:0:0 -export-dynamic -o libperiodic_flow2D.la -rpath /usr/local/lib/gerris periodic_flow.lo ld: Undefined symbols: _ftt_cell_pos ... _gts_object_class_new /usr/bin/libtool: internal link edit command failed make[3]: *** [libperiodic_flow2D.la] Error 1 --- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] how to package the Emacs lisp files in my project?
Hi. I am fink-izing my "Gri" fink package for scientific graphics. It comes with a lisp file to define an Emacs mode to be used in editing Gri source files. Question: How do I get Fink to install it, so as to get around the following warning? $ fink check /sw/fink/debs/gri_2.12.8-1_darwin-powerpc.deb Validating .deb file /sw/fink/debs/gri_2.12.8-1_darwin-powerpc.deb... Warning: File installed directly in /sw/share/emacs/site-lisp. Files should be installed in a package subdirectory. Offending file: /sw/share/emacs/site-lisp/gri-mode.el I tried googling on 'fink + site-lisp', and a lot of other reasonable-seeming searches, but didn't turn up anything. I also could not find any mention of this in the fink packaging guidelines at http://fink.sourceforge.net/doc/packaging/reference.php and thereabouts. Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html
Re: [Fink-devel] howto for test-building packages?
Ah, that's the ticket!! Compiling right now. Thanks very much for the hints. Dan. On Jan 14, 2004, at 3:39 PM, Alexander Hansen wrote: Your .info file is in the right place--the tarball should be in /sw/src. You may need to run "fink index" to make sure your .info file is visible. -- Alexander K. Hansen Levitated Dipole Experiment http://www.psfc.mit.edu/LDX On Jan 14, 2004, at 2:27 PM, Dan Kelley wrote: Thanks, Alexander, for the help. Just to check, is the following right? (Well, it fails to build, but I'm hoping I've done something wrong...) Emit:~ kelley$ fink build gri sudo /sw/bin/fink build gri Information about 1118 packages read in 0 seconds. no package found for "gri" Failed: no package found for specification 'gri'! Emit:~ kelley$ head -4 /sw/etc/fink.conf # Fink configuration, initially created by bootstrap.pl Basepath: /sw RootMethod: sudo Trees: local/main stable/main stable/crypto local/bootstrap Emit:~ kelley$ tree /sw/fink/dists | head /sw/fink/dists |-- local | `-- main | `-- finkinfo | |-- gri-2.12.7.tgz | `-- gri.info |-- stable | |-- crypto | | `-- finkinfo | | |-- bundle-kde-ssl.info On Jan 14, 2004, at 2:22 PM, Alexander K. Hansen wrote: There is a "fink build" command, which builds the source into a .deb archive, but doesn't install the package. Check out the Fink Packaging Guide: http://fink.sourceforge.net/doc/packaging/index.php ? For a "local" build, do you mean installing the files somewhere outside your main Fink tree? If you just mean 'local to your machine' it's straightforward--put the .info (and .patch, if needed) into the local subtree (e.g. /sw/fink/dists/local/main/finkinfo) and make sure local/main is listed as an option in the Trees: line of /sw/etc/fink.conf -- Alexander Hansen Levitated Dipole Experiment http://www.psfc.mit.edu/LDX On Jan 14, 2004, at 1:05 PM, Dan Kelley wrote: I hope it's OK to ask this here. I've spent hours on the fink website looking, and googling, but I'm still missing something... I am the author the Gri application (http://gri.sf.net) which I developed on vms/solaris/.../linux but now I have an OSX box on my desk, so I'd like to learn how to use fink to build Gri LOCALLY. I don't see any options to "fink build" that would tell me to use a particular .info file and a particular .tgz file, for a local build. (This sort of thing is easy in Redhat, so I imagine it must be easy in FINK also, since otherwise it would be hard for packagers to do local testing.) Again, I'm sorry if this is covered well in some document ... a one-liner reply with a hint would be VERY appreciated by this fink newbie. Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html
Re: [Fink-devel] howto for test-building packages?
Thanks, Alexander, for the help. Just to check, is the following right? (Well, it fails to build, but I'm hoping I've done something wrong...) Emit:~ kelley$ fink build gri sudo /sw/bin/fink build gri Information about 1118 packages read in 0 seconds. no package found for "gri" Failed: no package found for specification 'gri'! Emit:~ kelley$ head -4 /sw/etc/fink.conf # Fink configuration, initially created by bootstrap.pl Basepath: /sw RootMethod: sudo Trees: local/main stable/main stable/crypto local/bootstrap Emit:~ kelley$ tree /sw/fink/dists | head /sw/fink/dists |-- local | `-- main | `-- finkinfo | |-- gri-2.12.7.tgz | `-- gri.info |-- stable | |-- crypto | | `-- finkinfo | | |-- bundle-kde-ssl.info On Jan 14, 2004, at 2:22 PM, Alexander K. Hansen wrote: There is a "fink build" command, which builds the source into a .deb archive, but doesn't install the package. Check out the Fink Packaging Guide: http://fink.sourceforge.net/doc/packaging/index.php ? For a "local" build, do you mean installing the files somewhere outside your main Fink tree? If you just mean 'local to your machine' it's straightforward--put the .info (and .patch, if needed) into the local subtree (e.g. /sw/fink/dists/local/main/finkinfo) and make sure local/main is listed as an option in the Trees: line of /sw/etc/fink.conf -- Alexander Hansen Levitated Dipole Experiment http://www.psfc.mit.edu/LDX On Jan 14, 2004, at 1:05 PM, Dan Kelley wrote: I hope it's OK to ask this here. I've spent hours on the fink website looking, and googling, but I'm still missing something... I am the author the Gri application (http://gri.sf.net) which I developed on vms/solaris/.../linux but now I have an OSX box on my desk, so I'd like to learn how to use fink to build Gri LOCALLY. I don't see any options to "fink build" that would tell me to use a particular .info file and a particular .tgz file, for a local build. (This sort of thing is easy in Redhat, so I imagine it must be easy in FINK also, since otherwise it would be hard for packagers to do local testing.) Again, I'm sorry if this is covered well in some document ... a one-liner reply with a hint would be VERY appreciated by this fink newbie. Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html
[Fink-devel] howto for test-building packages?
I hope it's OK to ask this here. I've spent hours on the fink website looking, and googling, but I'm still missing something... I am the author the Gri application (http://gri.sf.net) which I developed on vms/solaris/.../linux but now I have an OSX box on my desk, so I'd like to learn how to use fink to build Gri LOCALLY. I don't see any options to "fink build" that would tell me to use a particular .info file and a particular .tgz file, for a local build. (This sort of thing is easy in Redhat, so I imagine it must be easy in FINK also, since otherwise it would be hard for packagers to do local testing.) Again, I'm sorry if this is covered well in some document ... a one-liner reply with a hint would be VERY appreciated by this fink newbie. Dan E. Kelley, Associate Professorphone:(902)494-1694 Oceanography Department, Dalhousie University fax:(902)494-2885 Halifax, Nova Scotia mailto:[EMAIL PROTECTED] Canada B3H 4J1 http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html