First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 17181
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Ian Leitch (RETIRED) <port001@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chris Johnson <cmjohn@mail.utexas.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
aolserver-4.0.ebuild aolserver-4.0.ebuild (really for aolserver-4.0 beta2 text/plain Chris Johnson 2003-03-09 23:45 0000 2.25 KB Details
aolserver-4.0.ebuild aolserver-4.0 beta3 ebuild. supercedes the previous ebuild. text/plain Chris Johnson 2003-03-21 23:27 0000 2.25 KB Details
aolserver-4.0_beta8.ebuild aolserver-4.0_beta8.ebuild (finally got the file name correct even!) text/plain Chris Johnson 2003-06-05 21:19 0000 2.42 KB Details
aolserver-4.0_beta8.ebuild aolserver-4.0_beta8.ebuild (updated to copy headers for use in openfts ebuild) text/plain Chris Johnson 2003-06-09 01:50 0000 2.55 KB Details
aolserver-4.0_beta10.ebuild aolserver-4.0_beta10.ebuild (with headers needed for use in openfts ebuild) text/plain Chris Johnson 2003-10-19 00:37 0000 2.53 KB Details
aolserver-4.0_beta10.tgz aolserver-4.0_beta10.ebuild and associated files application/octet-stream Lee Denison 2003-10-22 12:24 0000 7.37 KB Details
aolserver-4.0_beta10.tar.gz aolserver4.0 beta 10 (with module support) application/octet-stream Rob Denison 2003-10-24 03:20 0000 7.34 KB Details
aolserver-4.0.tar.gz Aolserver 4.0 official release ebuild application/octet-stream Lee Denison 2003-12-02 04:13 0000 7.31 KB Details
aolserver-4.0.8.tar.gz Aolserver 4.0.8 ebuild application/octet-stream Lee Denison 2004-10-19 09:00 0000 7.07 KB Details
aolserver-4.0.8.tar.gz Aolserver 4.0.8 revised ebuild application/x-gzip Travis Cross 2004-11-04 09:29 0000 7.50 KB Details
aolserver-4.0.8.tar.gz Aolserver 4.0.8 revised ebuild (2) application/x-gzip Travis Cross 2004-11-05 17:51 0000 7.45 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 17181 depends on: 2024 Show dependency tree
Bug 17181 blocks: 22317 22318 22319 22320 22475 50870
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-09 23:42 0000
New ebuild for aolserver 4.0-beta2. This ebuild can be easily maintained as
aolserver moves to 4.0 
final.  

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Chris Johnson 2003-03-09 23:46:00 0000 -------
Created an attachment (id=9186) [details]
aolserver-4.0.ebuild (really for aolserver-4.0 beta2

Uploading first ebuild version. This is aolserver-4.0 beta2, but I have not
encoded the beta2 status in the ebuild name (feel free to correct me in a
convenient way). This ebuild will be easy to maintain and upgrade as aolserver
moves to 4.0 final very soon. 
Aolserver is a high-performance gpl'd web server backed by AOL and open source
since the late '90s. This ebuild should go in net-www/aolserver/ .

--Chris

------- Comment #2 From Chris Johnson 2003-03-21 23:27:06 0000 -------
Created an attachment (id=9686) [details]
aolserver-4.0 beta3 ebuild. supercedes the previous ebuild.

aolserver-4.0 beta3 finishes adding the openacs i18n tcl code and fixes some
bugs, including a wait to shutdown bug. 

------- Comment #3 From Chris Johnson 2003-06-05 21:19:50 0000 -------
Created an attachment (id=12861) [details]
aolserver-4.0_beta8.ebuild (finally got the file name correct even!)

Beta bump. search for upcoming associated ebuilds that work with this beta8:
nssha1
nsxml
nspostgres
nscache

------- Comment #4 From Chris Johnson 2003-06-09 01:50:29 0000 -------
Created an attachment (id=12970) [details]
aolserver-4.0_beta8.ebuild (updated to copy headers for use in openfts ebuild)

I updated the ebuild to copy a few header files which are used in my openfts
driver ebuild (search for that). 

------- Comment #5 From Nathaniel Haggard 2003-06-10 10:41:12 0000 -------
emerge aolserver (aolserver-4.0_beta8)
configure: error: must build tcl with --enable-threads

Since Bug 2024 --enable-threads has been disabled in tcl.  I enabled it, emerged tcl and still received the same error message.

------- Comment #6 From Chris Johnson 2003-06-10 15:25:56 0000 -------
Yes, it is correct that I had to hack the --enable-threads into the tcl ebuild;
but i used the newer tcl-8.4.2-r1 ebuild. When I built that version of tcl
enabling threads, then I could proceed with the aolserver ebuild without error. 
My apologies for not warning of this in the aolserver ebuild; I disagree with
the resolution of bug 2024 by disabling threading... But I understand that tcl
has been having problems with it. 

I had forgotten that I had to enable threading in tcl to get my aolserver to
build... for those that know ebuilds better than I, what would be a good way to
resolve this issue in my ebuild? 

------- Comment #7 From Talli Somekh 2003-06-13 18:25:14 0000 -------
I'm having the same problem with --enable-threads. However, it seems that the
problem is in 
emerging Tcl, as it gives an error, 

/usr/sbin/ebuild.sh: line 36: --enable-threads: command not found

This is right after the configuration and right before the compiling begins.

Chris, how did you enable threads when you built tcl?

talli

------- Comment #8 From Chris Johnson 2003-06-13 22:07:43 0000 -------
You get the command not found because you uncomment the --enable-threads (which
is after the || die part, so it doesn't go into the configure command). I had
the exact same problem... But it should look like this: 
        ./configure --host=${CHOST} \
                                --prefix=/usr \
                                --mandir=/usr/share/man \
                        --enable-threads \
                                || die
        # threading is not recommended as it breaks some packages 
        #                       --enable-threads \

Instead of this
        ./configure --host=${CHOST} \
                                --prefix=/usr \
                                --mandir=/usr/share/man \
                                || die
        # threading is not recommended as it breaks some packages 
                                --enable-threads \


Hope that helps! Then your tcl should build, then your aolserver...

------- Comment #9 From Chris Johnson 2003-10-19 00:37:55 0000 -------
Created an attachment (id=19446) [details]
aolserver-4.0_beta10.ebuild (with headers needed for use in openfts ebuild)

version bump. wonder when this ebuild will make it into cvs? Hopefully soon?

------- Comment #10 From Ian Leitch (RETIRED) 2003-10-19 17:39:25 0000 -------
Please see bug #2024 for developments on the TCL threads issue. 

------- Comment #11 From Lee Denison 2003-10-22 12:24:47 0000 -------
Created an attachment (id=19635) [details]
aolserver-4.0_beta10.ebuild and associated files

I modified chris's ebuild to install aolserver into the standard gentoo
filesystem, added service control scripts, a dependency on tcl and a check
that
tcl was compiled using USE=threads (which you can do using the ebuild attached
to bug 2024).

Hope that's useful to folks.

------- Comment #12 From Rob Denison 2003-10-24 03:20:13 0000 -------
Created an attachment (id=19723) [details]
Same as lees patch but makes makefile.global available for module compilation

------- Comment #13 From Rob Denison 2003-10-24 03:24:33 0000 -------
(From update of attachment 19723 [details])
Same as lees patch but makes makefile.global available for module compilation

------- Comment #14 From Lee Denison 2003-12-02 04:13:59 0000 -------
Created an attachment (id=21582) [details]
Aolserver 4.0 official release ebuild

------- Comment #15 From Ian Leitch (RETIRED) 2004-06-19 08:25:53 0000 -------
To better fit in with Gentoo's way of handling vhosts (/var/www/<hostname>)
I've had to make some changes to the ebuild and the default config. 

Whats different?
* config.tcl is installed to /etc/aolserver
* serverroot is now /var/aolserver
* default pageroot is /var/www/localhost/aolserver/www
* each vhost will then be /var/www/<host>/aolserver/www
  * I've modified config.tcl to use the new pageroot for vhosts, though I have 
      no means of testing it. 
* sample-config.tcl and the Makefiles go into /usr/share/aolserver
* Module configs go into /etc/aolserver/modules/<name>/. Anyone know how to
tell nsperm thats where its configs are stored?
* Some smaller changes

Lots of testing is appreciated, especially the vhost setup!

http://dev.gentoo.org/~port001/aolserver/

------- Comment #16 From Lee Denison 2004-10-19 09:00:20 0000 -------
Created an attachment (id=42174) [details]
Aolserver 4.0.8 ebuild

I've added the Aolserver 4.0.8 ebuild based on the 4.0.5 version by Ian.  It's
identical except for some fixes in the init script and I changed the default
config file name to aolserver.tcl (to make the init script work).

------- Comment #17 From Travis Cross 2004-11-04 09:29:54 0000 -------
Created an attachment (id=43293) [details]
Aolserver 4.0.8 revised ebuild

This should obsolete the 'Aolserver 4.0.8 ebuild' submitted 2004-10-19 09:00
PST

------- Comment #18 From Travis Cross 2004-11-04 09:31:36 0000 -------
I made some changes to the ebulid and default config.tcl to better match the
directory structure conventions of Gentoo, and to generally make the ebuild (in
my view) more readable.

What's different?
* logs are now placed in /var/log/aolserver
* the pid file is now placed in /var/run/aolserver
* the default pageroot is now /var/www/ns-localhost
* each vhost will then be /var/www/ns-<vhost> -or- /var/www/<vhost>
   - I find this to be a better solution than crafting a double hierarchy by
creating an aolserver/www directory below each apache host
(/var/www/myhost/aolserver/www 

------- Comment #19 From Travis Cross 2004-11-04 09:31:36 0000 -------
I made some changes to the ebulid and default config.tcl to better match the
directory structure conventions of Gentoo, and to generally make the ebuild (in
my view) more readable.

What's different?
* logs are now placed in /var/log/aolserver
* the pid file is now placed in /var/run/aolserver
* the default pageroot is now /var/www/ns-localhost
* each vhost will then be /var/www/ns-<vhost> -or- /var/www/<vhost>
   - I find this to be a better solution than crafting a double hierarchy by
creating an aolserver/www directory below each apache host
(/var/www/myhost/aolserver/www – besides, who wants to type that?).  The way I
see it, any content served by AOLserver is likely to be a logically different
virtual host anyway, and there is no reason to try to subjugate aolserver
content to the apache hierarchy.
* set 'enabledtclpages' to true by default in config.tcl
* I had some trouble with the mirror://sourceforge method of grabbing AOLserver
sources, so I added a set of explicitly specified servers to SRC_URI
* Reduced the levels of complexity in how path variables are specified
* Spun the code to check that tcl was compiled with threads off to its own
function
* Made heavier use of the ebuild doins, doexe routines as opposed to cp's
* Rearranged support files into directories by version (ie
net-www/aolserver/files/4.0.8/config.tcl).  I find this makes things easier
when it is time to roll an ebuild for a new version.
* Various smaller changes.

------- Comment #20 From Travis Cross 2004-11-04 09:42:09 0000 -------
A couple more notes on 'Aolserver 4.0.8 revised ebuild' (2004-11-04 09:29 PST):
* I've tested this ebuild extensively, but additional testing would be appreciated!
* The ebuild compiles, installs, merges, and unmerges cleanly.
* It seems to me this ebuild is ready to be in CVS?

Thanks,
-- Travis

------- Comment #21 From Travis Cross 2004-11-05 17:51:06 0000 -------
Created an attachment (id=43381) [details]
Aolserver 4.0.8 revised ebuild (2)

Removed the explicitly specified URLs.	I thought the better of it.

-- Travis

------- Comment #22 From Jowell Sabino 2004-11-12 14:47:06 0000 -------
ebuild 4.0.8 won't compile, because pthread_kill_other_threads_np() is missing.
I use nptl, which I think makes the function obsolete. Is there a workaround?

ebuild 4.0 compiles ok even with nptl.

------- Comment #23 From Ian Leitch (RETIRED) 2004-11-16 04:28:47 0000 -------
I've not tried, but it seems pthread_kill_other_threads_np() is now a native
feature of the NPTL. Simply commenting it out should be enough. 

These ebuilds will go into portage as soon I return to develoment (early
December time).

------- Comment #24 From Ian Leitch (RETIRED) 2004-12-18 19:00:18 0000 -------
Well, its in at last. The modules will have to wait a few more days as I need
to evaluate the need for an eclass, and if so, implement it. Leaving this bug
open for a few more days for any feedback/problems.

------- Comment #25 From Ian Leitch (RETIRED) 2005-01-04 18:18:49 0000 -------
Resolving.

First Last Prev Next    No search results available      Search page      Enter new bug