Apache Portable Runtime


 
Thread Tools Search this Thread
Operating Systems Linux Apache Portable Runtime
# 1  
Old 01-17-2006
Apache Portable Runtime

Hi
I am starting a project in which I want to use APR for
portability.
I download APR version 1.2.2 from "http://apr.apache.org/download.cgi#apr1"
and I am using Redhat/Linux 9.
As I am a newbie to APR and I have no prior experience of
using APR, so I started learning it from:
"http://dev.ariel-networks.com/apr/apr-tutorial/html/apr-tutorial.html#toc19"
But when I try to run my First Program:
"http://dev.ariel-networks.com/apr/apr-tutorial/sample/mp-sample.c",
with the command:
"cc -I/usr/local/apr/include/apr-1/ -L/usr/local/apr/lib/ mp-sample.c -o mp-sample",
I face the error:
"/usr/local/apr/include/apr-1/apr.h:270: parse error before "apr_off_t""
help me...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Runtime Error Enable user directory apache

Hi I am exactly according to this link CentOS 6 - Apache httpd - Enable Userdir : Server World I Enabled userDirectory Server version: Apache/2.2.15 CentOS release 6.8 (Final) But Iget this Error Forbidden You don't have permission to access /~mn/index.html on this server Goal... (2 Replies)
Discussion started by: mnnn
2 Replies

2. Programming

Is There a Portable Way to Kill a Process in C++

Hi. I am looking for a way to write C++ code that will kill a process, and works just the same way in both Unix and Windows. For my particular situation, it cannot be hundreds of lines of code, either. Thanks in advance for any light you can shed on this. Brandon (5 Replies)
Discussion started by: BrandonShw
5 Replies

3. Linux

Portable Applications

Hello Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Discussion started by: engineeringme
1 Replies

4. Programming

urgent help in portable applications

Hello Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (0 Replies)
Discussion started by: engineeringme
0 Replies

5. Linux

A portable bootable version?

What I have been doing for some time now is installing linux on my tech machine at work, plugging in devices and transferring data with dd_rescue. What I need now is a version of linux that I can install on a laptop sata hard drive and be able to plug it into any machine to transfer data off of... (1 Reply)
Discussion started by: Methal
1 Replies

6. UNIX and Linux Applications

ClamAV/other AV. Possible to make portable?

Hey guys/gals, I work with a large amount of servers, and was just curious if it is possible to make a linux AV app, portable. What i mean is, I go to a user's home directory and do something like ./clamavscan (I suppose an alias for clamscan..), and it scans the user's home directory for... (2 Replies)
Discussion started by: Rhije
2 Replies

7. Shell Programming and Scripting

Query regarding portable script

Dear Experts, I want to write a script which has to work on Solaris & Linux sytems. The problem which i am facing is, there are commands whose options are different on both OS's. For example ping. On Solaris i have to write: ping $host 1 to check if the host is alive On Linux i... (4 Replies)
Discussion started by: dhiraj4mann
4 Replies

8. Shell Programming and Scripting

Portable scripting

For historical, simple, practical and portable reasons my scripts start normally with "#!/bin/sh", hence I restrict myself to those features available in the Bourne Shell. The few cases where I would use ksh or bash is if I know this script is targetted at some subset of platforms where that is... (0 Replies)
Discussion started by: porter
0 Replies

9. Programming

starting with APR (Apache Portable Runtime)

Hi I am new to APR and I started programming using APR 1.2.2. So please guide me how to start learning it? (0 Replies)
Discussion started by: sumsin
0 Replies
Login or Register to Ask a Question
Error(3pm)						User Contributed Perl Documentation						Error(3pm)

NAME
APR::Request::Error - wrapper for libapreq2's error API. SYNOPSIS
use APR::Request::Error; DESCRIPTION
This manpage documents version 2.13 of the APR::Request::Error package. SUBROUTINES
APR::Request::Error - derived from "APR::Request" and "APR::Error". strerror strerror($status) Returns the apreq error string associated with a numeric $status code. ERROR CONSTANTS
GENERAL Internal apreq error TAINTED Attempt to perform unsafe action with tainted data BADDATA Malformed input data BADCHAR Invalid character BADSEQ Invalid byte sequence BADATTR Unrecognized attribute BADHEADER Malformed header string NODATA Missing input data NOTOKEN Expected token not present NOATTR Missing attribute NOHEADER Missing header NOPARSER Missing parser MISMATCH Conflicting information OVERLIMIT Exceeds configured maximum limit NOTEMPTY Setting already configured SEE ALSO
APR::Request, APR::Error COPYRIGHT
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. perl v5.10.1 2011-02-28 Error(3pm)